How change menu for each user in plugin?

Create a menu for each type of user in Dashboard >> Appearence >> Menus >> create a new menu (eg http://example.com/wp-admin/nav-menus.php?action=edit&menu=0) Then add a function to your theme’s functions.php to switch the menus. Something like as follows: add_filter(‘wp_nav_menu_args’, ‘wp_nav_menu_args_filter’); function wp_nav_menu_args_filter($args = array()) { if (is_user_logged_in) { // Menu for Logged In Users $args[‘menu’] = … Read more

How to customize the gallery shortcode in WordPress?

You can do that using the default gallery features already included in WordPress or install the Jetpack plugin which enables you to create tiled galleries. http://jetpack.me/support/tiled-galleries/ WordPress also includes a built in slide show feature and you can add thumbnail images underneath a full width image like what you linked to.

Manipulated shortcode output

It looks like you are getting caught in some wpautop() replacements. Many people find the defualt WordPress wpautop() filter to be frustrating. So often in highly customized themes, there is a homegrown replacement. For example, the theme you mentioned has a replacememt for some of the default WordPress filters. You can see a thread about … Read more

How to rewrite rules for WP-security in Nginx?

Please try this: 1) Save the rewrite rules to the file: /absolute/path/to/wp_security.conf. 2) Then include it in your NginX configuration file, with the line: include /absolute/path/to/wp_security.conf; and place it in the server context: server { #… cut … ## # include the Better WP Security configuration file ## include /absolute/path/to/wp_security.conf; location / { try_files $uri … Read more