Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

How to remove body text from category view?


  #1  
Old Nov 5, 2009, 11:03 AM
thesis
 
46 posts · Nov 2009
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
  #2  
Old Nov 5, 2009, 12:33 PM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>'); ?>
so it wouldn't display on the categories you want.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Last edited by juggledad; Nov 6, 2009 at 04:25 AM.
  #3  
Old Nov 6, 2009, 03:40 AM
thesis
 
46 posts · Nov 2009
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?

Last edited by thesis; Nov 6, 2009 at 05:27 AM.
  #4  
Old Nov 20, 2009, 10:38 AM
waded1
 
5 posts · Nov 2009
Washington, USA
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>'); ?>
but I'm not sure where to go from there.

Thanks in advance for the assistance.
  #5  
Old Nov 21, 2009, 06:31 AM
juggledad's Avatar
juggledad
 
23,682 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>'); } ?>
You may have to add some more logic so that if the user clicks on the title it WILL show the full post on a single page. something like

HTML Code:
<?php if (!is_category('9') AND (!is_single()) { bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); } ?>
note: I haven't tested eithor of these
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Body text changes headers in sidebars as well MoneyMagnets Atahualpa 3 Wordpress theme 0 Aug 14, 2009 06:23 PM
Main Page Body Text Formatting weiserma Header configuration & styling 1 Jul 18, 2009 02:17 PM
text in exerpt body instead of [...] peterf Excerpts, Read more, Pagination 1 May 31, 2009 06:05 PM
knock out for body text tekdiver500ft Atahualpa 3 Wordpress theme 4 Feb 4, 2009 12:43 PM
View all post from a category la_scrapbookeuse Atahualpa 3 Wordpress theme 6 Feb 1, 2009 10:36 AM


All times are GMT -6. The time now is 08:27 PM.


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