Warning: Declaration of PortfolioWalker::start_el(&$output, $category, $depth, $args) should be compatible with Walker_Category::start_el(&$output, $data_object, $depth = 0, $args = Array, $current_object_id = 0) in /home/webundso/public_html/webundso.ch/wp-content/themes/rivers/library/includes/portfolio_walker.php on line 4

Warning: Declaration of PortfolioWalker2::start_el(&$output, $category, $depth, $args) should be compatible with Walker_Category::start_el(&$output, $data_object, $depth = 0, $args = Array, $current_object_id = 0) in /home/webundso/public_html/webundso.ch/wp-content/themes/rivers/library/includes/portfolio_walker.php on line 37
WordPress: Design/Menü für Redakteur zugänglich machen - webundso GmbH - Internet-Agentur für TYPO3 und WordPress

WordPress: Design/Menü für Redakteur zugänglich machen

Im functions.php des aktuellen Themes müssen folgende Zeilen eingetragen werden:

1
2
$role_object = get_role( 'editor' );
$role_object->add_cap( 'edit_theme_options' );

Die nicht benötigten Menüpunkte können dann z.B. mit Adminimize ausgeblendet werden.

Kommentar (1)

  1. Best Of WordPress Code Snippets Collection – 3 - JustWP.org" rel="external nofollow">Best Of WordPress Code Snippets Collection – 3 - JustWP.org Antworten

    Feb. 10, 2015 at 01:32

    […] Snippet Source/Credit: Webundso […]

Kommentieren?