Forum Replies Created
-
AuthorPosts
-
Hi,
I changed your code to this:add_action( 'ava_after_main_container', 'ava_after_main_container_mod', 10 ); function ava_after_main_container_mod() { if ( !is_front_page() ) { $output = ''; $output .= do_shortcode('[rev_slider alias="routiers-cvfl"][/rev_slider]'); echo $output; } if ( is_front_page() ) { $output = ''; $output .= do_shortcode("[av_image src='https://routiers-cvfl.li/wp-content/uploads/2023/01/schloss-gutenberg.jpg' attachment='3159' attachment_size='full' copyright='' caption='' image_size='' styling='' align='center' font_size='' overlay_opacity='0.4' overlay_color='#000000' overlay_text_color='#ffffff' animation='no-animation' hover='' appearance='' link='' target='' title_attr='' alt_attr='' img_scrset='' lazy_loading='disabled' id='' custom_class='' template_class='' av_element_hidden_in_editor='0' av_uid='' sc_version='1.0' admin_preview_bg=''][/av_image]"); echo $output; } }
This shows the slider on all pages except the homepage, on the home page it shows the image you asked for, but it could show a different slider if you wished.
Best regards,
MikeHi,
Thanks for the video and the explanation, this is due to the :focus color, please try this css:.header_color .main_menu .menu ul li a:focus, .header_color .av-subnav-menu ul a:focus { background-color: #EAEFF4; color: #808285; }
feel free to adjust to suit, after applying the css, please clear your browser cache and check.
Best regards,
MikeHi,
It looks like we both wrote at the same time, so I reopened the thread. We don’t have a way to make the blog element show 6 columns, if you want to manually create 6 columns you can follow our documentation: Six Columns or more.
Unless there is anything else we can assist with on this issue, shall we close this then?Best regards,
MikeHi,
Thanks for the FTP access but I don’t see anything that might cause this, perhaps one of the WordPress files is corrupt, does your server have a backup of when the site was working that you can roll back to? Most servers make automatic backups monthly.Best regards,
MikeHi,
For the top image, I would recommend creating a LayerSlider so it will be full width and under your transparent header, for the other images it might be easier to make them with an angle before uploading them.Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Thanks for the login I found the you didn’t have Privacy and Cookies ▸ Advanced Options ▸ Auto Reload Page enabled, I enabled it for you and now the contact form works when the cookies are accepted.
I set your contact form back to number captcha like you had it, please clear your browser cache and check.Best regards,
MikeJanuary 29, 2023 at 9:58 pm in reply to: wpmu object cache causes my newer blog posts to go blank #1395851Hi!
The Dev Team writes that /wp-content/uploads/avia_posts_css/ was prior 5.3 and was only kept for cache backward compatibility, and is no longer used and can be deleted after clearing the server cache and save theme options (forces rebuild of css files).Regards,
MikeHey the_digital_manager,
That is because gezichtsbehandelingen is a link to a page and on mobile for the parent menu item to expand to show the child items you have to show it so it can be clicked, otherwise cliking the menu item will take you to the page instead of showing the child items.
See the theme settings at Enfold Theme Options ▸ Main Menu ▸ Burger/Mobile Menu ▸ Clone title menu items to submenu
and read the notice:
Since you selected to display submenu items on click or on hover, the parent menu item does no longer navigate to the URL it contains, but toggles the visibility of its submenu items. If you want users to be able to open the parent menu URL the theme can create a clone of that item in the submenuBest regards,
MikeHey ilyas ghoul,
Glad to hear, it uses Enfold Responsive Multi-Purpose Theme, you can purchase it here.Best regards,
MikeHey the_digital_manager,
Thanks for your patience, but unfortunately the text field uses the WordPress function so there is not a way to disable this.
Try adding your second image as a data-url attribute like this:<img class="circular--square" src="https://mondzorgcentrum-winschoten.nl/wp-content/uploads/2023/01/lennie-van-vulpen-1-250x250px.jpg" data-url="https://mondzorgcentrum-winschoten.nl/wp-content/uploads/2023/01/lennie-van-vulpen-2-250x250px.jpg" />
WordPress will not remove this attribute when you try to re-edit the page as long as you edit in the text tab
Then add this code to the end of your child theme functions.php file in Appearance ▸ Editor to swap the images on hover:function swap_image_with_data_url() { ?> <script> window.addEventListener('DOMContentLoaded', function() { (function($){ $('.avia-testimonial-content').hover(function(e){ $(this).find('img').attr('data-src', $(this).find('img').attr('src')); $(this).find('img').attr('src', $(this).find('img').attr('data-url')); }, function(e){ $(this).find('img').attr('src', $(this).find('img').attr('data-src')); }); })(jQuery); }); </script> <?php } add_action('wp_footer', 'swap_image_with_data_url');
Now the images will change on hover and back on mouse-out
Please see my test page in the Private Content area.Best regards,
MikeHi,
Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:function avia_custom_query_extension($query, $params) { global $avia_config; if(!empty($avia_config['avia_custom_query_options']['order'])) { $query['order'] = $avia_config['avia_custom_query_options']['order']; } if(!empty($avia_config['avia_custom_query_options']['orderby'])) { $query['orderby'] = $avia_config['avia_custom_query_options']['orderby']; } unset($avia_config['avia_custom_query_options']); return $query; } add_filter('avia_masonry_entries_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_post_grid_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_post_slide_query', 'avia_custom_query_extension', 10, 2); add_filter('avia_blog_post_query', 'avia_custom_query_extension', 10, 2); add_filter('avf_magazine_entries_query', 'avia_custom_query_extension', 10, 2); add_filter('avf_template_builder_shortcode_elements','avia_custom_query_options', 10, 1); function avia_custom_query_options($elements) { $allowed_elements = array('av_blog','av_masonry_entries','av_postslider','av_portfolio','av_magazine'); if(isset($_POST['params']['allowed']) && in_array($_POST['params']['allowed'], $allowed_elements)) { $elements[] = array( "name" => __("Custom Query Orderby",'avia_framework' ), "desc" => __("Set a custom query orderby value",'avia_framework' ), "id" => "orderby", "type" => "select", "std" => "", "subtype" => array( __('Default Order', 'avia_framework' ) =>'', __('Title', 'avia_framework' ) =>'title', __('Random', 'avia_framework' ) =>'rand', __('Date', 'avia_framework' ) =>'date', __('Author', 'avia_framework' ) =>'author', __('Name (Post Slug)', 'avia_framework' ) =>'name', __('Modified', 'avia_framework' ) =>'modified', __('Comment Count', 'avia_framework' ) =>'comment_count', __('Page Order', 'avia_framework' ) =>'menu_order') ); $elements[] = array( "name" => __("Custom Query Order",'avia_framework' ), "desc" => __("Set a custom query order",'avia_framework' ), "id" => "order", "type" => "select", "std" => "", "subtype" => array( __('Default Order', 'avia_framework' ) =>'', __('Ascending Order', 'avia_framework' ) =>'ASC', __('Descending Order', 'avia_framework' ) =>'DESC')); } return $elements; } add_filter('avf_template_builder_shortcode_meta', 'avia_custom_query_add_query_params_to_config', 10, 4); function avia_custom_query_add_query_params_to_config($meta, $atts, $content, $shortcodename) { global $avia_config; if(empty($avia_config['avia_custom_query_options'])) $avia_config['avia_custom_query_options'] = array(); if(!empty($atts['order'])) { $avia_config['avia_custom_query_options']['order'] = $atts['order']; } if(!empty($atts['orderby'])) { $avia_config['avia_custom_query_options']['orderby'] = $atts['orderby']; } return $meta; }
This should add a new sorting field to your blog element, try choosing Ascending Order:
In my test before adding this my blog element grid put 1 at the bottom and 9 at the top
When I set the new option to Ascending Order it reversed the order:
Best regards,
MikeHi,
Unfortunately other users at OVH have reported that that host will not change the PHP settings.
OVH disables the set_time_limit() function, please see this thread.
Our demo import uses the WordPress import feature which uses this function so the import will not time out.
If you have experience with localhosts you could try installing the demo on a WordPress localhost and then use the Duplicator plugin to migrate/clone it to your OVH host.Best regards,
MikeJanuary 29, 2023 at 7:02 pm in reply to: Website has SSL, but my pictures are saved in http #1395837January 29, 2023 at 7:00 pm in reply to: Website has SSL, but my pictures are saved in http #1395835Hi,
I found this article that might help, give it a try.Best regards,
MikeHi,
Thanks for the login on your /prrc-dispositivi-medici/ page you had 3 special headings with strong tags in the title field that were not closed breaking the page layout:
This is why the theme warns about using HTML tags in the title fields and points to our documentation and a special plugin, please be very careful.
I tried to correct the error and was able to restore the layout but for some reason the grid cell background image and color didn’t restore, I thought it might be due to caching so I disabled your two caching plugins but that didn’t help, but I was able to create a new page and the grid cell background image and color did restore.
You may need to delete the original page and use the new page.
I checked your /mandatario-europeo/ page and it had the same problem, I was able to restore the layout but not the last grid cell background image and color, but I created a new page for it and it works correctly, You may need to delete the original page and use this new page also.Best regards,
MikeJanuary 29, 2023 at 5:50 pm in reply to: Website has SSL, but my pictures are saved in http #1395826January 29, 2023 at 5:06 pm in reply to: Website has SSL, but my pictures are saved in http #1395823Hi,
Thanks for the login, your WordPress ▸ Settings ▸ General ▸ WordPress Address is http:// so you need to change it to https:// Please see the screenshot in the Private Content area.
For some reason this is grayed out so it can’t me changed I have not seen this before, so try disabling all of your plugins and then see if you can change it, if not perhaps your webhost has added some code for “security” so ask them for help to change this.Best regards,
MikeJanuary 29, 2023 at 4:58 pm in reply to: Avia Layout Builder spinning as soon as I add a download button #1395822Hi,
Thanks for the login, the issue was your link to the PDF was http:// but your site uses SSL so changing the link to https:// solved.
Please check your WordPress ▸ Settings ▸ General ▸ Site Address and WordPress ▸ Settings ▸ General ▸ WordPress Address these both are missing the “s” for https://Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
You would need to use javascript to toggle the menu on click and it would be complicated to know if the click was to open a sub-menu item or go to the sub-menu url.
You should look for a menu plugin that will create this kind of menu and give you a shortcode to add to your pages.
I’m not sure what you mean by a protected area, you would need to explain in more detail.Best regards,
MikeJanuary 29, 2023 at 2:16 pm in reply to: ERROR IN SUSCRIPTION PLEASE HELP TO RENEW / TRANSFER THE OWNER OF THE ENFOLD THEME #1395810Hey HOOGVELD,
Thanks for your question but there are no users for any of those email addresses above, perhaps your client didn’t register for support yet?
Go to: Register a new account and enter your client’s Purchase Code
Then if he has not created a support account try entering your email address to create a support account.
We can not change the owner of the license in Envato’s system, so if your client has already created a support account with a different email then ask him for the login details so you can login.Best regards,
MikeHey Klaus,
Please include FTP access in the Private Content area so we can examine further.Best regards,
MikeHi,
I found that the file Guenni007 linked to added the navigation dots to my testimonial element, this is the steps that I followed to add it to my child theme. First I ensured that my child theme functions.php had this code:function avia_include_shortcode_template( $paths ) { if( ! is_array( $paths ) ) { $paths = array(); } $template_url = get_stylesheet_directory(); array_unshift( $paths, $template_url . '/shortcodes/' ); return $paths; } add_filter( 'avia_load_shortcodes', 'avia_include_shortcode_template', 15, 1 );
Then via FTP I added the directories /shortcodes/testimonials/
Then I downloaded Guenni007 linked file above
and uploaded it via FTP to my child theme testimonials directory so the structure from my child theme is like this:
/enfold-child/shortcodes/testimonials/testimonials.php
Then the css I used is:.responsive #top .avia-slideshow-dots.avia-slideshow-controls a { opacity: 1; } .avia-slideshow-dots a.active { background: #b0b0b0; } .avia-slideshow-arrows.avia-slideshow-controls { opacity: 0; }
This shows the navigation dots always and hides the navigation arrows:
Thank you Guenni007 for thaking the time to edit this file and sharing it with us 🙂Best regards,
MikeHi,
Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
MikeHi,
Unfortunately, I don’t have an iPad but when I test on browserstack.com/live on a iPad Pro 12 I don’t see the gap from the missing item:
Perhaps your iPad is still showing you the cache, Please note that testing with iPads & iPhones can be hard to clear the cache, often you need to also clear the history to fully purge the cache, following these steps for Safari and note Step 4 where you will Clear the History.Best regards,
MikeHi,
Try this css:#top.home #av_section_3 .avia-content-slider .slide-entry img { width: 100%; }
or could change the size-medium image to 400px with Simple Image Sizes and then Regenerate Thumbnails.
Best regards,
MikeHi,
Thanks for the link to your site, I see your PHP time limit is 165, please change to 300, and your Max input time is a negative number (-1) please change to 300 also, then try again.
If that doesn’t help try manually importing the demo.Best regards,
Mike -
AuthorPosts