New Landing How can we help? Cardinal Move "related posts"

Viewing 2 posts - 1 through 2 (of 2 total)
  • Posted in: Cardinal
  • #136046
    NiikaQ
    Member
    Post count: 129

    Can you please move “related posts” down under the comment section on all blog posts? Thanks!

    #136096
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    One of the way to do that is, open up \wp-content\themes\cardinal\swift-framework\layout\single-post.php line #174, you saw a line like this.

    do_action('sf_post_after_article');

    Just before that line, add this bunch of lines.

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

    It will do the trick, Do that in the child themes for preventing update override issues.

    Let us know,

    Thanks,
    laranz.

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