Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #989324

    Trying to figure out why the links are not showing up on a site, URL in private.
    They should be there automatically according to this,
    ( this image a link apparently )

    But not working, I also came across this topic of a similar issue but not helpful to me,

    https://kriesi.at/support/topic/paginated-pages-not-showing-relnext-and-relprev/

    Are you aware of anything in Enfold that is causing the links to not show up properly?

    • This topic was modified 6 years, 4 months ago by thatryan.
    #989625

    Hey thatryan,

    Thank you for using Enfold.

    Did you try the suggested filter? That filter will add a link tag with the rel next or prev attribute plus their corresponding URLs.

    // https://kriesi.at/support/topic/paginated-pages-not-showing-relnext-and-relprev/#post-873990

    Best regards,
    Ismael

    #989826

    by the way a bit offtopic – wouldn’t it be nice to have this on the prev/next navigation beween posts/portfolios.
    maybe to the anchor itself

    function add_rel_attribute(){
    ?>
    <script>
    (function($){
    	$('a.avia-post-prev').attr('rel', 'prev');
    	$('a.avia-post-next').attr('rel', 'next');
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_rel_attribute');
    #989845

    No I did not try the filter because I thought that was a hack to fix that persons current issue.
    I wanted to see if there was something else in the theme that was breaking the Yoast links from being added.

    Do I have to use that hack filter?

    #989905

    Hi thatryan,

    You might want to try the code given in that thread.

    If you need further assistance please let us know.
    Best regards,
    Victoria

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.