prisonbroken
Member
Posted 1 year ago #
When i wrote a post,i add many tags,just like this:
http://flickr.com/photos/13365176@N05/2112026297/
But when posted,there's no more tags displayed except the 2 categories,just like this:
http://flickr.com/photos/13365176@N05/2112026351/
Why?Does it have business with the all in one seo package?
who knows please tell me.
mr.silencewolf@gmail.com
prisonbroken,
Hi it looks like you need to add a new Template Tag to your blogs index.php file (and pretty much everywhere else that you want the tags to display). Try adding the following code to your index.php file INSIDE the loop:
<?php the_tags('Tags:', ', ', '<br />'); ?>
prisonbroken
Member
Posted 1 year ago #
hi mfields,thank u for reply,i'm a novice,so can u give me more details?should i just paste the segment into the index.php that's in "wp-admin"?
Right on....
Starting in the directory on your server where you have installed worpress, to wp-content/themes/your-current-theme/index.php. This is the file that you wnat to add the code to. In case you do not yet know what The Loop refers to, please visit this link: http://codex.wordpress.org/The_Loop
prisonbroken
Member
Posted 1 year ago #
Hi,mfields,i do put the segment into the loop of index.php,but it show me like this;
Parse error: syntax error, unexpected '<', expecting ')' in /home/silema1/public_html/wp-content/themes/networker-10/networker-10/index.php on line 12
The last number will chang as i put the segment in different loop.
I check out mybloglog right,all the tags display normally.
Hope for your help.Appreciate what you've done.
It's possible that the < in the <?php that you pasted in is nested inside an open php tag. Might want to try deleting what you put in and moving it to another part in the loop. Some directly after an instance of ?>. If that doesn't work, please paste your entire file into wordpress.pastebin.com and repost with the pastebin link. I can debug it for you:)
prisonbroken
Member
Posted 1 year ago #
I put it like this,and it works!Thanks a lot mfields!
<p class="postmetadata">
<?php the_tags('Tags:', ', ', '
'); ?>