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 »

How can I alter index.php to omit certain post data?


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 Oct 4, 2010, 07:05 PM
David Crowther
 
1 posts · Oct 2010
Hello. I am relatively new to Wordpress and web dev in general. However, I was wondering how I could alter the index.php template in such a way so as to omit the post data from specific posts.

What I've done is create an "if (in_category())" so that it will format one way if the posts belong to one category and will remain unchanged if they are in any other category. I want to omit the Author, Date and Category data from the specified category posts but leave all of the other formatting intact.

Is this possible? I was hoping to to simply use the existing code:

<?php bfa_center_content($bfa_ata['content_inside_loop']); ?>

and simply tell it to omit the specific post data. However, I couldn't find anything that allowed me to do this.

Any ideas/help would be appreciated.

Best,
David
  #2  
Old Oct 4, 2010, 07:17 PM
juggledad's Avatar
juggledad
 
22,253 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
The Atahualpa theme gives you a theme option 'The Loop' where you can code php and alter 'the loop' processing. There is no need to change any of the theme's code. see the section 'Style & edit CENTER COLUMN'
__________________
"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
[SOLVED] Plugin Navigation Index.php lephare Page & Category Menu Bars 2 Aug 10, 2010 02:17 PM
[SOLVED] Needing Help... index.php cant find functions.... MichaelNagel Atahualpa 3 Wordpress theme 0 May 20, 2010 08:36 AM
[SOLVED] Add property in index.php miseroprospero Center area post/pages 6 Feb 1, 2010 07:11 AM
[SOLVED] 3.4.2: where to make changes that used to be in index.php? bcorrigan New Versions, & Updating 2 Jul 13, 2009 10:52 AM
How to not have Google index my sidebar data? gabrielnovo Atahualpa 3 Wordpress theme 5 May 6, 2009 06:46 AM


All times are GMT -6. The time now is 09:24 AM.


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