brunolopes446
Forum Replies Created
-
Forum: Plugins
In reply to: [Private Content] private for more than one "login_name"there you have! modified the prive-content.php file of the plugin, and it’s working like a charm! you have to provide the list of users separated by ;
like this: recipient=”user1;user2″
case 'none' : $current_user = wp_get_current_user(); $users1 = explode(";", $recipient); $rcpt=null; for($i=0;$i<count($users1);$i++) { if ( $current_user->user_login == $users1[$i] ) { $rcpt = $users1[$i]; break; } } if ( $rcpt != null ) { $text = $container_open . ' class="private user-content user-only ' . esc_attr( $rcpt ) . '-only"' . $align_style . '>' . $content . $container_close; } else { if ( $alt ) { $text = $container_open . ' class="private alt-text"' . $align_style . '>' . $alt . $container_close; } } break;
Forum: Plugins
In reply to: [Private Content] private for more than one "login_name"I have exactly the same question! Have you found a solution for this?
Forum: Themes and Templates
In reply to: [Nirvana] Menu browsing bug on MobileWell, actually I solved it by injecting this javascript in the “CUSTOM JAVASCRIPT” field of the Nirvana Settings:
var _hack_nirvana = document.getElementsByClassName("page_item_has_children"); for (var i in _hack_nirvana) { var item = _hack_nirvana[i]; if (item.firstChild) { item.firstChild.removeAttribute("href"); } }
Forum: Themes and Templates
In reply to: [Nirvana] Menu browsing bug on MobileIt happens on at least three different mobile devices. It’s not a cache-related problem.
So if you look at the Gif, how can I choose any sub-item from the menu “Cursos”?
It opens imediately the page “Cursos”, which I dont want. I want to be able to choose a sub-item, like on this picture:
https://s9.postimg.org/mmblm0u3j/image.pngForum: Themes and Templates
In reply to: [Nirvana] Menu browsing bug on Mobilebump
Forum: Themes and Templates
In reply to: [Nirvana] Menu browsing bug on MobileI would like to have enough time to choose a sub-item from the menu “Cursos”, instead of loading the page “Cursos”.
Forum: Themes and Templates
In reply to: [Nirvana] Menu browsing bug on MobileThere you have a Gif. If you pay attention, you’ll notice that I choose the option “Cursos” and it starts immediatly loading the page, not giving me enough time to choose any sub-item of the menu.
Thank you