• This topic has 7 replies, 4 voices, and was last updated 6 years by lsaintj.
Viewing 8 posts - 1 through 8 (of 8 total)
  • #61386
    michaelagwunobi21
    Member
    Post count: 93

    Hi,

    How can I move the blog title above the featured image instead of it being below?

    #61595
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    For which page? The blog page or post page?

    – Kyle

    #61596
    michaelagwunobi21
    Member
    Post count: 93

    Blog page

    #61603
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Open up sf-post-format.php in sf-content-display folder and find these lines:

    			 else {
    				$post_item .= $item_figure;
    				if ($show_title) {
    				if ($post_format == "link") {
    				$post_item .= '<h2 itemprop="name headline">'.sf_link_post($postID).'</h2>'; 	
    				} else {
    				$post_item .= '<h2 itemprop="name headline"><a href="'.$post_permalink.'">'. $post_title .'</a></h2>';
    				}
    				}
    			}

    And replace them with:

    			else {
    				if ($show_title) {
    				if ($post_format == "link") {
    				$post_item .= '<h2 itemprop="name headline">'.sf_link_post($postID).'</h2>'; 	
    				} else {
    				$post_item .= '<h2 itemprop="name headline"><a href="'.$post_permalink.'">'. $post_title .'</a></h2>';
    				}
    				$post_item .= $item_figure;
    				}
    			}
    

    Let me know if this works.

    – Kyle

    #61613
    michaelagwunobi21
    Member
    Post count: 93
    This reply has been marked as private.
    #61616
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem

    – Kyle

    #61623
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You welcome . Thanks Kyle 🙂 , great work .

    With Best Regards
    Swift Ideas

    #331585
    lsaintj
    Member
    Post count: 1

    Man, I was looking for this forever. SUPER nested structure, but this worked. Thanks!

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register