Home Forums Theme support Portfolio URL, Image caption, Menu Button Questions Reply To: Portfolio URL, Image caption, Menu Button Questions


1. Please open your functions.php in the root of the theme and add this code at the end:

function add_custom_rewrite_rule() { 
    if( ($current_rules = get_option('rewrite_rules')) ) { 
        foreach($current_rules as $key => $val) {
            if(strpos($key, 'portfolio') !== false) {
                add_rewrite_rule(str_ireplace('portfolio', 'countries', $key), $val, 'top');   
add_action('init', 'add_custom_rewrite_rule');

This should do the job.

2. Hm, without massive changes in the PHP code it’s not possible. This kind of gallery was only to have a fast solution if you need a gallery.

3. You can try the following css code, just add it at the end of your style.css file:

#header ul#menu > li > a {
border:0px none;

#header ul#menu > li.current-menu-ancestor > a,
#header ul#menu > li.current-menu-parent > a,
#header ul#menu > li.current_page_parent > a,
#header ul#menu > li.current_page_ancestor > a,
#header ul#menu > li.current-menu-item > a,
#header ul#menu > li.current_page_item > a {
border:2px solid;