I don’t understand php at all. most times I just get by although I’ve tried to make a bit more sense of it over the past 2 days but getting no where.
I downloaded the template tag plugin. i developed my own wordpress site/theme. i didn’t bother making my sidebars widget ready which may explain why after downloading the plugin I cannot see anything else in the wordpress admin area. I was going to try to make it widget ready but for some reason, the way I have done my sidebars it seems all to complicated. Besides which I didn’t want the template tags in the sidebars anyways.
Apologies for the long explanation but I thought it might be necessary. I’ve tried to figure out how to show hot topics within the main content but no luck. Can I have some help please?
thanks!
Support Forum
sorry, help with what? several issues there! ![]()
for widgetizing your theme: http://automattic.com/code/widgets/themes/
but that is very simplistic and focuses on sidebar.. you can do it anywhere really… our site here has 4 in the footer too…
show hot topics in main content? main content of what? a page? a post?
you can utilize a template tag in one of two ways… with an actual php template tag function call or with a wp shortcode… so for the hot topics, you would enter
[sp_hot_topics]
or
sp_HotTopicsTag();
which one you choose is up to you and where you put it… if you put it in a page or post content, you probably want the shortcode (unless you have a plugin that allows php in content)… if you are putting it in a theme template file, you probably want the php template tag function call…
hopefully, that helps… worth noting that if you use the shortcode, there is a bug in the display logic on where it will show up in relation to other content… that will be fixed in the release tomorrow…
Thanks. It was this sp_HotTopicsTag(); I was looking for. Thank you very much