Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Page & Category Menu Bars »

[SOLVED] Display post title only of a category in a page


  #1  
Old Oct 31, 2009, 03:29 AM
ladylulu
 
6 posts · Oct 2009
[SOLVED] Display post title only of a category in a page

Hi there!

Can anyone tell me if it is possible to display only the post title of a category in a page?
How did you do it?

Please help me.. :D

Thanks a lot!
  #2  
Old Oct 31, 2009, 04:47 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
are you saying that for a category, you just want to list the post titles? Take a look at the WordPress Category Posts plugin - http://wordpress.org/extend/plugins/...ategory-posts/
__________________
"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; May 3, 2010 at 10:36 AM.
  #3  
Old Oct 31, 2009, 06:44 AM
ladylulu
 
6 posts · Oct 2009
yup yup! :D

ok. will try that plugin.
Thanks a lot!
  #4  
Old Oct 31, 2009, 07:40 AM
ladylulu
 
6 posts · Oct 2009
hi juggledad,

the plugin seems not working.
I added this code

<?php wp_cat_posts(4); ?>

at the page editor but only the title of the page is displayed.
or maybe I miss something. hmm...
  #5  
Old Oct 31, 2009, 08:57 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
ok, here is what you do

1) Create a page called Category test
when you publish the page, make note of the address in your browser window. It will be something like
HTML Code:
http://yourdomain.com/wp-admin/page.php?action=edit&post=248
Write down the number at the end, in tis case '248' that is the page number and don't worry if you only have 3 pages, a page is really a special type of post so the numbering is not sequential.

2) go to ATO->Style & edit CENTER COLUMN->The LOOP and find the line
HTML Code:
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
insert the following right after that line
HTML Code:
<?php if (is_page(248)) {wp_cat_posts(4); } ?>
So now, when ever you are displaying page 248, it will list all the items in category '4' on the page.

Hope this helps
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #6  
Old Nov 1, 2009, 09:42 PM
ladylulu
 
6 posts · Oct 2009
hi juggledad,

wow, thanks a lot for that step-by-step and detailed instruction!
that really helps.
thanks again! God Bless you more..

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Category Page Listing - How to display: Post Title only TotalBalance Excerpts, Read more, Pagination 16 Jan 27, 2010 12:22 PM
[SOLVED] Post title fonts on category pages pushkinpassey Post-Kicker, -Byline & -Footer 2 Oct 1, 2009 09:38 AM
[SOLVED] Turning off Page Title display MrCardinal Atahualpa 3 Wordpress theme 4 Jul 23, 2009 04:47 PM
Category title on category page, not on each post excerpt kicker paulae Excerpts, Read more, Pagination 4 Jun 22, 2009 11:33 AM
[SOLVED] category page list...display images too? joshimotions Excerpts, Read more, Pagination 1 Jun 21, 2009 09:56 AM


All times are GMT -6. The time now is 10:25 AM.


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