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
WordPress

Avatar of undefined
Last Comment
Chris Andrews

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Heather Ritchey

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
See how we're fighting big data
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
ASKER
Chris Andrews

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
Heather Ritchey

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


ASKER
Chris Andrews

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...
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23
ASKER
Chris Andrews

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 ;)