Created
October 9, 2014 05:39
-
-
Save nroca/511ef1d287ba7121f596 to your computer and use it in GitHub Desktop.
ACF Options Page (Icon/Position)
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
// http://support.advancedcustomfields.com/forums/topic/change-menu-position-of-options-page/ | |
acf_add_options_page( array( | |
'page_title' => 'Home Page Sliders', | |
'menu_title' => 'Sliders', | |
'menu_slug' => 'home-page-sliders', | |
'capability' => 'edit_posts', | |
'icon_url' => 'dashicons-images-alt2', | |
'position' => 7 | |
) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Subpages don't have icons in WordPress