Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages » Excerpts, Read more, Pagination »

[SOLVED] Edit Wordpress Category Page to just display Post titles???


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Jan 5, 2010, 01:16 PM
dennis wilson
 
2 posts · Jan 2010
[SOLVED] Edit Wordpress Category Page to just display Post titles???

Hi, Does anyone know how I can edit Wordpress Category Pages to just display the Post titles held within that category and none of the post content?

I tried a few different manual edits and found this plugin - http://wordpress.org/extend/plugins/...ategory-posts/ which has very little instructions. nothing working so far.

please help if you can

Thanks
  #2  
Old Jan 5, 2010, 03:09 PM
juggledad's Avatar
juggledad
 
22,099 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
there is another plugin http://wordpress.org/extend/plugins/page2cat/ that may do what you want
just add the short code [catlist=xx] where nn is the category id and it will list all the posts in that category and each post title will be a link to the post.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #3  
Old Jan 5, 2010, 05:38 PM
dennis wilson
 
2 posts · Jan 2010
Thanks for the help juggledad. so using this plugin i have to make a page for each category so that basically my page menu replaces my category menu?

Is there no way of editing the category template to just show titles? I tried some of the tips from Flynn in this thread but no luck.



Quote:
Originally Posted by juggledad
there is another plugin http://wordpress.org/extend/plugins/page2cat/ that may do what you want
just add the short code [catlist=xx] where nn is the category id and it will list all the posts in that category and each post title will be a link to the post.
  #4  
Old Jan 20, 2010, 11:26 AM
vil2
 
13 posts · Jan 2010
I'm interested in this question. I'm trying to have a different aspect for the categories 1 and 30 : I'd like to see only the posts titles, not the images and excerpts (which are shown for all the other categories)
With my former WP theme I created 2 files : category-1.php and category-30.php and it worked fine, but with atahualpa nothing worked (I think the code I put was far too basic to work with the theme).
So I'd like to find a solution to have a different display for those 2 categories. If anyone has an idea, please post.

WP 2.9.1
Atahualpa 3.4.4
http://www.lebardessciences.com
  #5  
Old Jan 21, 2010, 03:22 AM
vil2
 
13 posts · Jan 2010
Ok, I tried to add

HTML Code:
<?php if ( !is_category(1) AND !is_category(30)){ ?>
....<?php } ?>
before and after this line in ATO

HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
and it worked. I do not know why, but with OR (which seems more correct to me at first glance) nothing worked (plenty of error messages)
  #6  
Old Jan 21, 2010, 04:29 AM
juggledad's Avatar
juggledad
 
22,099 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
negative logic always seems counter intutivative. The '!' is a NOT, so when you say
if ( !is_category(1) OR !is_category(30))
you are saying 'If this is NOT category 1 OR it is NOT category 30 ......' while this will be true for category 5, it is also true for category 1 (cat 1 is NOT cat 30) and categore 30 (cat 30 is not cat 1)
when you change to the AND, so it look like this
if ( !is_category(1) AND !is_category(30))
you are saying ''If this is NOT category 1 AND it is NOT category 30 ......' so cat 5 causes this to be true (cat 5 is not cat 1 and cat 5 is not cat 30) cat 1 is false (cat 1 IS cat 1) and cat 30 is false (cat 30 IS cat 30) so those two cases are teh only two that will cause a false case for this if statement.
__________________
If you like my help, please consider donating. I am happy to provide greater detail on this and other topics if you hire me. Please send detailed support requests to me as a private message, thank you.
Juggledad | Forum Moderator/Support
  #7  
Old Mar 3, 2010, 06:33 AM
SavvyBaker
 
9 posts · Jan 2010
OK, I give up. I've tried page2cat and category pages and the category extender, but I have no clue where to put [catlist=xx] or nn in order to have ALL of my posts (recipes) appear on one page. I tried adding code in the loop (after bodycopy clearfix, following your instructions in a separate thread) using the page and category numbers, but that returned all sorts of errors.

Any ideas (please)? Thanks.
  #8  
Old Mar 3, 2010, 06:48 AM
paulae's Avatar
paulae
 
1,332 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
You could probably accomplish this using another plugin: http://wordpress.org/extend/plugins/azindex/

I used it here to show all of the obituaries, and it's updated automatically when a new one is posted.
  #9  
Old Mar 3, 2010, 04:52 PM
SavvyBaker
 
9 posts · Jan 2010
Yes, yes, yes! Thank you so much. That's exactly what I needed, and I was able to set everything up in about 15 minutes.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Display post title only of a category in a page ladylulu Page & Category Menu Bars 9 Mar 1, 2011 08:02 AM
[How To] modify 'Category Page' aka page2cat to display posts instead of just titles juggledad Plugins & Atahualpa 37 Jun 25, 2010 09:03 AM
Category Page Listing - How to display: Post Title only TotalBalance Excerpts, Read more, Pagination 16 Jan 27, 2010 12:22 PM
Display only post titles and publish date vincotek Post-Kicker, -Byline & -Footer 6 Sep 8, 2009 09:44 AM
How do I show | Category: Introduction | Leave a comment | Edit this post on a Page? PerryM Post-Kicker, -Byline & -Footer 2 Apr 17, 2009 09:03 PM


All times are GMT -6. The time now is 10:17 PM.


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