Skip to content

Instantly share code, notes, and snippets.

@joedooley
Last active November 1, 2015 01:09
Show Gist options
  • Save joedooley/316d1d2d5a3b775fd1c7 to your computer and use it in GitHub Desktop.
Save joedooley/316d1d2d5a3b775fd1c7 to your computer and use it in GitHub Desktop.
Create a Theme Options Page
<?php
// ACF Theme Options Page
if( function_exists('acf_add_options_page') ) {
$acf_theme_settings = acf_add_options_page(array(
'page_title' => 'Theme General Settings',
'menu_title' => 'Theme Settings',
'menu_slug' => 'theme-general-settings',
'capability' => 'edit_posts',
'redirect' => false
));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment