Gato GraphQL

Product details

Q: Can you use the query within Bricks builder by using Bricks elements.

I can see that you can query the WordPress menu as an example in Gata Graphql. Bricks is able to query Post, users and terms. Here's a link - https://academy.bricksbuilder.io/article/filter-bricks-query-loop_object/.

In order for me to query the menu I would have to a lot of custom code. Do you know if there's a way that I can use dynamic tags in Bricks to display the results from the Gata Graphql query?

stephen339Feb 26, 2025
Founder Team
Leonardo_GatoGraphQL

Leonardo_GatoGraphQL

Feb 26, 2025

A: I haven't worked with Bricks, so I don't know for sure. However I believe it must be possible: You can use the Internal GraphQL Server (https://gatographql.com/extensions/internal-graphql-server) to execute a query using PHP code (without accessing the endpoint). Then you can add your hook for Bricks, execute internally a query with PHP, get the results right there and inject them into your dynamic tags.

Share
Helpful?
Log in to join the conversation
Related questions
View product details