Home › Forums › Add-ons › Options Page › Options Page Icon › Reply To: Options Page Icon
Adding more detail to what @owldesign said:
Here is the full list of WP icons one can use to changed the icon of an option page.
When adding a Option page through your functions.php:
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', // Add this line and replace the second inverted commas with class of the icon you like
'position' => 7
) );
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.