Skip to main content
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
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
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
-1 votes
1 answer
164 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
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
1 vote
1 answer
213 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
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
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
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
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
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
235 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
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
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
0 votes
1 answer
122 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
-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 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
2 answers
810 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
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
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
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
22 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
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
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
351 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