On the homepage, how can I put the title of post above the post image?

Viewing 3 posts - 1 through 3 (of 3 total)
  • #17290
    charity
    Participant

    Hello Daniel,

    Please help, I want to put the post title above the post image in the homepage.
    Currently, the headline is below the image, followed by the description.
    I will like it to be in this flow:

    Headline
    Image
    Description

    I can’t get that desired format. In what part of the theme editor should I edit to come up with that desired display? and what code should I paste in if needed?

    Thanks, hoping for your response.

    #17295
    Daniel Tara
    Keymaster

    Open each content-*.php file and move the div with class entry-header above the call to pinboard_post_thumbnail(), then wrap it with a container with the entry-container class.

    Here’s an example although it’s slightly different for each file:

    <div class="entry-container">
    	<header class="entry-header">
    		< class="entry-title"><a href="" rel="bookmark" title="<?php the_title_attribute(); ?>"><?php the_title(); ?></a></<?php pinboard_title_tag( 'post' ); ?>>
    		<?php if( pinboard_post_is_full_width() ) : ?>
    			<?php pinboard_entry_meta(); ?>
    		<?php endif; ?>
    	</header>
    </div>
    <?php if( ! pinboard_post_is_full_width() ) : ?>
    	<?php pinboard_post_thumbnail(); ?>
    <?php endif; ?>
    <div class="entry-container">
    #17304
    charity
    Participant

    Thanks for the help Daniel πŸ™‚

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.