New Landing How can we help? Themeforest Theme Support Neighborhood Blog post date position

Viewing 10 posts - 1 through 10 (of 10 total)
  • #80878
    michaelagwunobi21
    Member
    Post count: 93

    How can I put the blog post date above the featured image?

    #81063
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please make screenshot image and provide specific page URL so i can suggest exact solution.
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #81076
    michaelagwunobi21
    Member
    Post count: 93
    This reply has been marked as private.
    #81086
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide specific page URL so i can give exact custom css.
    Thanks

    #81087
    michaelagwunobi21
    Member
    Post count: 93
    This reply has been marked as private.
    #81088
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    In which file did you make changes?
    Thanks

    #81091
    michaelagwunobi21
    Member
    Post count: 93

    sf-post-format.php

    #81269
    Melanie – SUPPORT
    Member
    Post count: 11032

    Try taking line 523

    				$post_item .= '<span class="standard-post-date" itemprop="datePublished">'.$post_date.'</span>';
    

    and putting it below line 494 and 492
    so it says

    				if ($post_format == "link") {
    				$post_item .= '<h2 itemprop="name headline">'.sf_link_post($postID).'</h2>'; 
    				$post_item .= '<span class="standard-post-date" itemprop="datePublished">'.$post_date.'</span>';
    	
    				} else {
    				$post_item .= '<h2 itemprop="name headline"><a href="'.$post_permalink.'">'. $post_title .'</a></h2>';
    				$post_item .= '<span class="standard-post-date" itemprop="datePublished">'.$post_date.'</span>';
    }

    Make the same change for all the other post types!

    #81273
    michaelagwunobi21
    Member
    Post count: 93

    Thank you melanie. It worked.

    What other places will i need to make that change also?

    #81430
    Melanie – SUPPORT
    Member
    Post count: 11032

    Fantastic!

    In the same file are paragraphs of code for the several post types, I think the lines I gave you are the ones for the quote post, so if you look around the file for the same code and make the same changes it should change it all over the website!

Viewing 10 posts - 1 through 10 (of 10 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