Top Level Menu Item points to first item on submenu

Replace the menu entry for “travel” with “travel to destination”, then change the text in the menu item to “Travel” You can also do a redirect using a redirection manager plugin and redirect the /travel/ url to the sub category

Right Permalink for Custom Post Type with number slug

You need to write a rewrite URL for the galley, please see the below code and paste into your active theme functions.php file function gallery_custom_rewrite_rule() { add_rewrite_tag(‘%gallery_id%’, ‘([^&]+)’); // Rule to handle numeric slugs in a gallery post type add_rewrite_rule( ‘^gallery/(.+)/([0-9]+)/?$’, ‘index.php?post_type=gallery&gallery_id=$matches[2]’, ‘top’ ); } add_action(‘init’, ‘gallery_custom_rewrite_rule’, 10, 0); function gallery_query_vars($query_vars) { $query_vars[] = ‘gallery_id’; … Read more

What happened to the Menu Order option for posts (for ordering posts by Menu Order in Block Editor (Gutenberg)?

Seems like the Post Attributes option for Posts has to be added manually. By adding add_action( ‘admin_init’, ‘add_support_for_posts_order’ ); function add_support_for_posts_order() { add_post_type_support( ‘post’, ‘page-attributes’ ); } However, page has a support by default. So, only “post” is to be supported.