[Support request] Using generate Press- Want to show home page with a certain set of categories.

Home Forums Support [Support request] Using generate Press- Want to show home page with a certain set of categories.

Home Forums Support Using generate Press- Want to show home page with a certain set of categories.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1166640
    Manoj

    Hi

    How can I configure my home page with a selected few categories while ignoring other categories.

    I did see some script in another support topic where a script was provided to do one specific category

    1. Need a script to add multiple category to a page and ignore others
    2. While providing the script- could you please explain where(which file) to add it. Can I add it from wp-admin console?

    Thanks

    #1166674
    Leo
    Staff
    Customer Support

    Hi there,

    You can use this PHP snippet to exclude specific categories:
    https://generatepress.com/forums/topic/exclude-category-from-loop/#post-111543

    Adding PHP: https://docs.generatepress.com/article/adding-php/

    Let me know if this helps 🙂

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