Make a page and assign a custom page template that includes a form which references itself in the action
— #
.
Then just check the $_REQUEST
for the information sent by the form.
There are several functions in the HTTP API that will help you send a request to your API and handle the request.
It doesn’t look like you need anything from the REST API on your site, so don’t worry about that.
If you want to go the AJAX route and not leave the page, there are several examples on how to use admin-ajax.php
or admin-post.php
.
Related Posts:
- Bypass wp_safe_remote_get()?
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- Programmatically get images by URL and save in uploads folder
- Function to get URL of original uploaded image – full size
- How to reference a theme image in a stylesheet?
- Mixed content warnings after changing site adress from HTTP to HTTPS
- Preview Image Path in Admin Section
- Why would image paths in wordpress suddenly change?
- Remove the http protocol from images
- How do i reference the theme path in pages for images?
- @wordpress/create-block image url in css
- WordPress url image redirect to the homepage
- Broken urls with http site and https wp-admin
- A way to change image urls in post to cdn image url?
- How to change image url?
- Update image links in database
- Shortcode for a link and thumbnail
- media_sideload_image with rewritten urls?
- How to add an image to a custom url?
- images not showing after transfer
- Is there any way to Integrate WordPress with Imgur for Image Hosting
- Replacing the content of an image attachment using API
- Change media URL (images)
- How to redirect homepage to actual URL?
- Clicks registering on Preview DNS site
- Is it possible to enable the ‘Link To’ field under ‘Attachment Display Settings’ for a Featured Image?
- Using a .pdf file as a page in wordpress
- How to get image URL from media_sideload_image?
- Exclude image url from search query
- Redirect Image Url to a page via htaccess
- How to pass on a value as parameter via url to another page
- How to replace post image url before posting using api?
- Hide or mask the url to an image
- Glitched page redirects to image
- i want to change URL of WordPress image or rewrite in runtime
- How to show a full page when someone links directly to an image on my site
- List sub pages with custom field content converting image ID to URL
- Change the image for a certain URL
- Setting name of attachment URL
- Search and replace image urls in posts
- Protocol relative url not pulling up images on IE, FF, and OPERA
- Broken image URL
- How do I mitigate the forward slash problem for URLs of images after a WP migration?
- Images in sub-pages fail to load
- get_post_custom: get image URL instead of image ID
- Are image addresses security relevant?
- Remote Image (from URL) as Media Library element
- WPALLIMPORT Exporting images from repeater field [closed]
- Uploading media to wordpress API with C# HttpClient
- All WordPress Website Images Broken
- Image size not showing up in ‘wp/v2/media’
- Image not showing in an archive page
- Font size on image captions on mobile
- How to include featured image on blog post preview?
- How do you change all images dimensions to have the same size?
- Set add_image_size() greater than content width in media box
- How to get some information from the_content [closed]
- Custom Background Image per Page
- I moved WordPress to root now posts go to 404
- Resizing to bigger proportions as original not working
- Admin bar stats widget plugin image broken
- wordpress is generating too many Image Sizes
- Blurry Images WordPress 5.8.1
- get_theme_file_uri function not showing background image inside data-setbg in html
- How to display image ALT under image?
- wordpress images not display [closed]
- img src not working correctly in custom post type
- How to hide image alt text/caption in Visual Composer?
- Parallax image problem
- How can I put pictures next to each other and how can I add a location? [closed]
- Automatically adding blog images to a portfolio/gallery
- Bug when uploading pictures with Arabic name characters?
- While doing a bulk upload the Media Images are showing blank?
- How do I insert a photo at the top of the sidebar?
- If image width bigger than height [duplicate]
- Function to get custom post image URL
- How to get attached image alt text in media.php?
- Media upload error
- Featured Image not displaying [closed]
- wp_handle_upload Image sizes
- Changing logo image in header.php upon language detection
- Images getting corrupt automatically
- Display Images from Array with wp_get_attachment_image() [closed]
- how do i update version for super skeleton
- Hover images and Videos
- Theme using masonry layout script rendering overlaped images in Google Chrome [closed]
- How do you add text to a carousel of images like here in this example
- What type to upload image within theme options?
- Orientation of featured image in post?
- Why is inline CSS added to images automatically? [closed]
- How can we see which posts don’t have a featured image or it doesn’t exist anymore?
- Best Photoshop-WordPress workflow for editing images without re-upload [closed]
- Can’t manage to display an uploaded picture (uploaded from a custom button) in the front end
- Script not working in WordPress [duplicate]
- Uploaded Media Images on Site
- Create decorative image border with CSS? [closed]
- How to get customable image header?
- Faster image upload on mobile [closed]
- Adding social share buttons for individual images on a web page
- How to show file size of featured image? [duplicate]