Forum Replies Created

Viewing 30 posts - 4,051 through 4,080 (of 9,352 total)
  • Author
    Posts
  • in reply to: Inserting portfolio #252477

    Hey!

    Please update the theme to Enfold 2.6.4. Afaik Kriesi fixed some ipad issues and these fixes may help you too.

    Cheers!
    Peter

    Hey!

    I fixed it. The code line must look like:

    
    $items .= '<li class="menu-item custom-menu-item"><a href="'.wp_logout_url(icl_get_home_url()).'" rel="nofollow" title="Logout">Logout</a></li>';
    

    Regards,
    Peter

    in reply to: Video Background – Mobile #252474

    Hey roqetdw!

    Open up wp-content/themes/enfold/js/shortcodes.js and replace:

    
    		//mobile device?
    		this.isMobile 	= $.avia_utilities.isMobile;
    

    with

    
    	//mobile device?
    	this.isMobile 	= $.avia_utilities.isMobile;
    
        	if( /iPad/i.test(navigator.userAgent) && 'ontouchstart' in document.documentElement)
        	{
        		this.isMobile = false;
        	}
    

    Note that I can’t promise you that the videos will work properly. Kriesi had good reasons why he removed the video support for mobile devices and this change will just exclude the ipad from the “mobile device” list. It will not fix any player/video related issues which might be noticeable.

    Cheers!
    Peter

    in reply to: Javascript tracking code (E.G. Google AdWords) #252468

    Hey rickpark!

    Please see – https://kriesi.at/support/topic/syntax-error-when-adding-tracking-code-to-form-submit-button/ – you can add this code to an “onclick” event which triggers when the submit button is clicked.

    Cheers!
    Peter

    in reply to: Custom Icons in Iconboxes? #252458

    Hey!

    Please update to the latest version. Afaik Kriesi released an update yesterday which should fix the icon font manager for all users.

    Regards,
    Peter

    in reply to: Portfolio Revisions not working #252457

    Hi mowseink!

    Unfortunately you can’t add the revision feature to existing portfolio entries. You must create a new portfolio entry and this entry should display the revisions if you modify it 2 or 3 times.

    Best regards,
    Peter

    in reply to: Vergleichsrechner per I Frame einbinden nicht möglich? #252026

    Hi finon!

    Du kannst probieren den Iframe Code in einen “Textblock” einzufügen. Wenn dies nicht funktioniert, empfehle ich dieses Plugin: http://wordpress.org/plugins/insert-html-snippet/ um den iframe Code als Shortcode einzufügen.

    Best regards,
    Peter

    in reply to: Google Maps API multiple times on the page #251997

    Hi!

    Ok, with the next update you can use this code in your child theme functions.php file:

    
    add_filter('avia-google-maps-api', '__return_false', 10, 2); 
    

    to deactivate the api scripts.

    Cheers!
    Peter

    in reply to: Google Maps API multiple times on the page #251991

    Hi!

    I’ll ask Kriesi to add a filter to the next theme update which will allow you to deactivate the map api. At the moment you must comment it out in the parent theme files.

    Regards,
    Peter

    in reply to: Video Background Buffering #251987

    Hey AntonNovikov!

    No, this is not possible. This would require new options (for the preview images) and new js code for the background video player. You can add your request to the feature request list: https://kriesi.at/support/enfold-feature-requests/ and Kriesi will add this feature if we think it’s useful or if many other users vote for it.

    Cheers!
    Peter

    Hey!

    I recommend to add this code to the child theme functions.php file (at the very bottom). If you don’t use a child theme insert it at the very bottom of enfold/functions.php.

    Best regards,
    Peter

    in reply to: Blog grid not loading on homepage #251984

    Hi Marco!

    Please create me an admin account and post the login credentials as private reply – I’ll look into it.

    Regards,
    Peter

    in reply to: Blog categories highlighted on the sidebar #251983

    Hey!

    1) If the code doesn’t work you probably need to modify the category widget code somehow. I recommend to hire a freelancer if you’re not familiar with the widget/php code. WordPress and the theme does not support the “current category highlight” feature by default and thus I consider this request as customization which is beyond the scope of our free support forum.

    2) You can change the post title at the top easily. Insert this code into the enfold/functions.php file or into your child theme functions.php file:

    
    add_filter('avf_title_args', 'single_blog_page_title', 10, 2);
    function single_blog_page_title($args,$id) {
    $pt = get_post_type( $id );
    if('post' == $pt){
            $cat = get_the_category($id); 
            if(isset($category[0])) $args['title'] = $category[0]->cat_name;
    }
    return $args;
    }
    

    Cheers!
    Peter

    in reply to: Video Media Element does not display YouTube Videos #251978

    Hi!

    Maybe the server provider changed the configuration of the server somehow and the oembed protocol doesn’t work properly. The embed shortcode basically sends a request to youtube (= the server requests data from youtube) which returns the right iframe code. WordPress then replaces the youtube link and the embed shortcode with the corresponding iframe code. If the oembed request fails (i.e. because the server won’t connect to youtube) then WP can’t embed the right iframe code but it will just show the link (as fallback) instead.

    Regards,
    Peter

    in reply to: Problem with elements. #251977

    Hi!

    I checked it on my PC and I can’t reproduce the issue: http://www.screenr.com/9UxN
    Please deactivate all browser addons and make sure the the “compatibility mode” is deactivated.

    Best regards,
    Peter

    in reply to: Elements dissapear! #251974

    Hey!

    Right now there’s no solution. All post queries use the same $paged variable to determine the current page. If one post slider supports multiple pages (pagination) and the other slider don’t support multiple pages wordpress will hide the other sliders. You must either remove the pagination from the slider or make sure that the other sliders also support multiple pages. Unfortunately it would require a lot of additional queries to calculate separate pagination values for different sliders/elements.

    Cheers!
    Peter

    in reply to: Post navigation #251972

    Hi MKW270210!

    Tbh I never used such a menu for my projects but you can try https://wordpress.org/plugins/extended-categories-widget/ though – it sounds promising.

    Best regards,
    Peter

    in reply to: Use different social icons #251970

    Hey oliviad!

    Just insert this code into the child theme functions.php file:

    
    
    add_filter('avf_default_icons','avia_add_custom_icon', 10, 1);
    function avia_add_custom_icon($icons)
    {
    $icons['apple']	 = array( 'font' =>'fontello', 'icon' => 'ue803');
    $icons['yelp']	 = array( 'font' =>'fontello', 'icon' => 'ue800');
    return $icons;
    }
    
    add_filter('avf_social_icons_options','avia_add_custom_social_icon', 10, 1);
    function avia_add_custom_social_icon($icons)
    {
    $icons['Apple'] = 'apple';
    $icons['Yelp'] = 'yelp';
    return $icons;
    }
    

    Replace “apple” and “yelp” with the name of your social service(s). Then import your custom icon fonts from fontello and replace the icon code (i.e. ue803 and ue800) and the font family if necessary. If you don’t know the codes I recommend to click the “Customize Codes” tab on the fontello.com page to find them. At least go to Enfold > Theme Options and add your new social icons to the header menu.

    Best regards,
    Peter

    in reply to: Reopen– blog order help #251968

    Hi!

    I’m not sure which blog type you’re using but you can use this code:

    
    if(!function_exists('avia_change_posts_query'))
    {
    	function avia_change_posts_query($query, $params)
    	{
    	    if(!empty($query['post_type']))
    	    {
    	            if((is_array($query['post_type']) && in_array('post', $query['post_type'])) || $query['post_type'] == 'post')
    	            {
                                $query['order'] = 'ASC';
    	            }
    	    }
    	
    	    return $query;
    	}
    	
    	add_filter('avia_masonry_entries_query', 'avia_change_posts_query', 10, 2);
    	add_filter('avia_post_grid_query', 'avia_change_posts_query', 10, 2);
    	add_filter('avia_post_slide_query', 'avia_change_posts_query', 10, 2);
    	add_filter('avia_blog_post_query', 'avia_change_posts_query', 10, 2);
    }
    
    

    to manipulate the query of all posts. You can replace ASC with DESC for an descending order.

    Cheers!
    Peter

    in reply to: Shop overview / Category and Tag #251967

    Hey!

    In wp-content/themes/enfold/config-woocommerce/config.php ersetzt:

    
    function avia_shop_overview_extra_header_div()
    {
    	echo "<div class='inner_product_header'><div class='avia-arrow'></div>";
    }
    

    durch:

    
    function avia_shop_overview_extra_header_div()
    {
    	echo "<div class='inner_product_header'><div class='avia-arrow'></div>";
    
                        global $product;
                        $cats = $product->get_categories('', ', ','').' ';
                        if(!empty($cats))
                        {
                            echo '<span class="product-categories">';
                            echo $cats;
                            echo '</span>';
                        }
    
                        $tags= $product->get_tags('', ', ','').' ';
                        if(!empty($tags))
                        {
                            echo '<span class="product-tags">';
                            echo $tags;
                            echo '</span>';
                        }
    }
    
    

    It may require additional css styling, etc.

    Best regards,
    Peter

    Hi!

    Please try to insert this code:

    
    .avia_mobile #top .av-parallax-section{-webkit-transform: translate3d(0,0,0);}
    

    into the quick css field.

    Cheers!
    Peter

    Hey!

    Ok, Kriesi recommended that this code:

    
    .avia_mobile #top .av-parallax-section{-webkit-transform: translate3d(0,0,0);}
    

    may fix the issue.

    Cheers!
    Peter

    in reply to: Duplicate Posts Using the Masonry Layout #251948

    Hi!

    I reported the issue to Kriesi. Please do not remove the account because Kriesi will probably need it to debug the code. I couldn’t reproduce the issue on my test servers and I think it might be a problem with the server or wordpress configuration.

    Best regards,
    Peter

    in reply to: Table in mobile view not showing correctly #251947

    Hey!

    Yes, the responsive data table will hide some fields. If you don’t want to hide the field select the “Make entire table scrollable” option
    http://www.clipular.com/c/5465773342457856.png?k=MtBtalxhK32ga-yv_mj2ZNVsHdA

    Best regards,
    Peter

    in reply to: Change Logo for Logged in users #251946

    Hi!

    Yes, use Ismaels code but replace:

    
    	if ( is_user_logged_in() ) {
        $logo = "<$headline_type class='logo bg-logo'><a href='".$link."'>".$loggedinlogo."$sub</a></$headline_type>";
    	} else {
    	$logo = "<$headline_type class='logo bg-logo'><a href='".$link."'>".$loggedoutlogo."$sub</a></$headline_type>";
    	}
    

    with

    
    	if ( is_user_logged_in() || is_page(array(20)) ) {
        $logo = "<$headline_type class='logo bg-logo'><a href='".get_home_url()."'>".$loggedinlogo."$sub</a></$headline_type>";
    	} else {
    	$logo = "<$headline_type class='logo bg-logo'><a href='".get_home_url()."'>".$loggedoutlogo."$sub</a></$headline_type>";
    	}
    

    instead of 20 insert the id of the page where you want to show the “logged in” logo. You can even insert several ids – just separate the with commas like 20,30,70.

    Regards,
    Peter

    in reply to: Enfold and Formidable Pro not cooperating #251721

    Hi!

    You can find the file in the enfold/css folder (It’s called base.css). However I recommend to overwrite the default width with:

    
    #top .frm_forms .input-text, #top .frm_forms input[type="text"], #top .frm_forms input[type="input"], #top .frm_forms input[type="password"], #top .frm_forms input[type="email"], #top .frm_forms input[type="number"], #top .frm_forms input[type="url"], #top .frm_forms input[type="tel"], #top .frm_forms input[type="search"], #top .frm_forms textarea, #top .frm_forms select { width: auto;  }
    

    – you can place this code into the quick css field
    Best regards,
    Peter

    Hi!

    Try to replace this line:

    
    $items .= '<li class="menu-item custom-menu-item"><a href="<?php echo wp_logout_url( home_url() ); ?>" rel="nofollow" title="Logout">Logout</a></li>';
    

    with:

    
    $items .= '<li class="menu-item custom-menu-item"><a href="'.wp_logout_url(icl_get_home_url()).'" rel="nofollow" title="Logout">Logout</a></li>';
    

    For more information refer to: https://wpml.org/de/documentation-3/support-2/mehrsprachige-wordpress-themen-erstellen/link-zur-startseite/

    Cheers!
    Peter

    in reply to: Open akkordeon-element through click on a link #251491

    Hi!

    I marked this thread for Kriesi.

    Best regards,
    Peter

    in reply to: Posts not display after woocommerce product grid #251480

    Hey!

    I temporarily fixed it by replacing this code in enfold/config-templatebuilder/avia-shortcodes/productslider.php:

    
    $ordering_args = $woocommerce->query->get_catalog_ordering_args( $orderBY, $order );
    

    with

    
    $ordering_args = $woocommerce->query->get_catalog_ordering_args( $orderBY, $order );
    			if($orderBY == 'popularity' || $orderBY == 'rating')
     			{
     	    		remove_filter( 'posts_clauses', array( WC()->query, 'order_by_popularity_post_clauses' ) );
     				remove_filter( 'posts_clauses', array( WC()->query, 'order_by_rating_post_clauses' ) );
     			}
    

    I’ll ask Kriesi to fix the issue with the next update.

    Cheers!
    Peter

    in reply to: Addthis Plugin Problems. #251462

    Hey Romano_Soprano!

    The social icons seem to work for me now: http://www.clipular.com/c/5525834165125120.png?k=xLlbTzeOempAJLz-yPam99Hd4hM – did you solve the issue?

    Regards,
    Peter

Viewing 30 posts - 4,051 through 4,080 (of 9,352 total)