Forum Replies Created
-
AuthorPosts
-
Hi,
1. Open /enfold/config-templatebuilder/avia-shortcodes/productslider.php and look for line:
if($show_meta && !empty($excerpt))
Replace it by this:
if($show_meta)
2. Move the whole if($show_meta conditional above, just before line 395:
$output .= '<header class="entry-content-header">';
3. Remove:
if ( $commentCount != "0" || comments_open($the_id) && $entry->post_type != 'portfolio') { $link_add = $commentCount === "0" ? "#respond" : "#comments"; $text_add = $commentCount === "1" ? __('Comment', 'avia_framework' ) : __('Comments', 'avia_framework' ); $meta .= " <div class='slide-meta-comments'><a href='{$link}{$link_add}'>{$commentCount} {$text_add}</a></div> <div class='slide-meta-del'>/</div> "; }
Regards,
JosueHola,
Prueba con este codigo tambien:
function change_blog_archive_style() { global $avia_config; if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; } } add_action('get_header', 'change_blog_archive_style');
Saludos,
JosueHi,
It’s a bit difficult for us to handle multiple issues on a single thread, please try to separate them in different threads so we can help you better :)
Best regards,
JosueHi,
You can have those codes on a child theme’s
functions.php
, that way it will survive updates.Best regards,
JosueHi,
Check the following:
http://wpexplorer-themes.com/total/snippets/meta-shortcode/Best regards,
JosueYou are welcome, glad to help :)
Regards,
JosueHi,
The second link you posted is returning a 404 error.
Best regards,
JosueHey!
Try adding this code to the Quick CSS:
.js_active .grid-image { opacity: 1; }
Cheers!
JosueLooks good to me.
Hey mattscor,
Have you tried using a Masonry Gallery? when editing each Image you can set a caption here – http://imgur.com/a/hJ2pB
Best regards,
JosueHi,
Have you considered using a Color Section instead of LS? the padding/width can be adjusted with CSS.
Best regards,
JosueAugust 9, 2016 at 6:54 pm in reply to: Standard Blog layouts vs layout builder Blog Posts element #670488Hi,
Blog Styling (business/elegant) is a wide-site setting that affects all Blog element instances through the site. Regarding forcing post excerpt you could add this snippet in theme / child theme
functions.php
:function change_blog_archive_style() { global $avia_config; if(!is_single()){ $avia_config['blog_content'] = "excerpt_read_more"; } } add_action('get_header', 'change_blog_archive_style');
Regards,
JosueHey, glad you found a workaround :)
Best regards,
JosueAugust 9, 2016 at 6:30 pm in reply to: disable sidebar for certain products (designed with advanced layout editor) #670471Hi,
Ask your host to clear the
mode_pagespeed
cache so the changes reflect.Best regards,
JosueCool, glad it worked, let us know if you need help with anything else.
Best regards,
JosueAnother thing you could try is uploading the logo as .svg.
Dale, nos avisas por aqui.
August 8, 2016 at 5:55 pm in reply to: Conflict between WooCommerce Measurement Price Calculator and Enfold #669962You are welcome, glad to help :)
Regards,
JosueAugust 8, 2016 at 5:09 pm in reply to: Avoiding Flash Of Unstyled Content (FOUC) with Typekit + YouTube #669935I have it exactly like that in hosts, anyhow have you tried using an async code instead of the wp plugin?
New embed code for asynchronous font loadingBest regards,
JosueAugust 8, 2016 at 4:50 pm in reply to: Conflict between WooCommerce Measurement Price Calculator and Enfold #669919Nothing really, i missed something in my code, here’s the final one that works:
add_action('init', function() { wp_dequeue_script( 'avia-woocommerce-js' ); wp_enqueue_script( 'avia-woocommerce-child-js', get_stylesheet_directory_uri().'/js/woocommerce-mod.js', array('jquery'), 2, true ); }, 11, 1);
Missed that
11
priority parameter so it runs after the parent one hook and dequeues avia-woocommerce-js.Best regards,
JosueHi,
It’s a quote issue, i’ve reported it to Kriesi but to fix it momentarily remove these from your Countries dropdown:
- Cote D’Ivoire
- People’s Democratic Republic
Best regards,
JosueI don’t know the reason the old code didn’t worked, i used a different approach and code which you can check by inspecting the sections, columns in both Pages and Quick CSS.
Best regards,
JosueHi,
Change your shortcodes to this format:
function custom_shortcode_func() { ob_start(); ?> PUT YOUR CODE HERE <?php $output = ob_get_clean(); return $output; } add_shortcode('my_shortcode', 'custom_shortcode_func');
Shortcodes should
return
stuff, notecho
directly into the page.You’re missing this at the end:
$output = ob_get_clean(); return $output;
Best regards,
Josue-
This reply was modified 8 years, 11 months ago by
Josue.
Hey,
Have you tried using Advanced layout builder on your Products? you could have full control of the layout.
Best regards,
JosueHm, could you try adding a simpler shorter select element before/after the Contries one? just to see if it’s the number of options.
Best regards,
JosuePaste the code here so we can inspect it.
Best regards,
JosueHey,
I see the button on the page and it works when clicked – http://screencast.com/t/9ZpywkYRzO2
Best regards,
JosueHi,
Can you please create us a WordPress administrator account? post it here as a private reply.
Regards,
JosueAugust 8, 2016 at 4:33 am in reply to: Using portfolio items with featured image in Masonry Gallery #669582Feel free to request it here as a new feature.
Best regards,
Josue -
AuthorPosts