mradamw
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Display total tag count on websiteDoes anyone have any ideas for this?
Forum: Fixing WordPress
In reply to: Display total tag count on websiteThanks again for your reply.
I popped this code into my sidebar.php
<div class="stats"> <span><?php echo count(get_terms('post_tags')); ?></span> <em>Tags and counting...</em> </div><!--end stats-->And it did indeed output a number (yay) unfortuntaly the number is wrong. Currently i have 39 tags used on my site, but the number shown from that code is “1”
Any ideas?
Thanks for your help
Forum: Fixing WordPress
In reply to: Display total tag count on websiteHey man, thanks VERY much for the reply.
I have added the following to my sidebar.php file, but nothing shows up in the stats div (please see the code below). I apologise if I have done something horrifically stupid as my php knowledge is about on par with that of a tomato
<div class="stats"> <span><?php $number_of_tags = count(get_terms('post_tags')); ?></span> <em>Genres and counting...</em> </div>The <span> tags are there so I can target the tag count to change colour and font size.
Thanks
Forum: Fixing WordPress
In reply to: Custom fields are not showing up in my admin panelHi there,
Ok finally found the problem. It seems with the update to WP3.1 many post screen options are hidden by default (who knows why!)
If you have the same problem, take a look at this:
http://ottopress.com/2011/wp-quickie-metaboxes/
Bye!