Site logo

[Support request] I’m working on setting up a website with a portfolio filter

Home Forums Support [Support request] I’m working on setting up a website with a portfolio filter

Home Forums Support I’m working on setting up a website with a portfolio filter

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #2109759
    Kerem

    Dear Support Generate Press,

    I’m working on setting up a website with a portfolio filter. I just want to do this with normal blog posts. But when I select this as a blog page I don’t see an option to edit the default template page. Now I have already found out that generatepress works a little bit differently with additions via the elements page. But still I don’t know how to add a function such as an eg ajax category filter to the blog page.
    Could you help me with that, maybe you already have snippets/hooks or do other people from the community already have a solution for this.
    Thanks for the effort and I look forward to hearing from you.

    Kind Regards,
    Kerem Ugis

    #2109983
    Leo
    Staff
    Customer Support

    Hi there,

    Just to confirm, so you already have the working code to create an Ajax category filter on the blog/posts page?

    Does the solution come with any instruction on how to implement it? Or how is it implemented when using Twenty series default WP theme?

    #2110950
    Kerem

    Well there are ways to implement a working ajax code for a filter on the blog page.
    My only question is whether there is a ready-made method available via the generatepress way with elements? Since creating your own templates via generatepress is not done in the usual way as I am used to, I wondered if there were ways already found in which community members have done the same? And if not, do you have a nice solution?
    I want to turn the blog page into a portfolio page with a dynamic filter option.

    #2111115
    Leo
    Staff
    Customer Support

    No – there isn’t a ready-made filter solution in GP.

    I’ve heard some users use this plugin:
    https://wordpress.org/plugins/category-ajax-filter/

    #2111151
    Kerem

    Hmm ok thanks but i think i will it make customade. But im not sure its posible with generatepress. Because i want to make a unique template but need to search out how it works because what i see is evreything going via the default template. Soo need to find out whats the structure of generatepress i quess. But thanks you for the help!

    #2111167
    Leo
    Staff
    Customer Support

    GP follows WP standard structure so there shouldn’t be anything too special 🙂

    Things like post loop etc are all handled by WordPress core.

    #2111969
    Kerem

    Okay, that seems logical to me. But since I hadn’t seen the elelements addon anywhere else. I was wondering if there is another method behind it. I haven’t delved into this enough yet.

    Sincerely,
    Kerem

    #2112071
    Fernando
    Customer Support

    Hi Kerem,

    Here is the github repository link of GeneratePress theme: https://github.com/tomusborne/generatepress

    Creating a unique template is definitely fine. You can follow the WordPress Template Heirarchy(https://developer.wordpress.org/themes/basics/template-hierarchy/)in creating your file or you can simply edit the ones you would need.

    The structure of the templates can be found in the repository, and by looking at each of them, you’ll find that there are various hooks which are needed for certain Element types and hooks to work.

    Moreover, here is a link where you can get a copy of GeneratePress Child theme: https://docs.generatepress.com/article/using-child-theme/

    Hope this helps! 🙂

    #2112234
    Kerem

    Thanks Fernando yes I have the lifetime version and find it pleasant to work so far. for this I also worked with genesis, a nice framework, but now I’m going to dive into generatepress! thanks for the support!

    #2112317
    Fernando
    Customer Support

    You’re welcome Kerem! Feel free to reach out anytime if any assistance is needed. 🙂

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