Auto Filling Post fields

Yes, there’s a few plugins for that around. Ultimate CSV Importer looks like a good fit. Just make sure that your column titles in your spreadsheet match what the plugin is expecting. That is, if it needs the column to be named “post_title” in order to set the title, setting the column name to “title” … Read more

Add multiple tags to multiple posts

I found the solution: My array of IDs + tags is like this: $array_tags_and_ids = [ ‘239’ => [“car”, “animal”, “dog”, “cat”], ‘243’ => [“dsa”, “ewr”, “bvc”, “fgn”] ]; So I do: foreach ($array_tags_and_ids as $key => $value) { // re-call the value and get only the text value $implode_tags_names = implode( ‘, ‘, $value … Read more

WordPress Rest API Create Post

Your JS is sending the request directly, so abc_add_post() appears to be entirely unnecessary. The issue with your JavaScript is that this part it still within the string started with “: xhr.setRequestHeader( ‘Authentication’, ‘Basic ‘ + btoa( ‘saurab:saurav123’ ) ); To use a function and concatenate it you need to close the already open string: … Read more