Created
November 3, 2023 00:00
-
-
Save BruceMcKinnon/b8251051ccbeeb0e6e838f2a3909d2c3 to your computer and use it in GitHub Desktop.
Add menu order support to posts and pages
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'ingeni_add_posts_menuorder' ); | |
function ingeni_add_posts_menuorder() { | |
add_post_type_support( 'post, page', 'page-attributes' ); | |
add_post_type_support( 'page', 'excerpt' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment