Skip to main content

Questions tagged [headless]

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

-1votes
1answer
35views

SEO impact: WP+Next.js hybrid [closed]

Our corporate website is a hybrid of Next.js and WP: Next.js app uses data from WP database WP works in the headless CMS mode Does this integration affect SEO in any specific ways?
Egor Kaleynik's user avatar
0votes
1answer
49views

Creating a Single Instance Custom Post Type with Limited Module Options using ACF and WPGraphQL [closed]

Hello WordPress community, I'm working on a project where I need to create a custom post type using Advanced Custom Fields (ACF) and query it via WPGraphQL to integrate with a Headless Next.js build. ...
Jason6's user avatar
3votes
2answers
535views

How to I serve the static HTML file at the root directory in a wordpress site?

I am trying to use wordpress as a headless CMS for my react frontend. The build version is completely functional connecting to the wordpress api https://www.example.com/wp-json/wp/v2. The react ...
Rifky Niyas's user avatar
1vote
0answers
296views

Add ACF fields to Repeater items when using REST API

I am currently building a Headless site using WordPress as a CMS, coupled with Nuxt 3, bridged with the REST API. So far, everything’s been great, but I’m struggling with how to retrieve the ACF ...
Alex Ryans's user avatar
2votes
1answer
48views

How do I get the URL section to show use a different domain in the WordPress Admin?

I am currently using a headless WordPress with NextJS and making adjustments in custom plugin index.php file. Within the admin, I am trying to create a better user experience for our content writers ...
Tim Tran's user avatar
0votes
0answers
31views

How to access WP header from Appearance > Header using WP Rest api (React)

Need to use the WordPress Header Section in react js. No plugin is used for plugin it is by default.
Anand Kumar's user avatar
2votes
2answers
2kviews

Block content rendered with inline CSS. How do I reuse it in a headless setup?

I'm working on a Headless Wordpress setup. I want my Wordpress posts rendered elsewhere. I want to write these posts using the basic Gutenberg block editor, and show them on a separate non-Wordpress ...
ᴍᴇʜᴏᴠ's user avatar
0votes
1answer
679views

Problem with custom WordPress Rest API search route with query parameters

I'm building a search component in a ReactJs application sitting on top of a headless WordPress CMS and I've run into a problem which I can't seem to fix. It might be that I'm doing something ...
Stef's user avatar
  • 103
0votes
0answers
100views

Customizer Changeset, Sidebar and Rest API Custom Endpoints

How can I get rendered sidebar content with REST API inside a WordPress Customizer Changeset ( customize_changeset_uuid )? Related to this question: The customizer should be able to point to a ...
Ünsal Korkmaz's user avatar
1vote
1answer
134views

My wp_update_nav_menu action is firing twice

i am trying to setup a wp_update_nav_menu action in a Plugin. Now I wonder why this is firing twice. I want to update all my pages with this hook in a headless wp implementation. And this double ...
Friedrich Siever's user avatar
1vote
0answers
81views

Anyway to disable the auto excerpt creation?

I am using Wordpress as a headless CMS and getting the posts from the API endpoint in 11ty and I'm wondering if you can disable the auto excerpt generation? I know you can do it in PHP but I can't do ...
chocho's user avatar
1vote
1answer
609views

Webhook: save_post action fires wp_remote_post twice

I am trying to implement a webhook in a plugin which should fire everytime a user saves a post. It works fine, but I recive two requests on frontend api. The first request has got a wrong slug. I ...
Friedrich Siever's user avatar
2votes
1answer
157views

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. ...
kasio99's user avatar
2votes
1answer
4kviews

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 ...
Yami Medina's user avatar
1vote
1answer
743views

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 ...
Rogelio's user avatar

153050per page
close