Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
coding-topic
Newbie Question: How do I use Template Tag
Avatar
PaddleMan
Member
Free Members
sp_UserOfflineSmall Offline
Nov 19, 2012 - 2:22 pm

Pardon this newbie question - I am trying to customise my home page in WP, and trying to put some dynamically generated content in there - such as Hot Topics

 

I read the documentation on the subject and it tells you to put the tag into your posts pages etc - sounds EASY!:

You can also call this function by using a shortcode on pages, posts or widgets.

[sp_topicLinkTag'topicId=10']

 

How do I do that - I went into HTML and pasted the short code above and I am sure I am doing something wrong here.

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Nov 19, 2012 - 2:37 pm

just to be clear, that is not at template tag, but a shortcode...  most of the functionality in the template tags plugin can be invoked either with a template function (a php function call) or a shortcode...

which you want to use is really dependent on where you want it...  typically you would use a shortcode within a wp post or page....  typically, you would use a template function within a theme template file or in widgets...

so what are  you trying to do?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 620
Members: 17365
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10128
Posts: 79626