New Landing How can we help? Atelier Related posts over the comments

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #238458
    HoGo
    Member
    Post count: 92

    Hi, I would like to have related posts displayed before coments on a post page and now they are after. How can I do this?

    Regards
    Bogusz

    #238552
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please paste this code at functions.php of child theme.

    remove_action( 'sf_post_after_article', 'sf_post_comments', 20 );
    remove_action( 'sf_post_after_article', 'sf_post_related_articles', 10 );
    add_action( 'sf_post_after_article', 'sf_post_comments', 10);
    add_action( 'sf_post_after_article', 'sf_post_related_articles', 20);

    Thanks
    Mohammad

    #238616
    HoGo
    Member
    Post count: 92

    Thanks, did it, but it did not help. 🙁

    Also I would like to know if it is possible if I have only one related post to show other posts randomly in free slots?

    #238620
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me login detail after installing WPIDE plugin.
    Thanks
    Mohammad

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