Forum Replies Created
-
AuthorPosts
-
Hi,
Just place the heading markup above the previous code that was just added.
global $post;
Something like this should work.
echo "<h3>Related posts<h3>";
Best regards,
IsmaelHi,
Thanks for the update.
You can use this css code to display the menu text.
.av-hamburger strong { display: block; position: absolute; left: -50px; top: -77px; }
Best regards,
IsmaelHi,
The latest version is 4.5.5. You may need to update the theme manually this time.
// https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp
We’ll close the thread for now because it’s getting a bit too lengthy. Please open a new one if the issue is not resolved after the update.
Best regards,
IsmaelHi,
Thanks for the update.
Try to use this filter in the functions.php file:
if(!function_exists('avia_woocommerce_set_follow')) { function avia_woocommerce_set_follow($meta) { if( is_product_category() || is_shop() ) { $meta = '<meta name="robots" content="index, follow" />' . "\n"; } return $meta; } add_filter('avf_set_follow','avia_woocommerce_set_follow', 10, 1); }
The snippet should set the product category and shop pages robots meta to index, follow.
Best regards,
Ismael-
This reply was modified 6 years, 3 months ago by
Ismael.
March 31, 2019 at 10:51 pm in reply to: WPML Language Switcher is not displayed correctly in mobile Menu #1085196Hi,
Thank you for using Enfold.
You can adjust the size of the logo for smaller screens to create more room for the language switcher.
@media only screen and (max-width: 480px) { .responsive .logo a img { height: 35px !important; top: 5px; } }
Best regards,
IsmaelHi,
Thanks for the update.
Is that the exact text in the message? Try to use this filter in the functions.php file.
function avf_form_message_mod($message) { $excludes = array( "Ich stimme der Speicherung meiner Daten zur weiteren Verarbeitung, gemäß der Datenschutzerklärung, zu.: true", "Remove this" ); foreach( $excludes as $remove ) { $message = str_replace( $remove, '', $message ); } return $message; } add_filter('avf_form_message', 'avf_form_message_mod', 10, 1);
That should remove the text.
Best regards,
IsmaelHey Bozzy78,
Thank you for using Enfold.
How did you modify the file? Try to edit the single.php file. Look for the following code.
//show related posts based on tags if there are any get_template_part( 'includes/related-posts');
And then replace it with:
$post = get_post( 23 ); // id of the custom related posts page if( ( $post instanceof WP_Post ) && ( $post->ID != get_the_ID() ) ) { /** * Make sure that footerpage is set to fullwidth */ $old_avia_config = $avia_config; $avia_config['layout']['current'] = array( 'content' => 'av-content-full alpha', 'sidebar' => 'hidden', 'meta' => '', 'entry' => '', 'main' => 'fullsize' ); $builder_stat = ( 'active' == Avia_Builder()->get_alb_builder_status( $post->ID ) ); $avia_config['conditionals']['is_builder'] = $builder_stat; $avia_config['conditionals']['is_builder_template'] = $builder_stat; $content = Avia_Builder()->compile_post_content( $post ); $avia_config = $old_avia_config; /* was removed in 4.2.7 before rollout - should not break the output - can be removed completly when no errors are reported ! * <div class='container_wrap footer_color footer-page-content' id='footer'> */ echo $content; }
Replace the value of the get_post function inside the $post with the ID of your custom related posts page.
Best regards,
IsmaelMarch 31, 2019 at 10:26 pm in reply to: Main menu, color underline when hovering (like the one that is present on active #1085189Hi,
Try to set the bottom position value of the avia-menu-fx container to 13px.
bottom: 13px;
And pull the sub menu container upwards using this css code.
.av-main-nav ul { margin-top: -15px; }
Best regards,
IsmaelHi,
Awesome! Glad it worked. Please don’t hesitate to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
You have to setup the map API key for the plugin separately.
// https://support.theeventscalendar.com/362858-Setting-Up-Your-Google-Maps-API-Key
Best regards,
IsmaelHi,
Great. Let us know if you need anything else. Have a nice day.
Best regards,
IsmaelMarch 31, 2019 at 9:58 pm in reply to: Total zerschossen – WordPress Update Gutenberg & Theme Update funktioniert nicht #1085178Hi,
Thank you for using Enfold.
You can actually disable the block editor from the theme options. Look for the Enfold > Theme Options > Select Your Editor settings. Choose the second option to disable the Gutenberg editor.
Best regards,
IsmaelHi,
Thanks for the update.
The style attribute of the second icon set is broken. Do you mind if we access the dashboard? We would like to checking the settings.
Best regards,
IsmaelHi,
That filter is going to change the product sorting directly. It’s not going to add a random sorting option in the element editor if that is what you’re expecting.
Best regards,
IsmaelMarch 31, 2019 at 9:48 pm in reply to: Advanced Layout Builder stuck in load phase in one specific page #1085174Hey 2SPRO,
Thank you for using Enfold.
Did you add any custom html, snippets or scripts in that page? Please make sure that the html tags are closed properly and that the scripts are valid or free from errors.
Best regards,
IsmaelMarch 31, 2019 at 9:46 pm in reply to: WooCommerce 'Return to Cart' button to link to new page #1085172Hey Annedesign,
Thank you for using Enfold.
You don’t have to create the plugin if you’re using a child theme. Just keep the code in the functions.php file. If you prefer the plugin, then you have to remove the code in the functions.php file to prevent duplication of the code.
Glad to hear that you’re enjoying the theme.
Best regards,
IsmaelMarch 31, 2019 at 9:42 pm in reply to: How do I insert a screen-wide email optin box and make it look good? #1085171Hey lmackinnon,
Thank you for using Enfold.
You can insert the aweber snippet into a text block and then place the block inside a grid row element.
Best regards,
IsmaelHey Pas7o,
Thank you for using Enfold.
You have to remove the following css code or wrap it inside a css media query if you intend to change the background of the submenu on desktop view.
#top #wrap_all .sub-menu { background: #002fa7; }
Best regards,
IsmaelMarch 29, 2019 at 12:36 pm in reply to: Please Stop Enfold Generating So Many Images Sizes for Every Image #1084548Hi,
Thanks for the update.
Then they block the account until you contact them
You should probably move to a different host then. They should know how WordPress handles images. Are you uploading images on a regular basis?
Enfold however kicks that up to 12+
A default theme doesn’t offer new elements or shortcodes, so it doesn’t really need that many thumbnails. The theme on the other hand has to generate thumbnails for a slider, color section, masonry, portfolio items etc. I’m sure you get the point.
rather than recommending child themes and functions hacking and adding third party plugins
Using the child theme to override existing functions is not “hacky” nor using a third party plugin. That’s how WordPress works. Why would you develop something from scratch if there is an available tool out there that can do the same thing?
for instance Enfold adds sizes for portfolio, if I am not a photography site I probably wont have a portfolio section and I am likely to never use portfolio image sizes so I don’t need the portfolio size images generated
We provided you with a filter that can do just that. You can also use a third party plugin if you don’t want to get into coding or use a snippet in the functions.php file.
Best regards,
IsmaelHi,
Thanks for the update.
Use this filter in the functions.php file to exclude the current post.
add_filter('avia_post_slide_query','avia_post_slide_query_mod', 10, 2); function avia_post_slide_query_mod($query, $params) { if(is_singular('post')) { $query['post__not_in'] = array(avia_get_the_ID()); } return $query; }
Best regards,
IsmaelHi,
Thanks for the update.
Can you provide a screenshot of the overlap issue? We can’t reproduce it on our end. You can upload the screenshot to imgur or dropbox.
Best regards,
IsmaelHi,
You should try adding the css code in the General Styling > Quick CSS field. And don’t forget to toggle the Performance > File Compression settings afterwards.
Best regards,
IsmaelHey Lara,
Thank you for using Enfold.
Are you expecting it to render automatically because it’s the parent page? You have to manually add that page in the “Career subnav” menu.
Best regards,
IsmaelHey jamesbarren,
Thank you for using Enfold.
You can enable the Google ReCAPTCHA option in the Enfold > Google Services panel on version 4.5.5. All you need is a API key pair for v2 or v3, which can be generated from the recaptcha admin console.
Best regards,
IsmaelMarch 29, 2019 at 3:13 am in reply to: Main menu, color underline when hovering (like the one that is present on active #1084406Hi,
Thank you for using Enfold.
This css code should display the menu-fx container or menu underline on hover.
.avia-menu li:hover a .avia-menu-fx { position: absolute; bottom: -1px; height: 2px; z-index: 10; width: 100%; left: 0; opacity: 1; visibility: visible; }
Best regards,
IsmaelHi,
Thanks for the update.
The admin_ajax.php file is currently not accessible. Please try to deactivate the plugins temporarily and ask your hosting provider if the mod_sec/mod_security module blocks or blacklists the said file. Is the site hosted on GoDaddy?
admin-ajax.php:1 Failed to load resource: the server responded with a status of 403 (Forbidden)
Best regards,
IsmaelMarch 29, 2019 at 2:53 am in reply to: Installing latest version to correct Woo Commerce error #1084387Hi,
Did you add the image as a layer? Try to set it as the slider background or create another layer using the same image and then toggle both layers’ device visibility. Also, you have the option to hide the layer slider on mobile view and replace it with a different slider or element.
Best regards,
IsmaelMarch 29, 2019 at 2:43 am in reply to: Google PageSpeed Insights "Properly size images" message full width easy slider #1084378Hey weathertight,
Thank you for using Enfold.
That is the default behavior of the sliders. It can’t load different versions of the image based on the screen or device width. We can add the srcset attribute to an image tag, but the images in the slider are set as background, so that’s not possible. With that said, what you can do is make sure that the images in the slider are fully optimized having the smallest size possible without losing quality.
// https://kriesi.at/archives/4-key-wordpress-image-optimization-tips
You can read more about site optimization in the following link.
// https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow
Best regards,
Ismael -
This reply was modified 6 years, 3 months ago by
-
AuthorPosts