Viewing 23 posts - 1 through 23 (of 23 total)
  • Author
    Posts
  • #234197

    How do I insert the Partner/Logo Element can’t find it among the Advanced Layout Builder elements.
    Please let me know.

    #234204

    Hey!

    If you are using the latest version of Enfold it should be at:
    Media Elements > Partner/Logo Element

    Cheers!
    Josue

    #235314

    Ok. Is there a guide for the update somewhere?
    Cause I have not received any update notification in the dashboard.

    #235351

    Hey!

    I recommend to use ftp to update the theme. A tutorial video can be found here: https://vimeo.com/channels/aviathemes/67209750

    Regards,
    Peter

    #235568

    Is there another way than to use ftp?

    #235757

    Hey!

    Try updating via Enfold > Theme Update.

    Regards,
    Josue

    #237273

    Updated 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.

    #237276

    Hey!

    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! 
    Josue

    #237280

    It 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.

    #237335

    Hey!

    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!
    Ismael

    #237627

    Hey!

    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.

    #237942

    Hi,

    Can you create an administrator account and post it here as a private reply?

    Regards,
    Josue

    #237995

    Sure what is you email?

    #238535

    Hi!

    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!
    Peter

    #238572

    Ok. 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?

    http://www.malmogames.com

    Thanks!

    #238590

    Hey!

    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!
    Peter

    #238600

    The 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.

    #238604

    Hi!

    Yes, just post the credentials as private reply.

    Best regards,
    Peter

    #238606
    This reply has been marked as private.
    #239165

    Hey!

    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!
    Peter

    #239238

    Thank 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?

    #239245

    Hi!

    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,
    Ismael

    #239284

    Thank you for all your help!

    Now everything is sorted, big thanks.

Viewing 23 posts - 1 through 23 (of 23 total)
  • The topic ‘Insert Partner/Logo Element?’ is closed to new replies.