Archive | Functions RSS feed for this section

add_thickbox

Enqueues the default ThickBox js and css.If any of the settings need to be changed, this can be done with another js file similar to media-upload.js and theme-preview.js. That file should require array(‘thickbox’) to ensure it is loaded after.

375

Continue reading →

add_theme_support

Allows a theme to register its support of a certain featureMust be called in the theme’s functions.php file to work. If attached to a hook, it must be after_setup_theme. The init hook may be too late for some features.

373

Continue reading →

add_theme_page

Add sub menu page to the themes main menu.This function takes a capability which will be used to determine whether or not a page is included in the menu.

371

Continue reading →

add_submenu_page

Add a sub menu pageThis function takes a capability which will be used to determine whether or not a page is included in the menu.

369

Continue reading →