Forum Replies Created
-
AuthorPosts
-
Hi,
Afaik custom enfold layout pages don’t support the widget. Only the woocommerce shop and the category pages support it. You could use the category description field (Products > Categories > select a category and click “Edit”) to add the shortcode/widget area to a category page. Then add this code to the functions.php:
add_action( 'init', 'avia_process_woocommerce_taxonomy_archive_description' ); function avia_process_woocommerce_taxonomy_archive_description() { remove_action( 'woocommerce_before_shop_loop', 'woocommerce_taxonomy_archive_description', 11 ); add_action( 'woocommerce_before_shop_loop', 'avia_woocommerce_taxonomy_archive_description', 11 ); } function avia_woocommerce_taxonomy_archive_description() { if ( is_product_taxonomy() && 0 === absint( get_query_var( 'paged' ) ) ) { $term = get_queried_object(); if ( $term && ! empty( $term->description ) ) { echo ' <div class="term-description">' . do_shortcode($term->description) . '</div> '; } } }
otherwise the category page will ot execute the shortcode.
Best regards,
DudeThis reply has been marked as private.Hi!
Glad we could help you!Best regards,
PeterHi,
Here’s the post:
“If you have updated WordPress to 4.9.8, you might have noticed that you are now able to test Gutenberg, which will be default editor when WordPress 5 releases.
Enfold 4.4.1 is not compatible with Gutenberg however our devs have already started working on it and improvements/fixes will be included in Enfold 4.4.2. We may need to push back release date of Enfold 4.4.2 a little while our devs are working on Gutenberg compatibility.
As Kriesi has stated before, we will make Enfold 100% compatible with Gutenberg :)That being said, we would like to share Gutenberg snippet for those who would not like to wait for Enfold 4.4.2. You can add this code snippet – https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_4_1/config-gutenberg/gutenberg_snippet.php(without PHP opening tag) to the bottom of Functions.php file in Appearance > Editor.
We would recommend you to use a child theme and delete the code snippet before updating Enfold to 4.4.2 as we are going to be adding configuration files into enfold/config-gutenberg folder.
Also, please keep in mind that Gutenberg has not officially released, so please do not test it on your production site.
If you have any questions or issues to report, please share them on this thread :)”
Best regards,
DudeHi,
I think it was a problem with the character encoding (qoutes). I added the code for you now. You’ll find it at the bottom of the functions.php file.
Best regards,
DudeHi bobika12345!
You should be able to use the default wordpress gallery widget to display images from the wordpress media gallery. If the widget doesn’t please create us an admin account and we’ll look into it.
Cheers!
PeterHey planbdesign,
Please create us an admin account and post the login credential – then we’ll look into it.
Best regards,
DudeHi,
I fixed it by adding this code to the quick css field:
#top #wrap_all .toggle_icon { top: 17px; } #top #wrap_all p.activeTitle{ margin-bottom: 0 !important; } #top #wrap_all .toggle_wrap .toggle_content{ padding-top: 10px; }
Best regards,
DudeHi,
Glad we could help you :)
Best regards,
DudeAugust 11, 2018 at 4:06 pm in reply to: open an entry on a new page in the portfolio grid setting doesn't work #996297Hi!
I added this code to the child theme functions.php file to open the portfolio item links in a new tab/window:
function avia_cutom_head_javascript() { ?> <script type="text/javascript"> jQuery(document).on('click', '.grid-entry a.grid-image', function(e){ e.preventDefault(); var url = jQuery(this).attr('href'); window.open(url, '_blank'); }); </script> <?php } add_action('wp_head', 'avia_cutom_head_javascript');
Cheers!
PeterHey Rick,
Yes, you can select different categories for each portfolio grid element. Add the portfolio grid element to the page, click on the element and at the very top select the categories you want to add to this portfolio grid (“Which categories should be used for the portfolio?” option).
Best regards,
DudeHi,
Glad we could help you :)
Best regards,
DudeHi,
Yes that’s possible. Please add following code to bottom of Functions.php file in Appearance > Editor to automatically apply the aside class to all textblock elements
add_filter('avf_template_builder_shortcode_meta', 'avia_filter_texblock_classes', 10, 4); function avia_filter_texblock_classes($meta, $atts, $content, $shortcodename) { if($shortcodename != 'av_textblock') return $meta; if(!empty($meta['custom_class'])) { $meta['custom_class'] .= ' aside'; } else { $meta['custom_class'] = 'aside'; } return $meta; }
Best regards,
DudeHi,
You can translate these words “You are here” with a filter. Please add following code to bottom of Functions.php file in Appearance > Editor
/* Following code changes "You are here:" in front of breadcrumbs */ add_filter('avia_breadcrumbs_args', 'avia_change_you_are_here_breadcrumb', 10, 1); function avia_change_you_are_here_breadcrumb($args){ $args['before'] = "Your custom text: "; return $args; }
and replace “Your custom text” (without the quotes) with your text.
Best regards,
DudeHi,
It depends on the hierarchy of the categories. I’d recommend to check the breadcrumb structure after you added the category. If it pops up in the breadcrumb simply add another line to the code:
unset($trail[3]);
Best regards,
DudeAugust 11, 2018 at 11:49 am in reply to: open an entry on a new page in the portfolio grid setting doesn't work #996270Hi,
Please also provide the website url otherwise we don’t know where we can log in.
Best regards,
DudeHi,
Please try this css code to shift the menu to the top:
#top #wrap_all #header_main { top: -25px; }
Best regards,
DudeHi,
You can insert this code into the child theme functions.php file. Go to Appearance > Editor and search for the functions.php file. Click on it, scroll to the bottom of the file and copy/paste the code
add_filter('avf_markup_helper_attributes', 'avf_markup_helper_attributes_modified', 10, 2); function avf_markup_helper_attributes_modified($attributes, $args) { if($args['context'] == 'image') { $attributes['itemprop'] = 'image'; } return $attributes; }
into the file. Then save it.
Best regards,
DudeHey J,
Please deactivate all plugins and check if this solves the issue – if yes a plugin adds the favicon code to your website.
If not please check if you’re using a custom/modified header.php template (i.e. in your child theme folder). Maybe you need to update this template based on the latest parent theme template.
Best regards,
DudeAugust 11, 2018 at 11:01 am in reply to: Specific page main menu item hover background colour #996262Hey ProTravelGolf,
Please post a link to the page/post where you want to change the color – we can then provide a working css code.
Best regards,
DudeHey IngeniumCanada,
Replace this line of your code:
$languages = icl_get_languages('skip_missing=0');
with
if ((is_object($args) && $args->theme_location != 'avia')) return $items; $languages = icl_get_languages('skip_missing=0');
The main menu has the theme location “avia”, the secondary menu “avia2” and the footer menu “avia3”.
Best regards,
DudeHi,
Ftp won’t delete existing files but it will just overwrite files if the file names match. I’d recommend to rename the old theme folder to enfold_bak, then upload the new theme folder “enfold” to wp-content/themes. Then test the website and if everything works you can delete the enfold_bak folder.
Best regards,
DudeHi,
Did you add this code snippet – https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_4_1/config-gutenberg/gutenberg_snippet.php (without PHP opening tag) to the bottom of functions.php file in Appearance > Editor?
Best regards,
DudeAugust 11, 2018 at 10:26 am in reply to: Cart muss nach Loeschung eines Produkts neu geladen werden #996258Hi,
Nein dieses Problem ist nicht bekannt. Hast Du vielleicht ein Caching-Plugin laufen, welches Shop-Seiten cached?
LG,
DudeHi,
I couldn’t connect to your website, even after I added the domain/ip address to my host file. I also couldn’t connect to the ip address. I’ll leave this thread open for the other support members – maybe they’ve more success.
Best regards,
DudeHi,
Ich habe mir die Sache angesehen und das Problem ist, dass die Posts mit dem Advanced Layout Builder gebaut wurden.
Du kannst entweder auf den normalen Editor wechseln – dann kann der gesamte Inhalt auch auf der Blog-Seite dargestellt werden oder der “Read more”-Tag (Einfügen > Weiterlesen Tag einfügen) verwendet werden, um den Text auf der Blog-Seite abzukürzen.
Wenn der Advanced Layout Builder verwendet wird, sind einige Elemente (zB die verwendeten Farb-Sektionen) nicht mit dem Blog Layout kompatibel. Da Enfold Darstellungsfehler verhindern möchte, wird daher – sobald der Advanced Layout Builder aktiviert ist – nur mehr der “Auszug”-Text im Blog angezeigt.
Wenn Du wirklich den Advanced Layout Builder Inhalt auf der Blog-Seite anzeigen willst, kannst Du diesen Code in die functions.php (am Ende) einfügen:
add_filter( 'post-format-standard', 'avia_default_blog_excerpt_filter', 10, 1 ); function avia_default_blog_excerpt_filter($current_post) { $current_post['content'] = get_the_content($current_post['the_id']); return $current_post; }
Bei deinem jetzigen Layout mit Farb-Sektionen, etc. funktioniert das aber sicher nicht, sodass es die Blog-Seite layoutmäßig “zerstören” wird.
LG,
DudeHey mnoack1,
You could create a custom widget area (Appearance > Widgets – “Enfold Custom Widget Area”). Call the widget area i.e. “Shop Product Filter” (without the quotes) and add your product filter widgets to this area.
Then insert this shortcode to the shop page:
[av_sidebar widget_area='Shop Product Filter']
to display the widget area.
Best regards,
DudeHey!
Haha, yes. I’m a “Big Lebowski” Fan ;)Cheers!
PeterHi,
Ok, I replaced your domain with website.com :)
Best regards,
Dude -
AuthorPosts