Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Plugins & Atahualpa (http://forum.bytesforall.com/forumdisplay.php?f=16)
-   -   using Shortcode Manager and ATA shortcodes (http://forum.bytesforall.com/showthread.php?t=15843)

clint-m Nov 3, 2011 01:21 PM

using Shortcode Manager and ATA shortcodes
 
I've been using a plugin called Shortcode Manager (aka Shortbus after it's been installed) for managing added code. For example, for CSS, in ATA theme options I enter
PHP Code:

<?php echo do_shortcode('[sb name="CSS"]'); ?>

and then write out the CSS in the shortcode plugin. I do this because I find it's a little quicker when saving and flipping through different code sections.

My issue is, I'd also like to do this in the header area but then I can't use the ATA shortcodes, like %pages or %logo, because I guess it's not processed at the right times in order to use those. Anybody know if what I'm trying to do is possible? By the way, I'm using ATA 3.6.4. Thanks.

juggledad Nov 3, 2011 01:42 PM

short codes are always surrounded in brackets [shortcode]

The %pages, %cat are 'substituion variables' and are not handled like shortcodes

clint-m Nov 3, 2011 01:58 PM

Thanks for your response juggledad, maybe my question really then is, is it possible to use those substitution variables outside of their designated area?

juggledad Nov 3, 2011 02:07 PM

no it is not


All times are GMT -6. The time now is 07:51 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.