[Resolved] How to limit post category on specific page

Home Forums Support [Resolved] How to limit post category on specific page

Home Forums Support How to limit post category on specific page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #269344
    Jiri

    Hi all!

    I’m already moving one of my old webpages to generatepress and have found small problem.
    In the previous theme was possible to define “page template” and in the php code of this template limit the post category to shown on the page.
    Is there anything similar in generapress?
    Thanks in advance for the help!

    Best regards Jiri

    #269425
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    GeneratePress doesn’t have any templates that show posts, it simply shows posts where WordPress wants it to (the posts page (Settings > Reading), archives, categories etc..).

    Of course, you can create your own page templates that include the loop to display posts, or you could use a plugin like this: https://en-ca.wordpress.org/plugins/wp-show-posts/

    Hope this helps ๐Ÿ™‚

    #269544
    Jiri

    Great tip, thank you very much!

    #269548
    Tom
    Lead Developer
    Lead Developer

    You’re welcome ๐Ÿ™‚

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