Site logo

Archived topic

wpgridbuilder custom queries in Generatepress

2 replies · Started by William on September 25, 2022

Viewing posts 1–3 of 3

Hi, sorry if this out of generatepress scope of support.
I want to implement a custom query facet search with wpgridbuilder. There is a doc, https://docs.wpgridbuilder.com/resources/guide-filter-custom-queries/ but I don't know how to go about implementing in generatepress. Do I make a copy of content-page.php in childtheme and add the code? I don't know how to make it work. what needs to go in-between { ... }

if ( $the_query_1->have_posts() ) {

	echo '<ul class="wpgb-content-1">';
	while ( $the_query_1->have_posts() ) { ... }
	echo '</ul>';

}

Thank you!

Hi William,

Have you checked with wpgridbuilder support team first?

If they can provide the exact method to implement it with the Twenty series WP default theme, then the method should be very similar in GP.

Let me know :)

I also ask the support team, waiting to hear back from them.

This archived topic is closed to new replies.