Questions tagged [headless]
The practice of decoupling the CMS backend of the site from the frontend.
13
questions
2
votes
1
answer
25
views
Can part of my WordPress website be headless?
Just to set the scene I have a client that has a wordpress site with a mixture of "static" pages and woocommerce shop. The product catalogue has approx "86,000" products in it. ...
0
votes
0
answers
100
views
WordPress REST API not working on localhost
I have a WordPress site running WordPress 5.9.3 that is using a React-based theme, which uses the REST API (v1), to retrieve content and menus from the standard WordPress CMS back-end.
However, when ...
1
vote
1
answer
92
views
Wordpress as a CMS - best way to decouple publishing/front-end
For various reasons, this is important, but I am unsure if their are better ways OR other ramifications:
CMS = Wordpress as a CMS.
WebSite = Static site generator.
Currently when a post publishes on ...
0
votes
1
answer
162
views
Can I use WooCommerce in a headless CMS setup?
I don't have a question about coding in WordPress, but I was just wondering if I have a headless CMS setup, can I still have ecommerce functionality with WooCommerce?
0
votes
0
answers
15
views
Woo commerce product setup - custom product types?
Appreciate any advice on setting up products in Woocommerce - I have 6 types of products where each one has very unique product categories so I am wondering if I should create custom product types for ...
1
vote
1
answer
140
views
Only expose routes with prefix /wp-json on WordPress using Apache
Pretty straightforward:
I want to only expose routes with the /wp-json prefix so that I can use headless WordPress without exposing the rest of my WordPress site to the internet.
I'm running this on ...
0
votes
1
answer
34
views
Add image to each podcast series (or category) in headless WordPress instance [closed]
We have a WordPress instance that we query through it's API. Contents are posts, or episodes from a Podlove plug-in. We have four podcasts, though at the moment only one is set up in Podlove. We ...
0
votes
0
answers
107
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
2
answers
119
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
1
answer
391
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
1
answer
290
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
0
answers
48
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 ...
1
vote
2
answers
260
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 ...