- This topic has 9 replies, 3 voices, and was last updated 4 years, 1 month ago by
Fernando.
-
AuthorPosts
-
February 8, 2022 at 9:38 am #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 UgisFebruary 8, 2022 at 1:25 pm #2109983Leo
StaffCustomer SupportHi 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?
February 9, 2022 at 8:04 am #2110950Kerem
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.February 9, 2022 at 10:31 am #2111115Leo
StaffCustomer SupportNo – 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/February 9, 2022 at 10:56 am #2111151Kerem
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!
February 9, 2022 at 11:11 am #2111167Leo
StaffCustomer SupportGP follows WP standard structure so there shouldn’t be anything too special 🙂
Things like post loop etc are all handled by WordPress core.
February 10, 2022 at 12:47 am #2111969Kerem
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,
KeremFebruary 10, 2022 at 1:56 am #2112071Fernando 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! 🙂
February 10, 2022 at 3:17 am #2112234Kerem
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!
February 10, 2022 at 3:56 am #2112317Fernando Customer Support
You’re welcome Kerem! Feel free to reach out anytime if any assistance is needed. 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.