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 » Center area post/pages »

Post Layout Area PHP file


  #1  
Old May 2, 2012, 05:04 PM
kayel_justice
 
27 posts · Oct 2011
Post Layout Area PHP file

See my site below.
http://spazbunny.com/

I used a custom code to display the featured image on the left and the_content with the_title on the right. Without my custom code the title displays above the featured image instead of to the right like how it is on my test site. My custom interferes with other stuff and I don't want to do that.

QUESTION
Where can I find "the_title" or "the_content" call tags so i can edit the php file?

---------------------------------------------------------------------------------------
My current code: Index.php
<!-- KL CUSTOM CODE -->
<table>
<tr>
<td style="border-bottom:1px solid #ccc; padding:5px 0 5px 0;"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a></td>
<td style="border-bottom:1px solid #ccc; vertical-align:top;">
<h2 style="margin-top:0;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_content(); ?>
</td>
</tr>
</table>
<!-- end of KL CUSOM

<?php // bfa_post_headline('<div class="post-headline">','</div>'); ?>
<?php // bfa_post_byline('<div class="post-byline">','</div>'); ?>
<?php // bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
</div><!-- / Post -->

<?php endwhile; ?>
  #2  
Old May 2, 2012, 05:19 PM
kayel_justice
 
27 posts · Oct 2011
Okay i fixed the code it no longer interferes with the rest of the site or atahualpa codes.....
here is my code to customize the homepage but not the other pages. Still, please locate me to where the_title and the_content are in which php file.

thx -


<!-- KL CUSTOM CODE -->
<?php if( is_home() ){ ?>
<table>
<tr>
<td style="border-bottom:1px solid #ccc; padding:5px 0 5px 0;"><a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a></td>
<td style="border-bottom:1px solid #ccc; vertical-align:top;">
<h2 style="margin-top:0;"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_content(); ?>
</td>
</tr>
</table>
<?php }else { ?>



<?php bfa_post_headline('<div class="post-headline">','</div>'); ?>
<?php bfa_post_byline('<div class="post-byline">','</div>'); ?>
<?php bfa_post_bodycopy('<div class="post-bodycopy clearfix">','</div>'); ?>
<?php bfa_post_pagination('<p class="post-pagination"><strong>'.__('Pages:','atahualpa').'</strong>','</p>'); ?>
<?php bfa_post_footer('<div class="post-footer">','</div>'); ?>
</div><!-- / Post -->

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hi How do I create a layout in the center area with a post then excerpt and thumbnai? FanaSu700 Center area post/pages 6 Feb 29, 2012 03:53 PM
[SOLVED] Problem with margin/padding or layout area. Not really sure. Aida Excerpts, Read more, Pagination 4 Feb 10, 2011 07:44 AM
[SOLVED] Importing Atahualpa settings file, file not valid Neut New Versions, & Updating 12 Feb 1, 2011 07:35 AM
How to show shadow behind main layout area in IE? andr3w84 Atahualpa 3 Wordpress theme 4 Jul 22, 2010 02:02 PM
Header image area dropping down over the first post area bushtool Header configuration & styling 2 Sep 16, 2009 12:17 PM


All times are GMT -6. The time now is 12:30 PM.


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