Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Comments, trackbacks & pings (http://forum.bytesforall.com/forumdisplay.php?f=19)
-   -   [SOLVED] Removing Time Stamp, Comments and category from post (http://forum.bytesforall.com/showthread.php?t=4623)

JorgePerez Nov 26, 2009 01:17 PM

[SOLVED] Removing Time Stamp, Comments and category from post
 
Hi, if anyone can help it would be incredibly helpful. I want to remove the time stamp, comments and category information line from a single static post on my blog?

Thanks,

Jorge

juggledad Nov 26, 2009 07:07 PM

you mean the post footer right? if so, try this (it may not work though)
Find the id of the post and then change the footer line at ATO->Style & edit CENTER COLUMN->The LOOP from
HTML Code:

<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
to
HTML Code:

<?php if (!is_post('33')) { bfa_post_footer('<div class="post-footer">','</div>'); } ?>
replace 33 with the post ID.

If this doesn't work, create a category called 'no-footer' and assign it to the post. Make note of the category ID. Then change the footer line above to
HTML Code:

<?php if (!in_category('5')) { bfa_post_footer('<div class="post-footer">','</div>'); } ?>
replacing the 5 with the ID of your category

globalnerds Nov 28, 2009 06:03 PM

I would like to do this for all of my posts, not just one or two. How would I go about doing that?

juggledad Nov 28, 2009 06:20 PM

edit the footer options at ATO->Edit POST/PAGE INFO ITEMS

globalnerds Nov 28, 2009 06:37 PM

ok, I got that. Now the category "no-footer" is appearing on my site. I went into ATO>Category Menu Bar and changed the Exclude categories from Category Menu Bar? to the number of the category (in my case 9). Saved, refreshed my site, and it is still there. What am I doing wrong?

juggledad Nov 29, 2009 04:19 AM

globalnerds - url example please
did you make any other changes to 'The LOOP' recently, if so what? (paste it here)

JorgePerez Nov 29, 2009 01:42 PM

JuggleDad,

Thank you for the help. The first option did not work, however creating a new category and adding the footer code solved it. Thanks


All times are GMT -6. The time now is 05:17 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.