New Landing How can we help? Atelier POST PAGINATION – limit by category

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Atelier
  • #252937
    maratino
    Member
    Post count: 68

    Is it possible to limit the post detail page pagination (next/prev) to the current posts category?

    #252940
    maratino
    Member
    Post count: 68

    I changed
    $post_categories = get_the_category_list( ‘, ‘, ”, $next_post->ID );

    to
    $post_categories = get_the_category( ‘, ‘, ”, $next_post->ID );

    in
    /atelier/swift-framework/content/sf-post-detail.php

    aka copied this file into my atelier-child

    #252985
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Did that work for you?

    – Kyle

    #252987
    maratino
    Member
    Post count: 68

    yes, thanks.

    #252988
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Ok great

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