Forum Replies Created

Viewing 30 posts - 3,211 through 3,240 (of 9,352 total)
  • Author
    Posts
  • in reply to: Menu #276867

    Hi!

    1) Please make sure you’re using the latest version of Enfold 2.8.1. If not please update the theme.

    2) You posted the username but not the password and we can’t login without the password.

    Cheers!
    Peter

    in reply to: Enfold – messages from plugin antivirus #276600

    Hey!

    All of these errors are false positives and there’s nothing we can do about them – I’m sorry. The base64_decode() function can be used to hide malicious code but it’s also a common php function which is not bad/evil per se. I.e. LayerSlider uses this function to encode and decode the slider demo data.

    Cheers!
    Peter

    in reply to: Please contribute and translate Enfold #276470

    Hi!

    Thanks – we’ll include it with the next update.

    Regards,
    Peter

    Hi!

    Yes, the image post format doesn’t make sense without an image ;)

    Cheers!
    Peter

    Hey Sjaak!

    Please update to WPML 3.1.5. 3.1.4 is not compatible with WP3.9.1.

    Cheers!
    Peter

    in reply to: Bug: Import Theme Settings File in v2.8.1 #276464

    Hi!

    Ah, ok – now I understand the issue. I’ll try to reproduce it on my test servers and forward the details to Kriesi.

    Cheers!
    Peter

    in reply to: documentation download #276462

    Hi itmonitoring!

    Please try to re-download the zip file from themeforest.net – maybe the documentation folder is damaged somehow. Then unzip the entire folder and click on the html document ( documentation\documentation.html ) to open it. You can also view the online documentation here: http://kriesi.at/documentation/enfold/ (we do not provide an offline version but you can try to save it as pdf by using a browser extension).

    Regards,
    Peter

    in reply to: Bug: Import Theme Settings File in v2.8.1 #276454

    Hi!

    Thanks – we’ll see if we can change this somehow but tbh I feel this is a minor issue since saving the options after the import is recommended anyway.

    Best regards,
    Peter

    in reply to: Contact form is not sending messages #276426

    Hi!

    The login credentials don’t work for me.

    Cheers!
    Peter

    in reply to: Post Slider #276425

    Hey!

    Great, I’ll leave this thread open in case it doesn’t work.

    Cheers!
    Peter

    Hi Adenadoume!

    Yes, open up wp-content/themes/enfold/includes/helper-post-format.php and replace:

    
    	function avia_image_slideshow_filter($current_post)
    	{
    
    		$prepend_image = get_the_post_thumbnail(get_the_ID(), 'large');
    		$image = "";
    
    		if(!$prepend_image)
    		{
    			$image		= avia_regex($current_post['content'],'image');
    			if(is_array($image))
    			{
    				$image = $image[0];
    				$prepend_image = '<div class="avia-post-format-image"><img src="'.$image.'" alt="" title ="" /></div>';
    			}
    			else
    			{
    				$image		= avia_regex($current_post['content'],'<img />',"");
    				if(is_array($image))
    				{
    					$prepend_image = '<div class="avia-post-format-image">'.$image[0]."</div>";
    				}
    			}
    		}
    		else
    		{
    			$prepend_image = '<div class="avia-post-format-image">'.$prepend_image."</div>";
    		}
    
    			if(!empty($prepend_image) && is_string($prepend_image))
    			{
    				if($image) $current_post['content'] = str_replace($image, "", $current_post['content']);
    				$current_post['before_content'] = $prepend_image;
    				$current_post['slider']  = "";
    			}
    
    		return avia_default_title_filter($current_post);
    	}
    

    with

    
    	function avia_image_slideshow_filter($current_post)
    	{
    
    		$prepend_image = get_the_post_thumbnail(get_the_ID(), 'large');
            if($prepend_image)
            {
                $thumb_id = get_post_thumbnail_id();
                $thumb_url = wp_get_attachment_image_src($thumb_id,'full', false);
            }
    
    		$image = "";
    
    		if(!$prepend_image)
    		{
    			$image		= avia_regex($current_post['content'],'image');
    			if(is_array($image))
    			{
    				$image = $image[0];
    				$prepend_image = '<div class="avia-post-format-image"><a href="'.$image.'" class="lightbox"><img src="'.$image.'" alt="" title ="" /></a></div>';
    			}
    			else
    			{
    				$image		= avia_regex($current_post['content'],'<img />',"");
    				if(is_array($image))
    				{
    					$prepend_image = '<div class="avia-post-format-image"><a href="'.$image[0].'" class="lightbox">'.$image[0]."</a></div>";
    				}
    			}
    		}
    		else
    		{
    			$prepend_image = '<div class="avia-post-format-image"><a href="'.$thumb_url[0].'" class="lightbox">'.$prepend_image."</a></div>";
    		}
    
    			if(!empty($prepend_image) && is_string($prepend_image))
    			{
    				if($image) $current_post['content'] = str_replace($image, "", $current_post['content']);
    				$current_post['before_content'] = $prepend_image;
    				$current_post['slider']  = "";
    			}
    
    		return avia_default_title_filter($current_post);
    	}
    

    You can also insert the modified function into your child theme functions.php file.

    2) I tested the option on my test server and it works just fine. Make sure that wp-content/themes/enfold/includes/loop-index.php is up to date and contains this code:

    
    if(is_single($initial_id) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) $current_post['slider'] = "";
    

    If not replace:

    
    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    

    with

    
    $current_post['slider']  	= get_the_post_thumbnail($current_post['the_id'], $size);
    if(is_single($initial_id) && get_post_meta( $current_post['the_id'], '_avia_hide_featured_image', true ) ) $current_post['slider'] = "";
    

    Cheers!
    Peter

    in reply to: Wrong menu path in URL bar, related to parent page #276417
    This reply has been marked as private.
    in reply to: HTML bug in Customize > Navigation #276413

    Hi!

    Thank you for the bug report. We’ll fix it with the next update. If you need a quick fix open up enfold/functions.php and replace:

    
    
    /*
     * Activate native wordpress navigation menu and register a menu location
     */
    if(!function_exists('avia_nav_menus'))
    {
    	function avia_nav_menus()
    	{
    		global $avia_config;
    
    		add_theme_support('nav_menus');
    		foreach($avia_config['nav_menus'] as $key => $value){ register_nav_menu($key, THEMENAME.' '.$value); }
    	}
    
    	$avia_config['nav_menus'] = array(	'avia' => 'Main Menu' ,
    										'avia2' => 'Secondary Menu <br/><small>(Will be displayed if you selected a header layout that supports a submenu <a target="_blank" href="'.admin_url('?page=avia#goto_header_layout').'">here</a>)</small>',
    										'avia3' => 'Footer Menu <br/><small>(no dropdowns)</small>'
    									);
    	avia_nav_menus(); //call the function immediatly to activate
    }
    

    with

    
    /*
     * Activate native wordpress navigation menu and register a menu location
     */
    if(!function_exists('avia_nav_menus'))
    {
    	function avia_nav_menus()
    	{
    		global $avia_config, $wp_customize;
    
    		add_theme_support('nav_menus');
    		
    		foreach($avia_config['nav_menus'] as $key => $value)
    		{
    			//wp-admin\customize.php does not support html code in the menu description - thus we need to strip it
    			$name = (!empty($value['plain']) && !empty($wp_customize)) ? $value['plain'] : $value['html'];
    			register_nav_menu($key, THEMENAME.' '.$name);
    		}
    	}
    
    	$avia_config['nav_menus'] = array(	'avia' => array('html' => __('Main Menu', 'avia_framework')),
    										'avia2' => array(
    													'html' => __('Secondary Menu <br/><small>(Will be displayed if you selected a header layout that supports a submenu <a target="_blank" href="'.admin_url('?page=avia#goto_header_layout').'">here</a>)</small>', 'avia_framework'),
    													'plain' => __('Secondary Menu - will be displayed if you selected a header layout that supports a submenu', 'avia_framework')),
    										'avia3' => array(
    													'html' => __('Footer Menu <br/><small>(no dropdowns)</small>', 'avia_framework'),
    													'plain' => __('Secondary Menu (no dropdowns)', 'avia_framework'))
    									);
    
    	avia_nav_menus(); //call the function immediatly to activate
    }
    
    

    Cheers!
    Peter

    in reply to: Footer changes after update #276406

    Hey!

    One possible reason could be that a plugin tries to register widget areas during the update process. Basically the issue is caused by the widget area ids (which may change if the number of widgets areas changes during the update process) and then you need to reconfigure the widget areas. You can use the “Inactive Widget” section to temporarily store the widgets and to rearrange them before/after you update the theme.

    If you want to avoid that the widget area ids are affected by the update try to use ftp: https://vimeo.com/channels/aviathemes/67209750 to upload the new theme files. Afaik wordpress won’t load any php code during the ftp update and the widget area order and ids shouldn’t change too.

    Best regards,
    Peter

    in reply to: Diverse Fragen zum Theme Enfold #276399

    Hi!

    Leider scheint bei manchen Servern die Envato API nicht richtig zu funktionieren und als Folge davon funktioniert auch die Suche nach neuen Updates nicht ordnungsgemäß. Wie melonmelon würde ich aber aus diversen Gründen ein FTP Update empfehlen: https://vimeo.com/channels/aviathemes/67209750 – dieses ist sicher, da man vorher ein Backup der Dateien machen kann und man hat mehr Kontrolle über den Aktualisierungsprozess.

    Best regards,
    Peter

    Hey!

    After checking the code in wp-content/plugins/wpml-translation-management/res/js/scripts.js I think this code:

    
                jQuery(document).delegate('.icl_tm_auto_suggest_dd', 'keydown', function(e){
                    if(e.which == 13){
                        icl_tm_users_quick_search.select(jQuery(this).val());
                        e.preventDefault();
                    }
                });
    

    is the culprit. If I remove the e.preventDefault(); line like

    
                jQuery(document).delegate('.icl_tm_auto_suggest_dd', 'keydown', function(e){
                    if(e.which == 13){
                        icl_tm_users_quick_search.select(jQuery(this).val());
                    }
                });
    

    the enter key starts to work. I can’t tell you why this line breaks our theme though because we don’t add the icl_tm_auto_suggest_dd class to any of our theme elements. Maybe try to contact the WPML dev team and ask them to check the js code.

    Cheers!
    Peter

    Hi leoncool!

    Insert this code into your child theme functions.php file or enfold/functions.php:

    
    add_action('after_setup_theme','avia_remove_main_menu_flags');
    function avia_remove_main_menu_flags(){
            remove_filter( 'wp_nav_menu_items', 'avia_append_lang_flags', 20, 2 );
            remove_filter( 'avf_fallback_menu_items', 'avia_append_lang_flags', 20, 2 );
            remove_action( 'avia_meta_header', 'avia_wpml_language_switch', 10);
    }
    

    – it will remove the theme flags.

    Regards,
    Peter

    in reply to: Cart in menu #276208

    Hey SomeBloke!

    You could add a cart page link to the menu (Appearance > Menus). If you want to display an icon instead of the word “cart” insert this code into the menu title field:

    
    <span aria-hidden="true" data-av_icon="" data-av_iconfont="entypo-fontello"></span>
    

    Cheers!
    Peter

    in reply to: Problem with lightbox in woocommerce #276207

    Hi!

    The login credentials don’t work for me. Something (custom code or a plugin) adds a meta tag at the very top of the html document and breaks the html doctype definition. The invalid doctype then breaks the lightbox script. Make sure that

    
    <!DOCTYPE html>
    

    is the first line/code in the html document and that i.e.:

    
    <meta name="description" content="The Gybe Group combines executive coaching, consulting and training to help our clients succeed. We take a balanced approach to evaluating your unique situation providing you with tools and actions, not talk. Your success is defined by you. We partner together to make it happen.">
    

    is added below the

    
    <meta charset="UTF-8"/>
    

    tag.

    Regards,
    Peter

    in reply to: Promobox Hintergrund semitransparent #276164

    Hey!

    Versucht diesen Code in das Quick CSS Feld einzufügen und ändert den Farbwert. Wenn ihr nur einen HEX Farbwert habt, so könnt ihr mit: http://hex2rgba.devoth.com/ diesen Wert in rgba konvertieren:

    
    #top .main_color .av_promobox{
    background-color: rgba(255,255,255,0.7); 
    }
    

    Regards,
    Peter

    in reply to: Widget Navigation im Footerbereich #276163

    Hi!

    Ihr solltet mit diesem Code den Text nach rechts schieben können:

    
    #footer .flex_column  .avia_widget_section{
    text-align: right;
    }
    

    Best regards,
    Peter

    in reply to: ajax search won't work with admin via ssl #275582

    Hi pgps!

    Your best bet is to contact the host/server administrator. I found an useful article here: http://www.d-mueller.de/blog/cross-domain-ajax-guide/ and here: http://stackoverflow.com/questions/10640596/header-set-access-control-allow-origin-in-htaccess-doesnt-work (htaccess configuration). Note that your current configuration breaks all ajax calls (WooCommerce, etc. ajax calls too) and it’s not a theme issue. If you want to deactivate the ajax search (and you don’t need to use any ajax calls from the frontend with WooCommerce, etc) you can add this code to the child theme functions.php file:

    
    add_filter('avf_frontend_search_form_param', 'avia_deactivate_ajax_search',10,1);
    function avia_deactivate_ajax_search($params)
    {
    	$params['ajax_disable'] = true;
    	return $params;
    }
    

    Cheers!
    Peter

    in reply to: Widget Navigation im Footerbereich #275576

    Hey!

    Wenn ihr die Links nebeneinander darstellen wollt müsst ihr auch die Anzahl der Widget Areas im Fußbereich reduzieren – zB auf 1 oder 2 (Enfold > Theme Options > Footer Layout > Footer Columns)

    Regards,
    Peter

    in reply to: Trouble with LayerSlider WP #275555

    Hey frysjo!

    Please go to the slider settings page: http://www.clipular.com/c/6547865740509184.png?k=3D_NuQNDjRanSBIrSczjyfoyzrs and try to decrease the slider height value.

    Best regards,
    Peter

    in reply to: Images shifted after update #275553

    Hi simonac!

    Please try to insert this code into the quick css field:

    
    .avia-mozilla .avia-image-container-inner, .avia_image {
        max-width: 100%;
    }
    

    Cheers!
    Peter

    in reply to: Blog Posts elements and "sticky" posts #275552

    Hey mantisjitsu!

    Please create me an admin account and post the login credentials as private reply – I’ll check the configuration.

    Regards,
    Peter

    in reply to: wpml switcher dropdown #275550

    Hi!

    Great :)

    Cheers!
    Peter

    in reply to: Related posts based on category #275549

    Hi!

    Great, glad it works :)

    Best regards,
    Peter

    in reply to: *ger* Beschreibung eines Bildes unter der Lightbox #275547

    Hey!

    Normally the post title will be used as image caption (like here: http://test.inoplugs.com/this-is-a-nice-post-2/ ) and the image alt attribute content will be used for the lightbox title. I’m not sure why the post title is not used for the image description on your website tough. Maybe a custom child theme template overwrites the default loop-index.php template?

    If you want to use the image description for the lightbox description open up wp-content/themes/enfold/includes/loop-index.php and replace:

    
     if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
    

    with

    
    		$image_description = get_post_meta(get_post_thumbnail_id(), '_wp_attachment_image_alt', true);
    		if(empty($image_description)) $attachment = get_post(get_post_thumbnail_id());
    		if(empty($image_description) && is_object($attachment))
    		{
    			$image_description = $attachment->post_excerpt == "" ? $attachment->post_content : $attachment->post_excerpt;
    			$image_description = trim(strip_tags($image_description));
    		}
    
    		if(!empty($image_description)) $featured_img_desc = $image_description;
    		if($slider) $slider = '<a href="'.$link.'" title="'.$featured_img_desc.'">'.$slider.'</a>';
    

    Cheers!
    Peter

    in reply to: How do I edit search page? #275543

    Hi batesunited!

    Just create an “includes” folder in your child theme directory and copy the modified loop-search.php into this folder – i.e. the file path should look like: wp-content/themes/enfold/includes/loop-search.php

    If you want to remove the excerpt delete this code located in loop-search.php:

    
    
                <?php
                    echo '<div class="entry-content" '.avia_markup_helper(array('context' => 'entry_content','echo'=>false)).'>';
                    $excerpt = trim(get_the_excerpt());
                    if(!empty($excerpt))
                    {
                        the_excerpt();
                    }
                    else
                    {
                        $excerpt = strip_shortcodes( get_the_content() );
                        $excerpt = apply_filters('the_excerpt', $excerpt);
                        $excerpt = str_replace(']]>', ']]>', $excerpt);
                        echo $excerpt;
                    }
                    echo '</div>';
                ?>
    

    If you want to remove the sidebar add this code into the child theme functions.php file:

    
    add_action('wp_head','avia_remove_search_sidebar', 10);
    
    function avia_remove_search_sidebar()
    {
    			global $avia_config;
    			$result = "fullsize";
    			$avia_config['layout']['current'] = $avia_config['layout'][$result];
    			$avia_config['layout']['current']['main'] = $result;
    }
    

    Best regards,
    Peter

Viewing 30 posts - 3,211 through 3,240 (of 9,352 total)