How to remove body text from category view?
Hello,
Is there any way to remove the body copy from a category view? See the example here: http://twh.net.au/pp/?cat=6 What I'm trying to achieve is, that when you are looking at a category like in the exaple, the list doesn't display the body copy/exerpt. So you would just have the date, headline, tags and icons, thats it. Hopefully this makes sense. Thanks for any advice about whether this is possible :) |
at ATO->Style & edit CENTER COLUMN->The LOOP, you could put some php code arround
HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> |
Hi there,
Could you possibly give me some more details about what/where to change? Thanks for your assistance.. oh it also seems like you might have pasted the wrong thing in the HTML code box...? (edit: cancel that, its displaying ok now) I can see the line you described in The LOOP, but how should I modify it to get the result I'm after? |
I was also wondering how to accomplish this. I have Categories that have many posts. I want to click on the Category and have only the post headings show up in the Center column.
I have been able to find the line HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?> Thanks in advance for the assistance. |
thesis: if the category ID is '6' then the code would be
HTML Code:
<?php if (!is_category('9')) { bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); } ?> HTML Code:
<?php if (!is_category('9') AND (!is_single()) { bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); } ?> |
All times are GMT -6. The time now is 09:50 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.