Title: wp-graphql
Last modified: October 6, 2019

---

# wp-graphql

 *  [cliffo4](https://wordpress.org/support/users/cliffo4/)
 * (@cliffo4)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/wp-graphql/)
 * Hi
 * We have virtue theme (premium) installed and were looking to see if there is 
   a possibility to add in support for wpgraphql project that is providing graphql
   support for WP. I have followed some of the base instructions, and can see the
   polfolio, portfolios and portfolioBy, but they seem to missing things like “Portfolio
   Type” and “Portfolio Tags”.
 * Would it be difficult to add this in, as it seems the wpgraphql plugin seems 
   to be pulling the schema and data together once the cross connects are added –
   I played around adding in lines to lib/post-type.php around line 38.
 * I guess I missed some of the extra bits further down for portfolio-type and portfolio-
   tag.
 * Any assistance would be most welcome.
    Thanks
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwp-graphql%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Ben Ritner – Kadence WP](https://wordpress.org/support/users/britner/)
 * (@britner)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/wp-graphql/#post-12009611)
 * Hey,
    Thanks for posting, I’ll look at adding in what’s needed for graphql. Look
   like for taxonomies you would add them like this: [https://docs.wpgraphql.com/getting-started/custom-taxonomies](https://docs.wpgraphql.com/getting-started/custom-taxonomies)
 *  Thread Starter [cliffo4](https://wordpress.org/support/users/cliffo4/)
 * (@cliffo4)
 * [6 years, 7 months ago](https://wordpress.org/support/topic/wp-graphql/#post-12009676)
 * Hi Ben, I think I did add in tag’s but think they appeared as a separate entity
   rather than as part of an edge/node within the portfolio entity, will have to
   have a look.
 * I will be interested to see how you get on with it, as your understanding of 
   data structure and schema is probably alot better than mine!
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘wp-graphql’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/virtue/3.4.14/screenshot.png)
 * Virtue
 * [Support Threads](https://wordpress.org/support/theme/virtue/)
 * [Active Topics](https://wordpress.org/support/theme/virtue/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/virtue/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/virtue/reviews/)

## Tags

 * [porfolio](https://wordpress.org/support/topic-tag/porfolio/)
 * [wpgraphql](https://wordpress.org/support/topic-tag/wpgraphql/)

 * 2 replies
 * 2 participants
 * Last reply from: [cliffo4](https://wordpress.org/support/users/cliffo4/)
 * Last activity: [6 years, 7 months ago](https://wordpress.org/support/topic/wp-graphql/#post-12009676)
 * Status: not resolved