how can i add extra parameter to edit post link?

The get_edit_post_link filter lets you modify that value. This is applied any time get_edit_post_link function is called, which admin uses, as well as themes on the front end. function wpd_edit_post_link_filter( $link, $post_ID, $context ){ if( ‘room’ == get_post_type( $post_ID ) ){ $link = $link . ‘&fubar=baz’; } return $link; } add_filter( ‘get_edit_post_link’, ‘wpd_edit_post_link_filter’, 10, 3 … Read more

How can I (for the long term) style the classic editor’s TEXTAREA?

I think I am following your question. You can enqueue a stylesheet only for the admin area and then add your styles to that. The following code will enqueue a stylesheet in a “css” folder in the root of your theme. function my_admin_styles(){ wp_enqueue_style( ‘admin_css’, get_stylesheet_directory_uri() . ‘/css/admin-styles.css’, array(), filemtime( get_stylesheet_directory() . ‘/css/admin-styles.css’) ); } … Read more

< ! - - more - - > tag not working

Some themes provide modified support for the read more tag, even when it is added in text mode as @Sally-CJ suggested… When there is modified support for the read more tag you need to contact the theme developer to find out how to get it to work as you are expecting it to.

How can I remove the editor from the ‘main posts page’?

WordPress already does this by default, so long as that page doesn’t have any existing content. Plus it adds a notice explaining why the editor isn’t there. These are the lines already in WordPress Core: if ( $post_ID == get_option( ‘page_for_posts’ ) && empty( $post->post_content ) ) { add_action( ‘edit_form_after_title’, ‘_wp_posts_page_notice’ ); remove_post_type_support( $post_type, ‘editor’ … Read more