-
AuthorPosts
-
March 8, 2014 at 6:40 pm #234197
How do I insert the Partner/Logo Element can’t find it among the Advanced Layout Builder elements.
Please let me know.March 8, 2014 at 7:08 pm #234204Hey!
If you are using the latest version of Enfold it should be at:
Media Elements > Partner/Logo ElementCheers!
JosueMarch 11, 2014 at 9:51 am #235314Ok. Is there a guide for the update somewhere?
Cause I have not received any update notification in the dashboard.March 11, 2014 at 10:37 am #235351Hey!
I recommend to use ftp to update the theme. A tutorial video can be found here: https://vimeo.com/channels/aviathemes/67209750
Regards,
PeterMarch 11, 2014 at 3:56 pm #235568Is there another way than to use ftp?
March 11, 2014 at 6:50 pm #235757Hey!
Try updating via Enfold > Theme Update.
Regards,
JosueMarch 13, 2014 at 11:53 pm #237273Updated the theme via ftp. Thanks for all support!
But now I can’t get the language switcher in the menu to display only flags. Please assist me with this.
Thanks.
March 13, 2014 at 11:58 pm #237276Hey!
Try adding this code to the Quick CSS:
.menu-item-language a { font-size: 0 !important; } .menu-item-language img{ position: relative; top: 5px; }
Cheers!
JosueMarch 14, 2014 at 12:10 am #237280It just removed the name of the language. The flags are still in a drop down menu, before the update I had just the flags next to each other.
March 14, 2014 at 2:58 am #237335Hey!
Can you please post the link to the website? Another user reported this:
========
For WPML, you need to reset the placement of language flags. I had to do this for each of my language websites. Go to ENFOLD (ES) > HEADER > EXTRA ELEMENT TAB > (Header Secondary Menu: Secondary Menu in to bar at the right)
========Dude already added a patch that will display the language selectors correctly.
Cheers!
IsmaelMarch 14, 2014 at 2:21 pm #237627Hey!
Here is the website: http://www.malmogames.com
Pre update I had only flags displaying in the menu and on mobile devices it was in the scrolling menu as text.
Also the portfolio items does not work, when clicking an item it just shows “Item not found”. Which makes no sense.
- This reply was modified 10 years, 8 months ago by SoderbergManagement.
March 15, 2014 at 6:20 am #237942Hi,
Can you create an administrator account and post it here as a private reply?
Regards,
JosueMarch 15, 2014 at 10:44 am #237995Sure what is you email?
March 17, 2014 at 8:59 am #238535Hi!
For a quick fix open up wp-content/themes/enfold/includes/helper-main-menu.php and replace:
if(!empty($nav))
with
if(!empty($nav) || empty($nav))
and make sure the top menu is active. The next update will enable you to display the flags in the main navigation if the secondary menu is deactivated or to display the flags in the top bar even if no secondary menu is selected.
Cheers!
PeterMarch 17, 2014 at 9:55 am #238572Ok. That didn’t work.
Any other suggestions? I need to display only the flags in the meny without any dropdown menu for the flags. Only the flags next to each other.
Also my portfolio items does not show on the website. Why is this?
Thanks!
March 17, 2014 at 10:18 am #238590Hey!
1) Ok, then remove the flags from the main menu (you can configure this on the WPML option page) and insert this code at the very bottom of functions.php:
if(!function_exists('avia_append_lang_flags')) { //first append search item to main menu add_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 ); add_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 ); function avia_append_lang_flags( $items, $args ) { if ((is_object($args) && $args->theme_location == 'avia')) { global $avia_config, $sitepress; if(empty($avia_config['wpml_language_menu_position'])) $avia_config['wpml_language_menu_position'] = apply_filters('avf_wpml_language_switcher_position', 'main_menu'); if($avia_config['wpml_language_menu_position'] != 'main_menu') return $items; $languages = icl_get_languages('skip_missing=0&orderby=custom'); if(is_array($languages)) { foreach($languages as $lang) { $currentlang = (ICL_LANGUAGE_CODE == $lang['language_code']) ? 'avia_current_lang' : ''; if(is_home() || is_front_page()) $lang['url'] = $sitepress->language_url($lang['language_code']); $items .= "<li class='language_".$lang['language_code']." $currentlang'><a href='".$lang['url']."'>"; $items .= " <span class='language_flag'><img title='".$lang['native_name']."' src='".$lang['country_flag_url']."' /></span>"; $items .= "</a></li>"; } } } return $items; } }
to add the flags to the main menu.
2) Maybe you didn’t configure or translate the portfolio slugs – see: http://kriesi.at/documentation/enfold/translating-the-portfolio-slug-with-wpml/
Cheers!
PeterMarch 17, 2014 at 10:32 am #238600The whole theme crashed when I inserted that code. Had to re upload the functions.php via ftp.
If I create an admin account for you. Can you log in and fix this for me?
Thanks.
March 17, 2014 at 10:44 am #238604Hi!
Yes, just post the credentials as private reply.
Best regards,
PeterMarch 17, 2014 at 10:47 am #238606This reply has been marked as private.March 18, 2014 at 7:39 am #239165Hey!
I added the code to the config.php file. The next version will include the code and you don’t need to modify the theme.
Cheers!
PeterMarch 18, 2014 at 9:49 am #239238Thank you!
I could use some assistance with getting the portfolio to function again. See what happens when you click an item http://malmogames.com/athletes/
Can you help me with this as well?
March 18, 2014 at 9:59 am #239245Hi!
Please flush the permalink settings. Go to Settings > Permalink then click the “Save” button once. That should fix the 404 error for portfolio items.
Regards,
IsmaelMarch 18, 2014 at 10:56 am #239284Thank you for all your help!
Now everything is sorted, big thanks.
-
AuthorPosts
- The topic ‘Insert Partner/Logo Element?’ is closed to new replies.