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 can I alter index.php to omit certain post data?

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.

Old Oct 4, 2010, 07:17 PM
juggledad's Avatar
23,742 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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


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 04:52 PM.

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