Forum Replies Created
-
AuthorPosts
-
Hey SilviaNT,
Please create me an admin account and I’ll check the configuration.
Best regards,
PeterSeptember 23, 2018 at 10:21 am in reply to: How can I alphabetize my entire list of sub-categories? #1013263Hi,
Enfold does not change the default order of the categories but it’s a wordpress core issue. You could i.e. try the code snippet from here: https://wordpress.stackexchange.com/questions/53094/how-to-change-the-categories-order-in-the-admin-dashboard (add it to the child theme functions.php):add_filter( 'get_terms_args', 'wpse_53094_sort_get_terms_args', 10, 2 ); function wpse_53094_sort_get_terms_args( $args, $taxonomies ) { global $pagenow; if( !is_admin() || ('post.php' != $pagenow && 'post-new.php' != $pagenow) ) return $args; $args['orderby'] = 'name'; $args['order'] = 'ASC'; return $args; }
Best regards,
PeterHi,
But it works on my end (screenshot: http://s3.amazonaws.com/feather-files-aviary-prod-us-east-1/5c5f873d5/2018-09-23/64bd3541bc6c4133b2c34dce7e5763e6.png ). The red marker is now hidden and the directions button is also hidden (blue arrow). Please try to clear the browser cache again, maybe try to view the map with another browser.
Best regards,
PeterHey hazelallturf,
Enfold does not include all fontello icons, however you can import additional fontello icon sets (see https://kriesi.at/documentation/enfold/icon/#adding-your-own-fontello-or-flaticon-icons-
Afterwards you can use the code such as U+E801 to change the icon but you probably need to change the font-family value too (by default it’s entypo-fontello but it can vary ( https://kriesi.at/documentation/enfold/icon/#how-to-find-the-icon-unicode )
Best regards,
PeterHi,
Please add this code to your child theme functions.php – it will add the noopener attribute to all partner widget links:
function avia_add_noopener_to_links(){ ?> <script type="text/javascript"> (function($) { $('.avia_partner1, .avia_partner2').each(function(){ var a = $(this); var originalRel = (this.rel === undefined) ? '' : this.rel.toLowerCase(); var newRel = originalRel.split(" "); if (originalRel.indexOf('noopener') === -1) newRel.push('noopener'); a.attr('rel', newRel.join(" ").trim()); }); })(jQuery); </script> <?php } add_action('wp_footer', 'avia_add_noopener_to_links');
Best regards,
PeterSeptember 23, 2018 at 9:05 am in reply to: enable woocommerce_after_single_product on Avia Layout Builder #1013250Hey MonumentBrandsLLC!
We’ll continue here: https://kriesi.at/support/topic/avia-layout-builder-not-allow-hooks/
Regards,
PeterHey MonumentBrandsLLC,
You can’t enable the hook directly but you can use this code to add the facebook pixel to the avia page builder content:
function avia_single_product_page_mod($content) { if (is_product()) { /* Insert your code here */ } return $content; } add_filter('avia_builder_precompile', 'avia_single_product_page_mod', 10, 1 );
Replace
/* Insert your code here */
with your facebook pixel code.
Best regards,
PeterHi,
You can use this css code to truncate the titles:
h3.slide-entry-title.entry-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
Best regards,
PeterHey ahouglum,
Please open up enfold/config-templatebuilder/avia-shortcodes/codeblock.php (you can use the wordpress code editor – Appearance > Editor) and delete the entire code in the file. Then copy the code from here: https://pastebin.com/raw/6UgNAdLx into the file and save it. This should fix the issue. The next theme update will contain the fix.
Best regards,
PeterHi,
First, please excuse the late reply.
1) Please use this code to add a border to the products:
.entry-content-wrapper ul.products li { border: 1px solid #C0C0C0; border-radius: 3px; }
The border-radius attribute creates round corners with a radius of 3px.
2) You can align the buttons with following code:
#top .avia_cart_buttons .button { padding: 3px 0px; } #top #wrap_all a.button.ajax_add_to_cart { text-align: left; } #top #wrap_all a.button.show_details_button { text-align: right; }
Best regards,
PeterSeptember 23, 2018 at 8:35 am in reply to: What to scripts to 'exclude from autoptimize' plugin. #1013233Hi,
I fixed it by adding jquery.js to the excluded script list. If jquery is not excluded autoptimize loads it after some other scripts which require jquery.
Best regards,
PeterHi czar!
Glad you solve the issue :)
Regards,
PeterHi!
Glad you found the right code :)Regards,
PeterHey!
Great, glad you found a solution :)Cheers!
PeterSeptember 22, 2018 at 11:30 pm in reply to: Google Search Console 403 error on directory wp-content/themes/enfold/framework #1013166Hi,
You can add a index.html to the folder. In addition you should disable directory listing to block users from browsing your directories. This article will help you: https://www.wpsuperstars.net/how-to-disable-directory-browsing-wordpress/ (if you’re not using Apache see https://www.netsparker.com/blog/web-security/disable-directory-listing-web-servers/ )
Best regards,
PeterHey gatehealing,
Please try to replace the “ImageObject” property with “image”. Open up the child theme functions.php and add this 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; }
Don’t forget to purge or remove the cache and do a hard refresh before testing the page.
Best regards,
PeterHi,
The issue is caused by the (outdated) LayerSlider version which is bundled with Enfold. The next theme update will include the updated LayerSlider plugin and then the update notice will disappear. If you want to update LayerSlider immediately you need to purchase a standalone plugin license here: https://codecanyon.net/item/layerslider-responsive-wordpress-slider-plugin/1362246
If you’re not using LayerSlider you can also deactivate the plugin. Go to Enfold > Theme Options > Layout Builder and select “Remove theme plugin files and slides” from the “Integrated (Bundled) LayerSlider Plugin” dropdown.
Best regards,
PeterSeptember 22, 2018 at 11:15 pm in reply to: RESOLVED…on it's own -How to replace the Enfold logo with mine on the menu bar #1013157Hey Tiaserre,
Glad you found a solution :)
Best regards,
PeterHi,
I can understand your frustration but I do not consider this a popular combination. Popular plugins (which we support) are WooCommerce, BBPress, Yoast SEO, etc. If I search our Enfold forum with over 686,340 posts I get less then 50 relevant posts, around 20 of them are part of this thread. All page builders (Enfold’s ALB or Thrive Architect Builder) are very complex, hard to debug and even harder to debug if you’re not familiar with the code. It’s a question of time and resources on both sides and I do not consider this as finger pointing – the question is where to set the priority.That said – when I find some spare time I’ll contact the plugin developers and ask them to send me a copy (we can send them a copy of Enfold too btw). Maybe I’m lucky and can find the culprit.
One possible reason I can think of could be a missing media script – this script is deactivated by default since Enfold 4.4.x (to increase the loading performance). You can activate it again by adding this code to your child theme functions.php:
add_filter( 'avf_enqueue_wp_mediaelement', 'avia_always_load_mediaelement', 10, 2); function avia_always_load_mediaelement($condition, $options) { $condition = true; return $condition; }
You also need to modify the functions.php file of the parent theme – this customization won’t be necessary with the next theme update. Open up enfold/functions.php and replace:
$condition = !( isset($options['disable_mediaelement']) && $options['disable_mediaelement'] == "disable_mediaelement" ) && av_video_assets_required();
with
$condition = !( isset($options['disable_mediaelement']) && $options['disable_mediaelement'] == "disable_mediaelement" ) && av_video_assets_required(); $condition = apply_filters( 'avf_enqueue_wp_mediaelement', $condition, $options );
Best regards,
PeterHi,
Enfold ships with the advanced layout builder which is deeply integrated into the theme framework and which may conflict with other page builders. There’s (at least) no fix from our side.Best regards,
PeterHi,
No, you can use ftp to overwrite the existing wordpress files – this won’t affect the plugin or theme data. You can follow the step-by-step guide here: https://codex.wordpress.org/Upgrading_WordPress#Step_1:_Replace_WordPress_files
Best regards,
PeterHi,
Please check if the slug “portfolio” or “features” is already used for a category, post, tag, etc.
I now changed the custom permalink structure (Settings > Permalinks) to /%category%/%postname%/ which should solve the issue even if more entries use the same slug.Best regards,
PeterHi,
To be honest I also don’t know why it’s not working. You could try to add some id selectors to your code like:
#top #wrap_all .wpcf7 input, #top #wrap_all .wpcf7 textarea { font-family: 'Montserrat', 'HelveticaNeue', 'Helvetica Neue', Helvetica, Arial, sans-serif !important; }
to make the rule more specific.
Best regards,
PeterHi,
Great, glad I could help you :)
Best regards,
PeterHey!
Gerne, ich wünsche noch einen schönen Abend!
LG,
PeterHi info224!
I added this code to the quick css field to solve both issues:
#top #wrap_all .wpsl-gmap-canvas img[src*="red@2x"], #top #wrap_all .wpsl-icon-direction { display: none !important; }
I had to purge the server cache (Admin Bar > Performance > Purge All Caches)
Cheers!
PeterSeptember 22, 2018 at 8:09 pm in reply to: Problem Updating Enfold: "Download failed. Problem downloading theme" #1013122Hey!
This article may help you with the ftp update: https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#update-via-ftp
Best regards,
PeterHey robaldo!
Füge bitte diesen Code in die child theme functions.php ein, um den Code im head-Bereich einzufügen:
function avia_header_scripts_custom(){ ?> <meta name="referrer" content="no-referrer"> <?php } add_action('wp_head', 'avia_header_scripts_custom');
Cheers!
PeterHi!
Great, glad I could help you :)Regards,
PeterHi,
Great, glad I could help you :)
Best regards,
Peter -
AuthorPosts