How can I alter index.php to omit certain post data?
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 |
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'
|
All times are GMT -6. The time now is 01:04 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.