Skip to main content
Stack Overflow for Teams is now Stack Internal: See how we’re powering the human intelligence layer of enterprise AI. Read more >
Filter by
Sorted by
Tagged with
1 vote
0 answers
75 views

Problem Description: I'm developing a chat application with image upload functionality using WordPress REST API. When users attach multiple large images (3 images), the request doesn't reach the ...
user29255210's user avatar
0 votes
1 answer
65 views

Stuck on an automation issue and hoping someone here has dealt with this. Setup: n8n automation that generates HTML content (articles in Hebrew) Sending to WordPress via REST API WordPress site ...
Daniel Rozin's user avatar
0 votes
1 answer
58 views

I am working on a Gutenberg block and am modifying the Edit.js file. I want to fetch the root categories in the database. From the reading I have done, it seems a good way to do this is to use the ...
Timothy Paustian's user avatar
0 votes
0 answers
14 views

We use an MIS called LabelTraxx. Our company manufacturers labels and has 5 production lines. The operator for each production line will key in the details of their job, as well as their production ...
NikosK's user avatar
  • 1
0 votes
0 answers
61 views

I'm trying to fetch random posts using the WordPress REST API, but the orderby=rand parameter is not working as expected. Instead of returning random posts on each request, it consistently returns the ...
User's user avatar
  • 24.9k
0 votes
0 answers
10 views

Im building an IOS/ANDROID app and i need to update from it, some ACF field via REST API from my wordpress website. I did some researches but coudnt find any good reference. Any good tutorial online ...
matt's user avatar
  • 101
-1 votes
1 answer
161 views

I'm using WP Rocket along with their helper plugin WP Rocket | Cache WP Rest API which allows caching of WordPress REST API endpoints. I’ve added the following filter to allow REST API caching: ...
Vineet SND's user avatar
1 vote
1 answer
105 views

I'm working on a custom WordPress project where I’ve registered a custom post type called parcel. It has several custom meta fields like pickup_pincode, drop_pincode, and delivery_type. I want to ...
Raj Chatterjee's user avatar
1 vote
1 answer
43 views

I have a piece that already has some formatting. Now I need to convert this to a format so I can use the Wordpress API to send it to wordpress. This is an example of my text: '**H1: Some text**\n\...
hacking_mike's user avatar
  • 1,201
0 votes
0 answers
58 views

I'm attempting to connect to my wordpress site via API using basic auth. This would be a fairly straightforward task but the server itself is password protected (alert box asking for server username ...
tobyallwood's user avatar
1 vote
1 answer
209 views

I'm developing a WordPress plugin that exposes several REST API endpoints — some are public, and others require authentication using a JWT token. I understand that when using register_rest_route(), it'...
Moniruzzaman Saikat's user avatar
1 vote
0 answers
78 views

I was develop a quick form, before deactivated the wordpress plugin. When the user fills out the form and clicks the "Submit" button, a nonce is generated. However, after the plugin is ...
mikebension's user avatar
0 votes
0 answers
32 views

i'm trying to filter through acf fields in wordpress Blocks. I have a couple of select components fetching all my posts and filtering them based on their acf fields. It's working pretty well except ...
Aurélien Clochet's user avatar
1 vote
0 answers
77 views

When creating the player, there was a need to collect auditions. I set up the collection and everything works. You need to manually enter the data that is already available. I added the following code ...
Dmitriy Kluban's user avatar
0 votes
0 answers
42 views

this is my code for integrate product throught rest API. Custom REST API endpoint for adding products to the WooCommerce cart. Register the REST API route for adding to cart. add_action('rest_api_init'...
Angle.Ŗ's user avatar
3 votes
1 answer
170 views

i want create a nextjs via headless woocommerce how can i add jwt auth to some methods and endpoints and allow others publicly for example i want restrict POST,DELETE,PUT methods for product and ...
sianami's user avatar
  • 979
0 votes
0 answers
24 views

I’m developing a custom data directory using WordPress and Custom Form Fields, and I’m fetching the data through the WordPress REST API to display it in a Next.js web application. I need to filter the ...
Isuru Akalanka's user avatar
0 votes
2 answers
59 views

In Notion, when I paste a wordpress page or post link into a note, the “mention” feature appears. When you use this feature, it adds the author username of the page or post into the note. I want to ...
Ertuğrul Güneş's user avatar
0 votes
0 answers
47 views

I am creating an api that would allow users of my wordpress website to also login from a mobile device (I am making use of fast-api). but I cannot figure out how to hash the password from python so ...
Anthony Aniobi's user avatar
1 vote
0 answers
87 views

I’m consuming WordPress API using it as a headless CMS in a Nextjs blog part of a project. I'm able to fetch blog post and render a list of blogs on a page. However, when I land on a single blog post ...
Olaintech's user avatar
1 vote
1 answer
76 views

I am currently working on a WordPress/Woocomerce project I am trying to write a plugin which calls the stripe API using the following method $stripe = new \Stripe\StripeClient('apikey'); $stripe-&...
Abdullah Ergun's user avatar
1 vote
1 answer
201 views

Fetching Options in a php file in WordPress theme or plugin is as easy as typing: get_option('option_name'); How do we fetch Options in a Gutenberg block, inside the Edit.js file? Fetching meta value ...
Amrit Ray's user avatar
1 vote
1 answer
234 views

my wordpress website was working just fine and I could use elementor pro untill I installed "Advanced AJAX Product Filters". upon installing this I couldnt edit pages with elementor anymore ...
Pedram Safari's user avatar
0 votes
0 answers
32 views

I want to add a featured image, and since I am using Yoast SEO, I also want to add a focus keyphrase, SEO title, and meta description using the Python REST API, but I don't know how to proceed further....
Bhaskar Gupta's user avatar
0 votes
1 answer
88 views

I am using https://developer.wordpress.org/rest-api/reference/posts/#create-a-post: $my_post = "<!-- wp:kadence/rowlayout {'uniqueID':'5331_605d8b-3f','columns':1,'colLayout':'equal','...
c0dehunter's user avatar
  • 6,210
0 votes
0 answers
68 views

I've tried to find the answer in this forum, reading Nginx location priority and others, but can't get this to work. It is regarding location blocks in Nginx. I want to generally deny access to 'data' ...
jamminjames's user avatar
1 vote
0 answers
291 views

I've GET & POST API which i need to implement in wp website. My goal is, using jetEngine Plugin, i wanna send POST request & make returned response visible in my page using jetEngine Lising ...
MH Prince's user avatar
  • 171
-2 votes
1 answer
51 views

Thank you for your help in advance, To put it briefly, I have installed the WPGetAPI plugin on WordPress to obtain data from a basic contact form and then transmit it using a post API. Everything is ...
Neili's user avatar
  • 17
0 votes
0 answers
50 views

I've created a custom WordPress theme and I'm working with Mailster plugin. According to the documentation if you want to add a new subscriber then you can add to the Mailter list which you've created ...
Bruno G's user avatar
0 votes
1 answer
121 views

Using node. I want to upload some images to wordpress using the wordpress api. I tested and it works with png. Is this not possible with webp or maybe my code is wrong? I tried before with the UI and ...
Luis's user avatar
  • 129
0 votes
2 answers
290 views

I'm using a custom wordpress endpoint that I have defined in functions.php: add_action('rest_api_init', function () { register_rest_route('custom_endpoint', 'submit-application', [ '...
Brenden's user avatar
  • 124
-1 votes
1 answer
104 views

When I want to get the posts from my Wordpress Rest API, the sticky posts are not at the top, but are sorted by date like the others. When I try to sort by sticky wp-json/wp/v2/posts?orderby=sticky I ...
richard's user avatar
  • 862
1 vote
0 answers
112 views

I used following script for REST API for POST Method in my existing method. this message is showing ""No route was found matching the URL and request method."," where is the error. ...
devrashed's user avatar
-1 votes
1 answer
55 views

I'm trying to fetch language packs for multiple themes in bulk using the following WordPress Themes API endpoint: https://api.wordpress.org/themes/info/1.1/?action=query_themes&request[fields][...
Hemant Jindgar's user avatar
0 votes
1 answer
32 views

I’m attempting to call a PHP function via the WordPress RestAPI and for the life of me cannot figure out how to pass a JSON variable to the following function: function ...
Ian's user avatar
  • 1
0 votes
2 answers
806 views

I am using the WordPress REST API (wp-json/wp/v2/posts) to publish posts. The request works, but when I analyze the post in Yoast SEO, it says I need to add a meta description and a focus keyword (...
rafik's user avatar
  • 67
1 vote
2 answers
179 views

I’ve tried to follow mozilla guide lines for setting up report-uri in CSP-Report-Only mode. My CSP: function add_csp_header() { header("Content-Security-Policy-Report-Only: report-uri &...
timholz's user avatar
  • 520
0 votes
1 answer
81 views

I have a post type Properties. Property have their name(Title) image(Featured Image) and Locations(Acf Field). so i want to extract the exact property. from frontend i have a search form in which i am ...
nitin sharma's user avatar
0 votes
1 answer
85 views

I'm using a translation plugin in WordPress which adds the language code as a slug for all internal links like this: domainname.com/en This also results in some of my plugins endpoints being ...
janlindso's user avatar
  • 1,261
1 vote
1 answer
100 views

I have a WordPress website and I want to add a custom endpoint that sends the metadata of the users. Important: The already API works only by calling it like this "domain-name.com/?rest_route=/wp/...
thebaby's user avatar
  • 369
0 votes
0 answers
62 views

Is there a PHP/WordPress equivalent to req.hostname from Node.js/Express to get the hostname of the sender of a request? I'm working on a WordPress REST API endpoint with the following their setup I ...
muhammed Amr's user avatar
1 vote
0 answers
47 views

I am trying to get my head around testing my Wordpress Block Plugin with Jest. I am specifically struggling how to mock calls to wp.data. See the following function: import apiFetch from '@wordpress/...
Sina's user avatar
  • 180
0 votes
0 answers
26 views

My website www.attractionsofchina.com a strict .htaccess file, that blocks countries like Russia or vietnam. Some of my clients, may - on occasion - travel to such countries. What is the easiest/...
Kevin's user avatar
  • 21
0 votes
0 answers
21 views

i want to fetch the image of my products in my flutter app ... but i cant it show me this weird error and i don't know what is it for? and this is my code ( exactly based on a tutorial that worked ...
Hana.HD's user avatar
  • 99
0 votes
1 answer
195 views

I'm not new to WordPress but I have a question for the gutenberg api. I want to get a single post by id with the rendered post template for this ID. But I don't know how to archieve this problem ...
yfain's user avatar
  • 496
0 votes
1 answer
228 views

I want a plugin to receive a nested json file from a url and display its information in the form of paged cards with ajax search capability. Is there such a plugin? I tested the wpDataTable plugin, ...
Edvin Seddighi's user avatar
0 votes
1 answer
221 views

I have a Laravel application hosted on Azure App Service. When my Laravel app tries to fetch data from the WordPress API, it receives a 403 Forbidden error. Here are some key details: WordPress API ...
Dioni Sanchez's user avatar
1 vote
1 answer
381 views

So I am trying to delete the product along with the images via REST API but it deletes everything EXCEPT the images. I've tested it separately to delete an image but it give me this error: {"...
Gabiru's user avatar
  • 21
0 votes
1 answer
97 views

I have downloaded the WordPressPCL example project in https://github.com/wp-net/WordPressPCL. What I need is to update a page or post of Wordpress but I don't find any example. All I find are examples ...
Dalamar's user avatar
  • 117
0 votes
1 answer
348 views

I have a wordpress website that was working fine until this morning. Now, all pages show white. the funny thing is that if I hover my mouse over the white pages, I can see the links on the back. When ...
Bruno Andrade's user avatar

1
2 3 4 5
32