ebarcena
Forum Replies Created
-
Forum: Plugins
In reply to: [Bilingual Linker] How can add the Bilingual Linker to a menu?Hey thanks Yannick!
No rush, I can wait. The site is still a being worked on, in the meanwhile the sidebar language switcher will suffice.
Thanks again.
Forum: Plugins
In reply to: [Bilingual Linker] How can add the Bilingual Linker to a menu?Yes I did. In fact, I’m using it successfully on the sidebar but I need it placed in that top navigation.
Thanks for your help.
Forum: Plugins
In reply to: [Bilingual Linker] How can add the Bilingual Linker to a menu?No output at all. The list item comes out blank. Here is a screenshot while inspecting using firebug:
https://www.dropbox.com/s/4z20kys8gs0prdl/Screenshot%202014-08-13%2018.17.31.png
This is the code I’m trying to use:
/*-----------------------------------------------------------------------------------*/ /* Adds menu items to top navigation */ /*-----------------------------------------------------------------------------------*/ add_filter('wp_nav_menu_items','search_and_lang', 10, 2); function search_and_lang( $nav, $args ) { if( $args->theme_location == 'top-menu' ) return $nav." <li class='social'><a href='https://www.facebook.com/diosesoficial' class='facebook' title='Facebook'></a></li> <li class='social'><a href='https://www.twitter.com/diosesoficial' class='twitter' title='Twitter'></a></li> <li class='social'><a href='https://www.youtube.com/diosesoficial' class='youtube' title='YouTube'></a></li> <li class='social'><a href='https://instagram.com/diosesoficial' class='instagram' title='Instagram'></a></li> <li class='social'><a href='https://plus.google.com/104359249738911754009/' class='googleplus' title='Google+'></a></li> <li class=''><?php the_bilingual_link(); ?></li> "; return $nav; }
Thanks!
Hello guys,
I just decided to drop the plugin since I’m using a script to randomly display background images in the header in every pageload.
The site I’m currently working on (https://diosesdeltiempo.com/) behaves very similar. If I put the wrong class for the menu container the pages will ajax correctly but the menu’s active state wont work. When I put the correct class for the menu container the menu behaves correctly but ajaxing will only work every other time. It will ajax correctly one time and it will load the page the other time.
I tried editing the ajaxify.js file like dimmy1985 suggested, and even tried upgrading jQuery to the latest but still no luck.
Any suggestions will be very appreciated.
Thanks
Forum: Plugins
In reply to: [Clicky by Yoast] Disable Clicky in toolbarHey mcgorie this might help you in the meanwhile. It actually worked out better for me. Paste the following code in your functions.php file:
add_action('after_setup_theme', 'remove_admin_bar'); function remove_admin_bar() { if (!current_user_can('administrator') && !is_admin()) { show_admin_bar(false); } }
It will completely remove the toolbar to everyone except site administrators.
Forum: Plugins
In reply to: [Clicky by Yoast] Disable Clicky in toolbarYes I’m looking for a solution for this as well. Regardless of the theme, it seem that anyone who is registered on the site will get the stats in the toolbar. Site stats should be private and only available to site owners/administrators or at least it should be a default option in the plugin’s settings.
Is there a temporal hack I can use to disable stats to any non-administrator?
Thanks!
Forum: Plugins
In reply to: [Social Connect] [Plugin: Social Connect] Twitter Login don't workThanks a lot raptusyu! That did the trick ??
Forum: Plugins
In reply to: [Social Connect] [Plugin: Social Connect] Twitter Login don't workHey guys I tried raptusyu’s solution since they seem to work for FATIMA124 but it didn’t work for me. I get the followgin error after editing the callback.php fiel:
Fatal error: Call to undefined function phprequire_once() in /home/mydomain/public_html/wp-content/plugins/social-connect/twitter/callback.php on line 1
any suggestions? thanks