Forum Replies Created
-
AuthorPosts
-
Hey!
I just marked the post as read (by me) – probably this triggered the e-mail notification.
Best regards,
PeterHi,
Great, glad it works now :)
Best regards,
PeterSeptember 18, 2018 at 3:15 pm in reply to: Google Map API issue (works on one site but not another) #1011336Hi!
No, I haven’t report this issue yet.
Best regards,
PeterSeptember 18, 2018 at 3:11 pm in reply to: ajax search function show information although search item existing #1011334Hey elsengold,
The default ajax search does not incclude products, etc. If you want to enhance the search algorithm you can install a plugin like Relevanssi ( https://de.wordpress.org/plugins/relevanssi/ ). Then add this code to your child theme:
add_filter('avf_ajax_search_function', 'avia_init_relevanssi', 10, 4); function avia_init_relevanssi($function_name, $search_query, $search_parameters, $defaults) { $function_name = 'avia_relevanssi_search'; return $function_name; } function avia_relevanssi_search($search_query, $search_parameters, $defaults) { global $query; $tempquery = $query; if(empty($tempquery)) $tempquery = new WP_Query(); $tempquery->query_vars = $search_parameters; relevanssi_do_query($tempquery); $posts = $tempquery->posts; return $posts; }
to use Relavanssi for the ajax search too.
Best regards,
PeterHi!
Glad I could help you :)Regards,
PeterHi,
What exactly doesn’t work now? Please try to clear the performance cache (Go to Enfold > Theme Options > Performance and set the css and js compression to disabled.If this still doesn’t solve the issue please create me an admin account and I’ll look into it.
Best regards,
PeterHi,
I’d ignore these warning as long as the maps are displayed.
And I still see the jquery error loading on the page below before the map loads, so there is still something weird going on.
I think this is some sort of fallback screen which is always visible before the map is fully loaded. After the map loaded it covers the fallback message.
You can also add this code to the child theme functions.php to deactivate the theme maps api:
add_filter('avf_load_google_map_api_prohibited', 'avf_load_google_map_api_prohibited_true', 10, 1); function avf_load_google_map_api_prohibited_true($prohibited) { $prohibited = true; return $prohibited; }
It may break the theme maps – so be careful and check if the theme maps work afterwards.
Best regards,
PeterHi,
You can copy the settings from the parent theme to the child theme. Go to Enfold > Theme Options > Import/Export and click on the “Import Parent Theme Settings” button.
Best regards,
PeterSeptember 18, 2018 at 1:54 pm in reply to: HTTP 500 error after update, have tried your recommendations, still not working #1011285Hi,
To be honest I don’t think this is possible. We update the framework folder and the template files regularly and if some parts are missing you’ll get 500 errors too.
Best regards,
PeterHi,
You can use the “supports” parameter to add revision support to your cpt (see https://codex.wordpress.org/Function_Reference/register_post_type ). Use it like:function codex_custom_init() { $args = array( 'public' => true, 'label' => 'Books', 'supports' => array( 'title', 'editor', 'revisions' ) ); register_post_type( 'book', $args ); } add_action( 'init', 'codex_custom_init' );
Best regards,
PeterHi,
Glad we could help you :)
Best regards,
PeterHi!
You can try this code to exclude the current page/post from the grid:
add_filter( 'avia_post_grid_query', 'avia_post_grid_query_mod', 10, 2); function avia_post_grid_query_mod( $query, $params ) { global $post; $query['post__not_in'] = array($post->ID); return $query; }
Best regards,
PeterSeptember 18, 2018 at 11:25 am in reply to: Tab Section Inner Content Height – Not Showing all Content #1011211Hi,
Please try to add this code to the functions.php file (you can insert it at the very bottom):
add_action('wp_footer', 'ava_auto_resize_tab'); function ava_auto_resize_tab(){ ?> <script> (function($){ var int = window.setInterval(function(){ $(window).trigger('resize'); $(window).trigger('av-content-el-height-changed'); }, 1000); })(jQuery); </script> <?php }
Best regards,
PeterSeptember 18, 2018 at 11:23 am in reply to: Problem Updating Enfold: "Download failed. Problem downloading theme" #1011210Hi,
Please create me an admin account and I’ll look into it.
Best regards,
PeterSeptember 18, 2018 at 11:22 am in reply to: Cannot get working get_locale() inside function. #1011209Hi,
Great, glad it works now :)
Best regards,
PeterHi,
I just tested your website and the search bar styling seems to be correct even if the Better WordPress Minify Plugin is disabled. Please try to clear your browser cache and check the website again.Best regards,
PeterSeptember 18, 2018 at 11:15 am in reply to: Cannot get working get_locale() inside function. #1011205Hey mrpacogp,
Did you try to use the ICL_LANGUAGE_CODE constant instead – you can use it like
if (ICL_LANGUAGE_CODE == 'en') { //english here } else { //other languages }
Best regards,
PeterHi,
We can’t recommend a certain person but https://codeable.io/ is a good resource for professional freelancers.
Best regards,
PeterHi,
I changed the border width to 4px (you can see it better now) and also changed the color. I added this code to the very bottom of the quick css field:
.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text { border-left-width: 4px; border-color: #4a6616; }
for all (!) languages.
Best regards,
PeterSeptember 18, 2018 at 10:57 am in reply to: Password-Protect Page Not Working in Google Chrome #1011195Hi,
If I stumble over a solution for your problem I’ll let you know asap.
Best regards,
PeterHi,
You can modify avia.js to deactivate the lightbox and the hover effect on a certain page. Open up enfold/js/avia.js and replace:
if($.fn.avia_activate_lightbox){ $(container).avia_activate_lightbox(); }
with
if($.fn.avia_activate_lightbox && !($("body").hasClass("page-id-511"))){ $(container).avia_activate_lightbox(); }
to deactivate the lightbox on your galerie page (page with the id 511).
Then replace:avia_hover_effect(container);
with
if( !($("body").hasClass("page-id-511")) ){ avia_hover_effect(container); }
Best regards,
PeterHi,
– The datepicker format kinda worked for the form itself.
Yes it only changes the date format in the form field, not the e-mail data. There’s no real fix for this because the jquery date picker plugin converts the data bac-k to the standard format.– Funny enough its still returning “false” replies, even though “true” is successfully coming through as “yes“.
I created a second form to test this and I couldn’t reproduce the issue. I modified the enfold/framework/php/class-form-generator.php and then tested the checkboxes with the form here: http://bonjour.tt-develop.de/reservierungen/referenten-checkliste.html (form at the bottom). If you i.e. just check the first checkbox the result should beE-Mail: (Email address hidden if logged out) Nachricht: Your Message Test: ja
– for some strange reason I can only fill in the form once with a successful mail going out.
I wasn’t able to reproduce this issue but it sounds like a cache issue.Personally I’d recommend to use a dedicated contact form plugin like Formidable or Contact form 7 for your reservation form. These plugins enable you to style and modify the e-mails and you can also send out nice html e-mails to your customers (for contact form 7 you can use this plugin: https://wordpress.org/plugins/cf7-html-email-template-extension/ ). Our contact form is not intented to be used as complex reservation form and you probably won’t be able to style the e-mail/data user friendly way.
Best regards,
PeterHi,
If you use ftp make sure to replace the entire theme folder. If you just overwrite the existing files you’ll get a blank page (500 error – which is the case on your website). Connect to ftp, go to wp-content/themes and rename the theme folder “enfold” to “enfold_bak”. Then download the new files from themeforest, unzip the theme files and upload them to wp-content/themes/enfold. Make sure the style.css file is located in wp-content/themes/enfold (file path wp-content/themes/enfold/style.css). If the theme works, you can simply delete the enfold_bak folder. If not, delete the enfold folder and rename enfold_bak to enfold.
Best regards,
PeterHi,
Glad I could help you :)
Best regards,
DudeHey Guenter,
Probably the easiest solution to make the link not clickable would be to use a css class. Use this css code:
#top .youtube-link a.lightbox-added{ pointer-events: none; cursor: default; }
to deactivate the link event by default. Then this code:
$('.youtube-privacy:checkbox').change(function() { if (this.checked) { $('#top .youtube-link a.lightbox-added').css({"pointer-events" : "auto", "cursor" : "auto" }); } else { $('#top .youtube-link a.lightbox-added').css({"pointer-events" : "none", "cursor" : "default" }); }
to change it based on the checkbox state.
Best regards,
PeterHi,
I deactivated the plugin now and added this code to the enfold/functions.php to embed your javascript in the head section:
function avia_header_scripts_custom(){ ?> <!-- start number replacer --> <script type="text/javascript"><!-- vs_account_id = "CtjSf1bhz2lKbgDG"; //--></script> <script type="text/javascript" src="//calls.propelmarketing.com/euinc/number-changer.js"> </script> <!-- end ad widget --> <?php } add_action('wp_head', 'avia_header_scripts_custom');
The code should replace the plugin and you don’t need to activate it again.
I fixed the slider issue with css code (quick css field):
.cycloneslider-template-default .cycloneslider-slide.cycle-slide-active { opacity: 1 !important; }
Best regards,
PeterSeptember 18, 2018 at 8:35 am in reply to: portfolio item showing error in Masonry with WPML #1011138Hi,
Can you please assign all products you want to show in the grid to a portfolio category (English and Chinese entries/categories). At the moment only one product is assigned to the English categories and no Chinese product is assigned to a Chinese category. The grid can only query products based on their category. If no category is assigned all entries will be queried in all languages which gives you random results.
I attached a link to our developer build which fixes all known wpml incompatibility issues. If you still experience issues after assigning categories to your portfolio entries please install the dev build via ftp ( https://kriesi.at/documentation/enfold/how-to-install-enfold-theme/#reinstall-or-update-using-ftp ) and I’ll check the grid again.
Best regards,
PeterHi,
Please note you need to wait some seconds (2-3 seconds) until you click on an item. Otherwise the ajax portfolio data is not initialized and this can break the portfolio. You can activate the preloader effect (Enfold > Theme Options) if you want to make sure that your users can’t click on an item before the page content is loaded.
Best regards,
PeterHey Tima,
In this case I’d recommend to use the Post Type Order plugin: https://wordpress.org/plugins/post-types-order/ – it enables you to re-order all entries via drag’n’drop.
Best regards,
PeterHey!
Great, glad I could help you :)Best regards,
Peter -
AuthorPosts