Skip to main content

Home/ Wordpress/ Group items tagged Codex

Rss Feed Group items tagged

Vernon Fowler

Function Reference/wp register sidebar widget « WordPress Codex - 0 views

  •  
    "wp_register_sidebar_widget( 'your_widget_1', // your unique widget id 'Your Widget', // widget name 'your_widget_display', // callback function array( // options 'description' => 'Description of what your widget does' ) );"
Vernon Fowler

Post Formats « WordPress Codex - 0 views

  •  
    "Post Formats is a theme feature introduced with Version 3.1. A Post Format is a piece of meta information that can be used by a theme to customize its presentation of a post. The Post Formats feature provides a standardized list of formats that are available to all themes that support the feature. Themes are not required to support every format on the list. New formats cannot be introduced by themes nor even plugins. The standardization of this list provides both compatibility between numerous themes and an avenue for external blogging tools to access this feature in a consistent fashion. "
Luciano Ferrer

Template Hierarchy « WordPress Codex - 10 views

  •  
    "WordPress Templates fit together like the pieces of a puzzle to generate the web pages on your WordPress site. Some templates (the header and footer template files for example) are used on all the web pages, while others are used only under specific conditions. "
Luciano Ferrer

Template Tags/register nav menu « WordPress Codex - 5 views

  •  
    "Registers a menu location to use with navigation menus. Even if you explicitly set theme support for navigation menus, this function must be in your theme's functions file for WordPress to recognize navigation menu support in your theme. "
Luciano Ferrer

widgets - Give Editor Access To Sidebar - WordPress Development Stack Exchange - 3 views

  •  
    "The edit_theme_options capability should allow the user to edit the sidebar as described on this page : http://codex.wordpress.org/Appearance_Widgets_SubPanel Code to add to functions.php $role = get_role('editor'); $role->add_cap('edit_theme_options'); Edit: This should work to prevent editor accessing themes or menus function custom_admin_menu() { $user = new WP_User(get_current_user_id()); if (!empty( $user->roles) && is_array($user->roles)) { foreach ($user->roles as $role) $role = $role; } if($role == "editor") { remove_submenu_page( 'themes.php', 'themes.php' ); remove_submenu_page( 'themes.php', 'nav-menus.php' ); } } add_action('admin_menu', 'custom_admin_menu'); I haven't had chance to test this, but it only removes them from the menu they may still be able to access them by typing in the URL directly."
pcactive

Administration Screens « WordPress Codex - 0 views

    • pcactive
       
      get genesis expander tool for editing themes
kie guy

wplookup.com - Wordpress Function/Tag Lookup Tool - 0 views

  •  
    An alternate, fast, accurate search engine for looking up WordPress functions. Highlighted on the WordPress Weekly podcast.
« First ‹ Previous 41 - 50 of 50
Showing 20 items per page