Questions tagged [headless-cms]
234 questions
0
votes
1 answer
Strap.io: How to fetch multilingual data by slug?
I have two data streams for each language ( English & Swahili ) and both have their own slugs. When I want to get English data it's a piece of cake, I just do the obvious:
GET /services?slug=motor-vehicle
But whenever I try to replicate the same…

Daniel Chikaka
- 1,432
- 4
- 17
- 28
0
votes
1 answer
Make GraphQL query nullable
I'm having a GraphQL Query to display posts from Wordpress Headless but i have some posts which don't have a featuredImage, and because of that i get TypeError: Cannot read property 'node' of null.
How do i make my query accept nullable elements…

Ilir
- 488
- 5
- 20
0
votes
1 answer
unable to fetch data in nextjs headless WordPress
This is my header component --
import { isEmpty } from "lodash";
import Nav from "./Nav";
const Header = ({ headerMenus }) => {
// console.log(headerMenus); <- Here i get the menus
if (isEmpty(headerMenus)) {
return null;
}
return (
…
0
votes
0 answers
Most efficient/fastest way to load several hundred SVGs on a website
I have a web app where I want to load several hundred SVGs onto one page.
As of right now I am uploading them all in Google Firestore after minifying the SVG. I then load them on the webpage and render the SVG as code on the page.
Would they load…

ahat91
- 546
- 1
- 6
- 10
0
votes
2 answers
Wordpress schema not appearing at Gatsby /___graphql endpoint
I'm trying to set up Gatsby to create a headless Wordpress site. I have a local Wordpress environment set up and working with the following plugins installed and active:
ACF: 5.9.5
ACF Pro 5.8.12
WP GraphiQL 1.0.1
WP GraphQL 1.3.5 WP
GraphQL…

LaikaTheSpaceDog
- 105
- 9
0
votes
1 answer
How to implement a headless cms on top of firestore?
We have an application that uses firebase and firestore as database. We want to implement several sections in our application that our customers manage several contents on their website using existing data from application. We want to create an api…

Berkay Yıldız
- 23
- 4
0
votes
2 answers
In which cases is it recommended to use the approach Headless CMS + separated frontend?
I have to build a website that features:
10.000 views/month
5-6 content post types
100-200 entries
many images
the client will add/update/handle entries like 1 time a week
Until here I used Wordpress with custom theme but now I was thinking to…

Fred K
- 13,249
- 14
- 78
- 103
0
votes
2 answers
Consuming drupal content ( header & footer ) in Single Page Application
The current project is a Single page application developed in Vue. As of now, the content is pretty much static but some data is available via REST APIs.
Now the ask that came up is to maintain the uniformity in terms of design, utilize the Header &…

Parag Diwan
- 3,007
- 2
- 19
- 37
0
votes
1 answer
Starting existing strapi project locally
How can I start existing strapi project locally?
I want to be able to run strapi dashboard locally.
I tried with npm install, npm run develop but I'm getting - npm ERR! missing script: develop.
Any help would be nice!
Tnx

Dejan
- 209
- 3
- 11
0
votes
1 answer
GET https://.../wp-json/wp/v2/users/me 401 (Unauthorized) from Angular2+ with Headless WP CMS backend
What I'm trying to do: I want to be able to retrieve currently logged in private user details, ie. current user email, posts made by the current user, past terawallet transactions, wallet balance, user settings and display it on the angular front…

New-Way
- 507
- 3
- 12
0
votes
2 answers
How to fetch Strapi content to my bigcommerce theme?
I am very new to Strapi and I have bigcommerce theme where I should implement content from Strapi.
How can I import content from Strapi to my bigcommerce theme?
In my bigcommerce theme I have config.json where I have these fields :
> - I doubt that…

Dejan
- 209
- 3
- 11
0
votes
1 answer
Craft CMS element-api how to get values of a category field in entry
Working on an element-api.php file from a Craft CMS project. Has a lot of helper functions. I added a category called disciplines. I'm trying to expose the values for each entry.
Here's the whole helper function I'm working on:
// Get all…

Bryan Robertson
- 13
- 3
0
votes
0 answers
How can i ignore the warning when i deleted a piece manually from my apostrophe-project?
I have deleted a piece from my apostrophe project manually. now when i run the project it is shows as a warning that:
It looks like you may have made a mistake in your code:
The module banners does not extend anything and does not have…

Razana Razak
- 23
- 3
0
votes
1 answer
WPGraphQL useMutation GraphQL error: Unknown argument "username" on field "registerUser" of type "RootMutation"
I'm building a headless wordpress website using react, nextjs and wpgraphql. I'm trying to create a mutation to register user, but I'm getting the following errors after submitting my form:
Error: GraphQL error: Unknown argument "username" on field…

Carlos G
- 479
- 1
- 8
- 19
0
votes
0 answers
Headless CMS for hand coded html website - Moving away from wordpress to headless
I've handwritten my website html/css/js and I'm looking for a CMS solution that is dead simple to install on a server (possibly something like uploading a folder to my ftp with the CMS in it) and connecting it is roughly a copypaste of tags into…

bambadamm
- 79
- 9