Tagged: ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #703511

    Hello Support,
    I want to move the meta data (author, post date) to be directly above the main post content.
    I want to do this on both the main blog page – and the individual post page.
    So the “author” and “date” appears between the featured image and the post content.
    I did a search, and attempted a couple of answers from previous support tickets – but one had no effect at all (???) and the other broke the site.

    Thanks for your help,
    Greg

    #703683

    Hey Greg,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    Login credentials include:

    • The URL to the login screen.
    • A valid username (with full administration capabilities).
    • As well as a password for that username.
    • permission to deactivate plugins if necessary.

    Best regards,
    Nikko

    #704968

    Hello Nikko,

    OK – it is all placed in the private data. And you have permission to deactivate plugins.

    But can’t you just tell me which file(s) to alter – and how to do so in the child theme?

    ~ Greg

    #706053

    Hi,

    Try to add this code to functions.php:

    function move_postmeta(){
    ?>
    <script>
    jQuery(window).load(function(){
    jQuery( ".page .template-blog header.entry-content-header, .single-post .template-blog header.entry-content-header" ).each(function() {
    jQuery( this ).find( ".post-meta-infos" ).insertBefore( jQuery(this).find('.big-preview') );
    });
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'move_postmeta');

    And add this code to Quick CSS (located in Enfold > General Styling):

    .html_elegant-blog #top .post-entry .post-meta-infos {
        float: none;
    }

    Let us know if it works.

    Best regards,
    Nikko

    #708449

    Hello Nikko,

    Awesome – this worked perfectly! :-)

    We can close this one,
    Greg

    #708617

    Hi,

    Glad we could help!
    To know more about enfold features please check – http://kriesi.at/documentation/enfold/
    Thank you for using Enfold :)

    Best regards,
    Vinay

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘move meta data above post contact’ is closed to new replies.