Add Category name to Post Title (h1)

I would work the code arround and do something like this. <h1><?php echo get_the_title(); ?> – <?php the_category(‘, ‘); ?></h1> get_the_title(); Retrieve post title. the_category(‘, ‘); Displays links to categories, each category separated by a comma (if more than one). Documentation can be founded here : https://codex.wordpress.org/Function_Reference/the_category Hope it helps you.

Export posts manually selected by end user (not logged in)

I would recommend doing it mostly in Javascript: Basic steps (pseudo code): On the archive page add check boxes <input type=”checkbox” name=”post-with-id-1″ value=”1″> next to each post and a submit button <input type=”submit” value=”Submit”> at the top or bottom of the page. In js, listen for clicks on the submit button. When it is clicked … Read more

WP rest api returns 404 only when author param is used

I’m facing the same problem with a Multisite running Wordfence and JWT. I’m not sure if the solution here works for your case… The following doesn’t work, it gives a 404 response. If we remove data.author it works without problem. jQuery.ajax({ url: ‘https://example.com/wp-json/wp/v2/posts’, method: ‘POST’, crossDomain: true, dataType: ‘json’, data: { ‘author’:’1′, ‘title’:’Hello world’, ‘content’:’lorem … Read more