Forum Replies Created

Viewing 30 posts - 151 through 180 (of 9,352 total)
  • Author
    Posts
  • in reply to: Navigate from iframe to new page #1015151

    Hi,

    Your links in the “Available Options” tab all have a target=”_blank” attribute attached. This attribute will open a new window/tab if the user clicks on the link. I’m not sure if a plugin adds target=”_blank” to your links or if you added it manually.

    If you’re not sure please create me an admin account and I’ll check the code.

    Best regards,
    Peter

    Hi,

    To be honest I don’t understand the issue – both product pages http://ngavy.com/product/colombia-dripbag/ and http://ngavy.com/product/ethiopia-dripbag/ look similiar to me. There’re three tabs on both pages in the same order. The headlines are 설명, 배송정보 and 상품평 (probably the reviews tab because it shows the reviews and the number of reviews next to the headline). So I’m not sure why the one page is “right” and the other “wrong”. Maybe it’s a browser cache issue and you see a different version of the page(s)?

    Best regards,
    Peter

    in reply to: Sort category filter by slug in masonry portfolio #1015136

    Hey!

    Ich habe jetzt die Resize-Funktion in der child theme functions.php ein wenig angepasst, das Problem sollte nun behoben sein. Der neue Code ist:

    
    add_action('wp_footer', 'ava_auto_resize_masonry');
    function ava_auto_resize_masonry(){
    ?>
    <script>
    (function($){	
    	setTimeout(function(){
    		$(window).trigger('resize');
    		$(window).trigger('av-content-el-height-changed');
    	}, 3000);
    })(jQuery);
    </script>
    <?php
    }
    
    

    LG,
    Peter

    in reply to: Thrive Architect Not working on Enfold anymore #1015000

    Hi,

    Great, glad it’s working now :)

    Best regards,
    Peter

    Hi,

    Great, glad I could help you :)

    Best regards,
    Peter

    in reply to: Breadcrumbs according to session #1014968

    Hey!

    Yes I used the plugin. I activated the custom field view (near the bottom of the editor page with the headline “Extra veden”) to check if the right value is set. You can test it yourself – first go to the editor page (see link in private field) – the value is set to 149 at the moment. Then go to the bulk editor, insert a different value and save the value. Then reload the editor page and the value should change on the editor page (“Extra veden” section).

    Regards,
    Peter

    in reply to: Enfold Update not working #1014910

    Hi!
    Please use ftp to update the theme. If you use ftp make sure to replace the entire theme folder. If you just overwrite the existing files you’ll get a blank page (500 error). Connect to ftp, go to wp-content/themes and rename the theme folder “enfold” to “enfold_bak”. Then download the new files from themeforest, unzip the theme files and upload them to wp-content/themes/enfold. Make sure the style.css file is located in wp-content/themes/enfold (file path wp-content/themes/enfold/style.css). If the theme works, you can simply delete the enfold_bak folder. If not, delete the enfold folder and rename enfold_bak to enfold.

    Best regards,
    Peter

    in reply to: How to remove ?s= from search url #1014902

    Hi,

    You can try to add following code to the child theme functions.php – it will add a rel=nofollow attribute to the search icon in the menu

    
    add_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 );
    add_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 );
    
    function avia_append_search_nav ( $items, $args )
    {	
      if(avia_get_option('header_searchicon','header_searchicon') != "header_searchicon") return $items;
      if(avia_get_option('header_position',  'header_top') != "header_top") return $items;
    
        if ((is_object($args) && $args->theme_location == 'avia') || (is_string($args) && $args = "fallback_menu"))
        {
            global $avia_config;
            ob_start();
            get_search_form();
            $form =  htmlspecialchars(ob_get_clean()) ;
    
            $items .= '
     	<li id="menu-item-search" class="noMobile menu-item menu-item-search-dropdown menu-item-avia-special">
                <a href="?s=" rel="nofollow" data-avia-search-tooltip="'.$form.'" '.av_icon_string('search').'><span class="avia_hidden_link_text">'.__('Search','avia_framework').'</span></a></li>
    ';
        }
        return $items;
    }
    

    Best regards,
    Peter

    in reply to: Enfold Theme does not upload in WordPress site #1014901

    Hi,

    I uploaded the enfold.zip file for you. You can now go to the option page (see link in private settings)  and configure the theme options. You can also import the demo data (“Demo import” tab).

    Best regards,
    Peter

    in reply to: Enfold Theme #1014895

    Hi James Sideropoulos!

    Yes, all demos here: https://kriesi.at/themes/enfold-overview/ are included with the theme and you can import them to use them as a starting point for your website.

    Regards,
    Peter

    in reply to: Breadcrumbs according to session #1014890

    Hi,

    There was no breadcrumb set on the portfolio page. I now added a small snippet to your child theme

    
    function av_breadcrumbs_shortcode( $atts ) {
    return avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true));
    }
    add_shortcode( 'bread_crumb', 'av_breadcrumbs_shortcode' );
    

    so you can include it with a shortcode

    
    [bread_crumb]
    

    I added it to the portfolio item (link in private content) and the breadcrumb now contains the “Bewegwijzering” parent page.

    Best regards,
    Peter

    Hey TanSmi,

    You can try to split your big sql dump with a script like: https://www.ozerov.de/bigdump/ to avoid the runtime limits.

    Best regards,
    Peter

    in reply to: Breadcrumbs according to session #1014871

    Hi,

    If you just want to set one page as parent page you can also set the parent page by using this code – insert it into the child theme functions.php and replace 1000 with your parent page id:

    
    	function avia_modify_breadcrumb($trail)
    	{
           	        $parent = get_post_meta(avia_get_the_ID(), 'breadcrumb_parent', true);
    
    		if(get_post_type() === "portfolio")
    		{
            		if(empty($parent)) $parent = '1000';
    			$page 	= "";
    			$front 	= avia_get_option('frontpage');
    
    			if(empty($parent) && !current_theme_supports('avia_no_session_support') && session_id() && !empty($_SESSION['avia_portfolio']))
    			{
    				$page = $_SESSION['avia_portfolio'];
    			}
                else
                {
                    $page = $parent;
                }
    
    			if(!$page || $page == $front)
    			{
    				$args = array( 'post_type' => 'page', 'meta_query' => array(
    						array( 'key' => '_avia_builder_shortcode_tree', 'value' => 'av_portfolio', 'compare' => 'LIKE' ) ) );
    
    				$query = new WP_Query( $args );
    
    				if($query->post_count == 1)
    				{
    					$page = $query->posts[0]->ID;
    				}
    				else if($query->post_count > 1)
    				{
    					foreach($query->posts as $entry)
    					{
    						if ($front != $entry->ID)
    						{
    							$page = $entry->ID;
    							break;
    						}
    					}
    				}
    			}
    
    			if($page)
    			{
    				if($page == $front)
    				{
    					$newtrail[0] = $trail[0];
    					$newtrail['trail_end'] = $trail['trail_end'];
    					$trail = $newtrail;
    				}
    				else
    				{
    					$newtrail = avia_breadcrumbs_get_parents( $page, '' );
    					array_unshift($newtrail, $trail[0]);
    					$newtrail['trail_end'] = $trail['trail_end'];
    					$trail = $newtrail;
    				}
    			}
    		}
    		else if(get_post_type() === "post" && (is_category() || is_archive() || is_tag()))
    		{
    
    			$front = avia_get_option('frontpage');
    			$blog = !empty($parent) ? $parent : avia_get_option('blogpage');
    
    			if($front && $blog && $front != $blog)
    			{
    				$blog = '<a href="' . get_permalink( $blog ) . '" title="' . esc_attr( get_the_title( $blog ) ) . '">' . get_the_title( $blog ) . '</a>';
    				array_splice($trail, 1, 0, array($blog));
    			}
    		}
    		else if(get_post_type() === "post")
    		{
    			$front 			= avia_get_option('frontpage');
    			$blog 			= avia_get_option('blogpage');
    			$custom_blog 	= avia_get_option('blog_style') === 'custom' ? true : false;
    
    			if(!$custom_blog)
    			{
    				if($blog == $front)
    				{
    					unset($trail[1]);
    				}
    			}
    			else
    			{
    				if($blog != $front)
    				{
    					$blog = '<a href="' . get_permalink( $blog ) . '" title="' . esc_attr( get_the_title( $blog ) ) . '">' . get_the_title( $blog ) . '</a>';
    					array_splice($trail, 1, 0, array($blog));
    				}
    			}
    		}
    
    		return $trail;
    	}
    
    	add_filter('avia_breadcrumbs_trail','avia_modify_breadcrumb');
    

    I wouldn’t use this code if you plan to set different parent pages because it can be tedious to include a switch or if statement for each category, etc.

    Best regards,
    Peter

    in reply to: Breadcrumbs according to session #1014863

    Hi,

    No because portfolio entries are like posts and do not support “parent pages”. You can only assign categories and tags to them. The breadcrumb parent page option is a theme feature and not a standard wordpress feature which is supported by the bulk edit panel.

    Best regards,
    Peter

    Hey!
    Great, glad I could help you :)

    Best regards,
    Peter

    in reply to: Breadcrumbs according to session #1014793

    Hi,

    Please create me an admin account and I’ll look into it.

    Best regards,
    Peter

    Hey Ink_Eye,

    1) The error pops up if the user clicks on a portfolio item which is not fully loaded yet. You can activate the preloader effect (Enfold > Theme Options) if you want to make sure that your users can’t click on an item before the page content is loaded.

    2) I adjusted the offset for you – I replaced line 158 in enfold/config-templatebuilder/avia-shortcodes/portfolio/portfolio.js

    
    var target_offset = target_wrap.offset().top - 175,
    

    with

    
    var target_offset = target_wrap.offset().top - 250,
    

    Now the menu won’t cover the top part of the portfolio item.

    Best regards,
    Peter

    in reply to: Found Bug in Enfold Formular #1014766

    Hey NiklasRaab,

    Can you please check if the “Valid E-Mail address with special characters” validation works for you?

    Best regards,
    Peter

    in reply to: enfold read more link in masonry portfolio #1014764

    Hi,

    There was some leftover code in the quick css field (css animation which is not required). I removed it now. Please clear the browser cache and try it again.

    Best regards,
    Peter

    in reply to: Linking to accordion from SVG #1014757

    Hi,

    Great, thanks for sharing the code!

    Best regards,
    Peter

    in reply to: Google Fonts #1014755

    Hi,

    Yes it will load all font files which you specify (i.e. 400,600,800 in the code sample above). In addition the code will overwrite the existing font data if the font name equals the name of an existing font – i.e. Source Sans Pro is included by default and your code overwrites the default font data.

    Is this double activation then?
    The code above just adds the font to the dropdown. You need to select the font from the dropdown and save the settings to actually “activate/use” it.

    Best regards,
    Peter

    in reply to: Navigate from iframe to new page #1014747

    Hey (Email address hidden if logged out) ,

    You could try to implement a plugin like “Read more without refresh”: https://wordpress.org/plugins/read-more-without-refresh/ which shows or hides content with a javascript effect. Instead of “Read more” use the words you want to make clickable (Foot pedal, Sorting table, etc.) and then add the remaing content as hidden content to the page which pops up if the user clicks on the words.

    Best regards,
    Peter

    in reply to: Google Fonts #1014741

    Hey AWZ,

    Personally I’d recommend to use the child theme functions.php to add or modify the font data. However it’s not necessary to write two functions – you could compress it to:

    
    dd_filter( 'avf_google_heading_font', 'avia_add_custom_font');
    add_filter( 'avf_google_content_font', 'avia_add_custom_font');
    function avia_add_custom_font($fonts)
    {
    $fonts['Source Sans Pro'] = 'Source Sans Pro:400,600,800';
    return $fonts;
    }
    

    Best regards,
    Peter

    in reply to: Not Able to Type or Enter Text in Search When in IE 11 #1014740

    Hi,

    Please try this code to resize the search form on the search page:

    
    #top #wrap_all .search_form_field #s {
        height: 50px;
    }
    

    Best regards,
    Peter

    in reply to: Breadcrumbs according to session #1014739

    Hi,

    The easiest solution (and also the most flexible one) would be to use this plugin: https://wordpress.org/plugins/custom-field-bulk-editor/ to set the breadcrumb parent page for your portfolio entries.

    Install and activate the plugin, then go to the wordpress admin panel > Portfolio Items > “Bulk Edit Fields”. If you want to select the same parent page for all portfolio items select all items from the list, otherwise select them by category or tag, etc.

    Then scroll down to the “Set Custom Field Values For Checked Portfolio Items” section and enter into the “Custom Field Name:” option field on the left side the value “breadcrumb_parent” (without the quotes). Then add the page id of your breadcrumb parent page into the “Value” field on the right side (screenshot: blob:https://imgur.com/c8eab0e8-b438-4811-8bd9-5bf41703592d ). If you don’t know the id of the page this article: https://www.ostraining.com/blog/wordpress/how-to-find-the-page-id-in-wordpress/ will show you how to get it.

    At least hit the blue “Save custom fields” button and you’re done. If you want to set different parent pages for different portfolio categories you need to repeat this procedure for each parent page, just select a different category, add the “breadcrumb_parent” value to the left field and insert a different page id on the right side, etc.

    Best regards,
    Peter

    in reply to: Mobile menù #1014727

    Hi,

    Ah – now I could reproduce the issue. I could fix it on my end with following code:

    
    
    function avia_footer_scripts_close_menu(){
    ?>
    <script>
    jQuery('.html_av-submenu-display-click').on( 'click', 'a', function (e) 
    {
    	if(! jQuery('html').hasClass('av-burger-overlay-active')) return;
    	var avia_custom_burger_menu = jQuery('.av-burger-menu-main a').find('.av-hamburger');
    	avia_custom_burger_menu.parents('a').eq(0).trigger('click');
    });
    </script>
    <?php
    }
    add_action('wp_footer', 'avia_footer_scripts_close_menu', 999);
    

    Please check if it works on your end too.

    Best regards,
    Peter

    in reply to: text not vissable from demo #1014721

    Hi,

    Great, glad I could help you :)

    Best regards,
    Peter

    Hi,

    Please create me an admin account and I’ll check why the shortcode is visible and doesn’t function properly.

    If you want to use it inside the loop you need to call it like:

    
    echo do_shortcode('[av_display_image_copyright]');
    

    Best regards,
    Peter

    Hi,

    Please try to add following code to the child theme functions.php to show the additional information below the product description:

    
    add_action( 'woocommerce_after_single_product_summary', 'avia_add_additional_information_below_product', 10 );
    function avia_add_additional_information_below_product(){
    global $product;
    do_action( 'woocommerce_product_additional_information', $product ); 
    }
    

    Best regards,
    Peter

    in reply to: text not vissable from demo #1014707

    Hi,

    I fixed it by re-saving the wordpress and theme settings.

    Best regards,
    Peter

Viewing 30 posts - 151 through 180 (of 9,352 total)