Link to home
Start Free TrialLog in
Avatar of Chris Andrews
Chris AndrewsFlag for United States of America

asked on

Help with wordpress simple tags plugin needed

I'm trying to use the Simple Tags plugin on my wordpress site:

http://wordpress.org/extend/plugins/simple-tags/

Installed and activated fine.

I put: [st_tag_cloud] in my innerWideSidebar.php where I want it to appear. All I get on the page is the text: [st_tag_cloud], no tag cloud.

I read somewhere that shortcode can not be used in sidebars, so I got a plug in that is supposed to enable it in sidebars, but that didn't help. Also tried putting the [st_tag_cloud] in single.php just under the post, to see if it being on the sidebar was the problem. Same thing there. I just get the text: [st_tag_cloud].

I'm fairly new at wp and how this all works. What am I missing here?

Thanks for any help, Chris
ASKER CERTIFIED SOLUTION
Avatar of Heather Ritchey
Heather Ritchey
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Chris Andrews

ASKER

Thank you Dzynit.

I do have that checkbox checked, but for some reason it's not working.

I'd like to use the shortcode, as I have some custom php in that sidebar. Any other ideas as to why it might not be working?

The other thing I am trying to do it to limit it to just the tags related to that page (that I put in the tags box when adding a new post). The goal is to help focus adsense to improve ad relevancy. Do you know if that is possible? I may need a different plugin. Would appreciate your thoughts on that,  Chris
Have you tried using this call: <?php st_the_tags(); ?>

There's documentation on it here:
http://redmine.beapi.fr/projects/simple-tags/wiki/St_the_tags%28%29


I also am trying 'better tag cloud', as I found it has a shortcode for showing tags from a single post, [nktagcloud single=yes] ... but it also doesn't parse, just shows that as actual text.

Reading up on the <?php st_the_tags(); ?> right now...
ah, got it, I can't 'just' use the shortcode. I had to do:

if ( function_exists( 'nk_wp_tag_cloud' ) ) {
    echo nk_wp_tag_cloud( 'single=yes&separator= - &categories=no' );
}

Thanks for all your help. You showed me one thing that lead to another and an answer ;)