Forum Replies Created

Viewing 26 posts - 1 through 26 (of 26 total)
  • Author
    Posts
  • in reply to: Permalinks messed up since site updated #1063770

    Same issue here.

    We used to have posts of the type “pages” different from the type “posts” with different permalinks. Now they’re all type “standard” and permalinks for “posts” is gone (used to be /blog/post-name). We’ll have to create hierarchy and set the blog page as parent for all posts.

    Does anyone have a smarter solution?

    UPDATE: I was wrong, post types are still the same and the re-configuration of permalinks worked just fine.

    • This reply was modified 5 years, 7 months ago by rmf339.
    in reply to: WooCommerce Related Products H2 Description #1062079

    Is there a way to create a hook instead of copying the file?

    in reply to: Product slider font size changed from h3 to h2 #1060171

    Hi profumopuntoit, how are you?

    Do you use Enfold? Try to move the function from file functions.php to file functions-enfold.php.

    If you don’t use enfold but a similar Kriesi theme, try to do the same.

    After updating Enfold we had to move all hooking functions to this file instead of using on functions.php because they stopped working properly.

    Hope it works!

    in reply to: WooCommerce Related Products H2 Description #1059895

    Hi all,

    Taking advantage of the topic to ask if there is any chance of having a hook into functions-enfold.php to change the H2 to H4?

    This post tells me the exact location, but I’m afraid I might loose the hack when updating…

    https://kriesi.at/support/topic/change-related-products-title/

    Open wp-content/plugins/woocommerce/templates/single-product/related.php and find this code:
    <h2><?php _e(‘Related Products’, ‘woocommerce’); ?></h2>

    Any clues?

    • This reply was modified 5 years, 7 months ago by rmf339.

    We faced the same issue here.

    The problem is about compatibility between Enfold with Woocommerce Bookings and Woocommerce Add-ons.

    The fix is exactly as Ismael said. Use the class ‘product_title’ on the heading. To do that, edit the following function on functions-enfold.php to add the ‘product_title’ class to the ‘heading_html’ variable on the ‘defaults array’. All the rest of the function can remain the same:

    //advanced title + breadcrumb function
    ### HOOKED ON HEADING: added product_title class
    if(!function_exists('avia_title'))
    {
    	function avia_title($args = false, $id = false)
    	{
    		global $avia_config;
    
    		if(!$id) $id = avia_get_the_id();
    		
    		$header_settings = avia_header_setting();
    		if($header_settings['header_title_bar'] == 'hidden_title_bar') return "";
    		
    		$defaults 	 = array(
    
    			'title' 		=> get_the_title($id),
    			'subtitle' 		=> "", //avia_post_meta($id, 'subtitle'),
    			'link'			=> get_permalink($id),
    			'html'			=> "<div class='{class} title_container'><div class='container'>{heading_html}{additions}</div></div>",
    			'heading_html'	=> "<{heading} class='main-title entry-title product_title'>{title}</{heading}>",
    			'class'			=> 'stretch_full container_wrap alternate_color '.avia_is_dark_bg('alternate_color', true),
    			'breadcrumb'	=> true,
    			'additions'		=> "",
    			'heading'		=> 'h1' //headings are set based on this article: http://yoast.com/blog-headings-structure/
    		);
    
    		if ( is_tax() || is_category() || is_tag() )
    		{
    			global $wp_query;
    
    			$term = $wp_query->get_queried_object();
    			$defaults['link'] = get_term_link( $term );
    		}
    		else if(is_archive())
    		{
    			$defaults['link'] = "";
    		}
    		
    		
    		// Parse incomming $args into an array and merge it with $defaults
    		$args = wp_parse_args( $args, $defaults );
    		$args = apply_filters('avf_title_args', $args, $id);
    
    		//disable breadcrumb if requested
    		if($header_settings['header_title_bar'] == 'title_bar') $args['breadcrumb'] = false;
    		
    		//disable title if requested
    		if($header_settings['header_title_bar'] == 'breadcrumbs_only') $args['title'] = '';
    
    		// OPTIONAL: Declare each item in $args as its own variable i.e. $type, $before.
    		extract( $args, EXTR_SKIP );
    
    		if(empty($title)) $class .= " empty_title ";
            $markup = avia_markup_helper(array('context' => 'avia_title','echo'=>false));
    		if(!empty($link) && !empty($title)) $title = "<a href='".$link."' rel='bookmark'>".$title."</a>";
    		if(!empty($subtitle)) $additions .= "<div class='title_meta meta-color'>".wpautop($subtitle)."</div>";
    		if($breadcrumb) $additions .= avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true));
    
    		if(!$title) $heading_html = "";
    		$html = str_replace('{heading_html}', $heading_html, $html);
    		
    		
    		$html = str_replace('{class}', $class, $html);
    		$html = str_replace('{title}', $title, $html);
    		$html = str_replace('{additions}', $additions, $html);
    		$html = str_replace('{heading}', $heading, $html);
    
    		if(!empty($avia_config['slide_output']) && !avia_is_dynamic_template($id) && !avia_is_overview())
    		{
    			$avia_config['small_title'] = $title;
    		}
    		else
    		{
    			return $html;
    		}
    	}
    }
    • This reply was modified 5 years, 7 months ago by rmf339.
    in reply to: Masonry Issue After Most Recent Update #869345

    Hi there! I can’t see what issue this post is about.

    I’m also having issues on the masonry after last update, but it’s regarding the on-hover image animation. The secondary image in the gallery does not appear on mouse hover, looks like the animation stopped working. It only happens to my recently created products (woocommerce), all others still with on-hover animation.

    Does anyone have any clues?

    in reply to: (Yet another) Menu issues after 4.1.2 update #848637

    Hi @Guenni007, you didn’t verify the errors because I could fix it by disabling the W3TC minify. But thanks for the contribution, it was very well received!

    Hi @BassLineX, yes so it seems… :-/

    in reply to: (Yet another) Menu issues after 4.1.2 update #848394

    Hi all,

    I came up with this:

    1) Deactivated all cache on my hosting provider, but left my W3 Total Cache active.
    2) By checking the CSS presented in a browser window, I found out that the code was coming from W3TC minify.
    3) Deactivating the plugin made it all come normal again.
    4) Then I configured the new functionalities as I wanted and tried to activate the W3TC again. But errors came up again.
    5) I had to deactivate W3TC minify settings due to this errors.

    Any insides on compatibility issues?

    in reply to: (Yet another) Menu issues after 4.1.2 update #848385

    Hi guys… anyone?

    in reply to: Enfold page/product title is A tag, not H1 tag #786688

    No, not me… just wanted it to be H1…

    The link suits me too.

    in reply to: Enfold page/product title is A tag, not H1 tag #786647

    That’s because in the function
    fix_single_post_title($args,$id)
    that I’ve added to functions.php I just change the following variable to H1
    $args['heading']
    So the link remains…

    Please check this screenshot: SHOT Main title for products

    Taken from this page: Product Pedra da Gavea

    in reply to: Enfold page/product title is A tag, not H1 tag #786424

    Hi @victoria_d, how are you?

    I actually didn’t understand why you want admin access to my website. Could you go through the support ticket again to see if you missed something?

    In the case you still need access, could you briefly explain me why?

    Best regards and thank you!

    • This reply was modified 7 years, 4 months ago by rmf339.
    in reply to: Enfold page/product title is A tag, not H1 tag #784684

    OK @ismael, here it goes: http://www.nattrip.com.br/site2017/wp-content/uploads/2017/04/DEBUG02.jpg

    If you get a 404 when you access the media, please remove

    /site2017

    And retry!

    • This reply was modified 7 years, 4 months ago by rmf339.

    Hi Ismael,

    Since I had severe difficulties to troubleshoot in mobile device, I’d never think of the z-index as the root cause.

    Thanks a lot! That was the problem!

    Best regards!

    Same problem here, I just began looking for a solution. If you find one, please mind sharing! :-)
    Link for webshop on private content…

    Problem stated:
    If you access via mobile and try to buy any product, email and phone fields on checkout page are “unclickable”/”unselectable” and thus “uneditable”.

    Hi @basilis and @victoria,

    We appreciate a lot. But since this version is going into production today, we’re uncomfortable.

    I’ll reproduce in a test environment and let you know…

    Hi Victoria,

    Thanks for your interest in this one. This version of our website is going into production most likely this week. Is there something specific that I could check for you and return here?

    I’d love to help but it doesn’t depend only on me…

    in reply to: Logo NOT en empty strong tag #782914

    If I may leave a suggestion, why don’t you let the user choose? Insert an option into the Theme Settings, so user can choose product grid/slider tag, logo tag, title tag, etc… THAT would be awesome! And I guess it’s quite simple to do, isn’t it?

    in reply to: Product slider font size changed from h3 to h2 #782550

    Hi @basilis,

    Thanks for your help, but it seems you’re wrong. I did the modifications using hooks in function.php using this:

    /*
     * Modify product slider from h2 to h4
     */
    remove_action( 'woocommerce_shop_loop_item_title', 'woocommerce_template_loop_product_title', 10, 2 );
    
    function action_woocommerce_shop_loop_item_title( $woocommerce_template_loop_product_title, $int ) {
    	echo '<h4 class="woocommerce-loop-product__title">' . get_the_title() . '</h4>';
    };
    
    add_action( 'woocommerce_shop_loop_item_title', 'action_woocommerce_shop_loop_item_title', 10, 2 );

    I guess problem is solved guys! Just append this to your functions.php using APPEARANCE > Editor

    You may change the H4 I used to any other tag you might want.

    in reply to: Enfold page/product title is A tag, not H1 tag #782494

    Hi guys,

    I was able to change post titles with the following (in functions.php):

    add_filter('avf_title_args', 'fix_single_post_title', 10, 2);
    function fix_single_post_title($args,$id){
    if (is_product()){
    $args['heading'] = 'h1';
    }
    return $args;
    }

    Now I need a similar filter to change the h2 tags on product slider as shown on attached link.

    Thanks!

    in reply to: Logo NOT en empty strong tag #782483

    Hi guys,

    I just came here to congratulate Seolotsen because that’s exactly how I feel… and his post is almost one year old now.

    • This reply was modified 7 years, 4 months ago by rmf339.
    in reply to: Product slider font size changed from h3 to h2 #782480

    Hi all!!

    I have the same issue here and I’d go further: I don’t want the tag to be H2 but I want H3 instead.

    Is there a way to change it without losing the change on upcoming updates??

    in reply to: Enfold page/product title is A tag, not H1 tag #782419

    Hi @mike,

    I noticed that this behavior only happens in Woocommerce products post type. When it’s a WordPress normal page, it behaves like it should… Check the post title in the attached link.

    in reply to: Enfold page/product title is A tag, not H1 tag #782374

    Hi @Mike,

    I always forget that this forum system applies code on the messages… My original message was:

    Hi all,

    Using “show title and breadcrumbs” option activated, the title of the page appears as <a> and not <h1> as it should. Same happens with Woocommerce products.

    How can I change this to <h1> without having to “hack” Enfold code (as it would probably disappear in the next update)?

    Anyway… moving on to your comments, I was talking about the post title (in this case the post is a page or a product), which is located in the same <div class="container"> as the breadcrumbs above the fullwidth imageshow. Note that it is uses STRONG and A tags. I want to change them both to H1 (without STRONG).

    The one you pointed on the screenshot is actually a <H2> tag put there with the text element in Avia page builder. And that’s actually correct. But thanks for taking a look at it.

    Can you help me finding out how to change the post title from A and STRONG to H1 without losing the change on upcoming Enfold updates?

    • This reply was modified 7 years, 4 months ago by rmf339.

    Hi @victoria_d,

    Thanks for the interest, but as per my last message, I could manage to get it all working just by changing the sorting order of Product Grid/Slider elements. It really seems to be some sort of coding bug or incompatibility.

    Reading my first post, I just realized that some of the things I’ve written have been cut from the message, such as

    I have the latest version of Enfold, WPML and \Woocommerce\. \I \use \Avia \page \builder \which \have \been \working \well\, \but \after \installing \WPML \and \configuring \translations, Product Grid and Product Slider stopped working.

    But whatever, I guess it doesn’t matter now. I didn’t find where to close the topic, so if any moderators can do it for me I’d appreciate!

    Thanks all!

    • This reply was modified 7 years, 4 months ago by rmf339.

    Hi all,

    I got the problem solved after reading this (confusing) thread:

    But the owner of the thread seems to be right. It is something in the sorting options of the product grid/slider. Not every sorting option works.

    You guys should check on this for bugs and corrections!

Viewing 26 posts - 1 through 26 (of 26 total)