New answers tagged

0 votes

Protected page prompts with a small password box and submit button

This is not a WordPress question but looking at the structure you could try this. .post-password-form p:last-child, .post-password-form p:last-child label { display: flex; align-items: center; ...
user avatar
0 votes

Forcing all posts associated with a custom post type to be private

There are three hooks specifically for when the status of a post changes: /** * Fires when a post is transitioned from one status to another. */ do_action( 'transition_post_status', $new_status, $...
user avatar

Top 50 recent answers are included