People who code: we want your input. Take the Survey

Questions tagged [headless]

The practice of decoupling the CMS backend of the site from the frontend.

Filter by
Sorted by
Tagged with
0
votes
0answers
46 views

How to get WP GraphQL data on React front-end using Axios?

I want to know how to query data from the WP GraphQL plugin using Axios on a React front-end. I have a headless WordPress installation with the WP GraphQL plugin installed (that part is working great),...
0
votes
0answers
19 views

How to retrieve posts by category or categories headless wordpress

I am new to wordpress. I have quite a few questions about headless wordpress. I have seen the documentation of wordpress Rest API Handbook. Its pretty clear how to get posts. However, How to retrieve ...
0
votes
2answers
51 views

Ability to change homepage on Wordpress using API

Is there any way to change a site's homepage (Settings -> Reading), via API? We're running a React app with a Headless WP 'backend', and I'd like to let users change the homepage of their sites ...
0
votes
0answers
15 views

Is it a good idea to host Gatsby generated static pages in a Wordpress sub folder to add a customize sign up process with Wordpress APIs?

I'm trying to build a very unique signing up process for a existing WooCommerce website, I built the theme for this website, and realized there are a lot of limits for the normal WooCommerce checkout. ...
0
votes
1answer
189 views

How do I make reusable content blocks for header and footer when using Wordpress headless with another front-end?

I'm setting up a Wordpress project with Gatsby as frontend, and also using ACF for content. But I wonder how you would setup global content parts like header, footer, or any other kind of content that ...
1
vote
1answer
161 views

How do I get the intended post type of a revision post?

I have a headless Wordpress instance with multiple custom post types. The build takes a few minutes, so I'm building a way to display drafts by fetching the latest revision via an API, like so: $...
0
votes
0answers
39 views

Using Disqus with headless Wordpress setup?

Does anyone have any experience using Disqus with a headless WP setup? I am working on converting a standard WordPress blog to a headless front end, with the users using the standard WP back end in ...
0
votes
2answers
115 views

Headless WordPress – Issue with plugin path

Working on my first decoupled site. Backend is handled by WordPress and lives on the subdomain admin.mydomain.com and the frontend lives at mydomain.com. The first issue I saw with the headless ...