How to return different templates with astra_content_loop
-
Hi, I have 2 separate search results that I’m trying to setup.
One search is just going to be within the blog posts, and the other search is going to be more global.
When I use astra_content_loop() in the template it gets specific files in my child theme that I think are default Astra? They are in mytheme/template-parts/content-blog.php and mytheme/template-parts/blog/blog-layout.php. Or it goes up to Astra for the same files if I don’t have them in the child. I’d like to use the astra function but need to pick the template.
Can I tell pass the location of the template(s) I want to use? Should I stick to the standard WP api for this situation?
Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to return different templates with astra_content_loop’ is closed to new replies.