Custom post type split title, setup permalink accordingly

I have been working on this solution, I have come up with a different idea to implement this – I have added two different meta boxes, one with First Name, the other with Last Name Then I have hooked a function with save_post_{$post->post_type} hook like this – add_action( “save_post_{$post->post_type}”, “update_post_data” ); function update_post_data( $post_id ) … Read more

Remove or truncate site rss in

You may achieve this by adding a code snippet to truncate get_the_content_feed via filter: function truncateFeedContent( $content ) { $content = get_the_excerpt(); return $content; } add_filter( ‘the_content_feed’, ‘truncateFeedContent’ ); By default, get_the_content_feed show all content

Is my WordPress site handing out sensitive information/misconfigured?

The /?rest_route URL is the non-prettified version of /wp-json, which is the URI the WordPress REST API uses. The REST API should not be disabled since the Admin UI relies upon it. Having said that, you can require the REST API only service authenticated users. To require authentication, add the following rest_authentication_errors filter: add_filter( ‘rest_authentication_errors’, … Read more