Questions tagged [xml]
The xml tag has no summary.
172 questions
1vote
1answer
41views
How do I return XML to an API post request
I'm working on a plugin that deals with Twilio. Twilio makes a post request to the plugin and I have to respond with Twiml which is really just xml. If I try sending it through like this $wp_response =...
0votes
0answers
74views
Importing content but it displays that it already exists
I have been trying to import a basic, exported Wordpress content XML file. What I'm trying to do is add a blog post from one site to another. When I try to import the XML document it simply states ...
0votes
0answers
27views
Disabling options for xml feeds
I would like to disable xml feeds on my site and "disable xml feeds" plugin pretty much does the job. But I would like to keep main feed and category feeds available. The best would be to ...
1vote
0answers
63views
Wordpress Custom API GET request from External App with XML Parameter
I am new to WordPress API's and API's in general. I have an external app that is sending a GET request to my WordPress site with an XML string as the only parameter. I created a custom API that ...
0votes
1answer
150views
Read data from external source. XML vs REST API
I have a WordPress site and I should read data from an external source to populate parts of the various pages. I can choose whether to have the external data in an xml or via rest api. The xml will ...
1vote
1answer
405views
Disable XML-RPC via snippet
I am testing disabling XML-RPC on WP 6.2.2 via the following snippet: add_filter('xmlrpc_enabled', '__return_false'); But that isn't working. I can still access xmlrpc.php fine. I tried to add it in ...
0votes
0answers
126views
XML WP_Query problem in PHP 8.0 and 8.1
I have a strange problem. In PHP 7.4 my script for generating XML for other comparison site worked well, but after upgrading PHP to 8.0 it doesn't work anymore. In sandbox I got these errors: Fatal ...
0votes
0answers
84views
Export Posts Without Categories In An XML File
I have an xml file with posts, authors, images, and other content that I am importing successfully into a new site, but I would like to remove all categories from posts and make them uncategorized at ...
0votes
0answers
68views
Export post data with xml to other site using php soap
At one non-wordpress site, I have to show dynamic posts (depends on chosen result), it`s thumbnail, header and short description. Before, I have to fetch these data from other wordpress site. Can I do ...
0votes
1answer
733views
How do you code a featured image into an XML as a jpg link, instead of using a data-id number?
All I want to do is get Wordpress's featured image XML code to use a jpeg link as the meta_value, instead of the image gallery data-id number. Basically change this code: <wp:postmeta> &...
1vote
1answer
83views
Generate/save JSON or XML file from JSON script
I have a JSON script which at first Search for jobs with a specific attribute and then afterwards Get the job details. For now the script is like this and is saved as a Postman collection: { "...
0votes
1answer
365views
How to import nested categories from XML file?
We're importing an eXtended RSS file generated by WordPress thru the native Importer: Tools: Import in the WordPress admin panel Importing parent posts is straightforward, by defining the respective ...
0votes
0answers
341views
WordPress create custom XML RSS feed template
I am trying to create a custom XML RSS feed. However, my code is not quite working as expected. Here is what I have done: In functions.php I have created the feed called "top": add_action('...
0votes
0answers
244views
Wordpress xml import too slow
I'm trying to import posts and media with xml but is really slow, because there are 160000 posts and 160000 media. Further many posts are duplicated (same title, different categories and obviously ...
0votes
1answer
21views
Unlimited false pages showing in Sitemap?
I don’t know since when it started but today, I looked at it and it shows more than 90k pages are indexed on google in search console when my site has only 90 posts and some pages. https://priceunder....