New Landing How can we help? Cardinal Add custom post types to related articles

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Cardinal
  • #242399
    pdupree
    Member
    Post count: 40

    How do I add custom post types to the related articles listings? i.e. post, event, portfolio, galleries
    post_tag is common to all

    #242415
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Custom post types are not using tags features so we related post types will show only article post type.
    Thanks
    Mohammad

    #242705
    pdupree
    Member
    Post count: 40

    I’ve added post_tag to all custom post types. How/where do I open up related posts to include custom post types.

    #242774
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please provide me specific custom post type page url with post_tag to check and resolve the issue.
    Thanks
    Mohammad

    #243167
    pdupree
    Member
    Post count: 40

    http://jameswalkermusic.com/events/lenten-evensong-2016/
    include event post-types in related articles

    #243273
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The function resides within the file: /themes/cardinal/swift-framework/content/sf-post-detail.php.

    The function is called: sf_post_related_articles().

    You can copy the entire function and place it within your child theme function.php to overwrite it and keep it safe against future updates overwriting your changes.

    Thanks.

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