Blog Linking Template Tags
The following template tags are used to output blog linked info.
Linked Topic Post Count
This template tag can be placed within the blog comments template and for linked blog/topic posts will display the number of posts currently made against that topic. Useful in conjunction with the option to append topic posts to comments for linked posts.
sf_linked_topic_post_count();
There are no arguments for this template tag.
Blog Linking
This template tag allows display of forum linked topic link back to the blog linked post outside of the post content (the WP loop).
sf_blog_linked_tag($postid, $show_img=true);
Possible arguments to the template tag are:
| Parameter | Description | Type | Default |
|---|---|---|---|
| $postid | ID of the blog post | Integer | - |
| $show_img | Display the icon for blog linked topics | Boolean | True |
User specified styles available for template tag output is:
| Styles | Affected Output |
|---|---|
| span.sfforumlink | Styles the link text |
An example usage of the template tag is:
sf_blog_linked_tag(34, true);
