Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1125932

    The result shown here is using Magazine shortcode for blog post.
    Question 1:
    EXAMPLE:
    AUGUST 3, 2019
    APA and the Prime Minister

    I want it:
    APA and the Prime Minister
    AUGUST 3, 2019
    <hr>

    Please help:

    • This topic was modified 5 years, 3 months ago by bhutanitinfo.
    #1125936

    I found the answer.

    add_action(‘wp_footer’, ‘ava_custom_script’);
    function ava_custom_script(){
    ?>
    <script>
    (function($){
    function h() {
    $(‘.av-magazine-entry’).each(function() {
    var date = $(this).find(‘.av-magazine-time’),
    title = $(this).find(‘.av-magazine-title’);

    date.insertAfter(title);
    });
    }

    h();
    })(jQuery);
    </script>
    <?php
    }

    #1126050

    Hi,

    I’m glad this was resolved. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Issue showing dates in Magazine Blog Post’ is closed to new replies.