Forum Replies Created
-
AuthorPosts
-
Hey Zaheer Ahmad,
We didn’t create this theme.
Best regards,
PeterSeptember 28, 2018 at 8:31 am in reply to: Sort category filter by slug in masonry portfolio #1015611Hi,
Ich habe den Wert der resize Animation (siehe Code von oben) jetzt auf 1500 reduziert, dadurch sollte es nach dem Ladedprozess nicht mehr “zittern”. Während des Ladeprozesses lässt es sich nicht verhindern, da durch die zusätzlichen Elemente (zB des “Read more” Buttons, welcher dynamisch eingefügt wird) die Breiten und Höhenwerte neu kalkuliert werden und dies zu einer Positionsveränderung führen kann.
LG,
PeterHey barak97,
Please add this code to your child theme functions.php file to change the version number to the latest version ( https://developers.google.com/maps/documentation/javascript/releases ):
add_filter( 'avf_google_maps_source', 'avia_maps_version_number', 10, 1); function avia_maps_version_number( $api_src ) { $api_src['version'] = '3.34'; return $api_src; }
Best regards,
PeterHi,
Yes you’re right – the code is only required for the default footer widget areas which were created before version to 3.1. Your “second row” code won’t be affected by the code and doesn’t require it.
Best regards,
PeterHey!
@Guenni your solution won’t work here because the problem is not the file type or download link per se.
@Efke – please read my last post carefully – I already answered your first question: https://kriesi.at/support/topic/link-to-a-pdf-document/#post-1015270
I don’t know if you can change the url – maybe you can do it in the plugin settings or purchase a premium addon for this feature. I’d recommend to talk to the plugin author.
Regards,
PeterSeptember 27, 2018 at 3:28 pm in reply to: I want to make a review tab in every single product on woocomerce. #1015328Hi,
1) WooCommerce reviews use the WordPress comment system to hook into WP. This means that the WooCommerce reviews will (by default) display in the same order that WordPress comments display. And this is something that can easily be configured via your WordPress settings, at the following location:
WP Admin > Settings > Discussion
Here there is a line which reads “Comments should be displayed with the [Older] comments at the top of each page” – change the [Older] to [Newer] and hit “Save Changes” at the bottom of this settings page and you’ll have just reversed the order of your comments.
2) You can hide the avatars with following code:
#top div #reviews #comments ol.commentlist li .avatar { display: none; }
Best regards,
PeterHi,
Yes, tbh I don’t know why it’s not working for you. It seems to be a plugin issue because it should not duplicate the field but overwrite the content.
In this case I’d recommend to set it manually or to use the code I posted here: https://kriesi.at/support/topic/breadcrumbs-according-to-session/#post-1014871
Another solution (if you don’t want to set the breadcrumb page for each post manually) would be to use a plugin like: https://wordpress.org/plugins/post-duplicator/ to duplicate the portfolio items. Then you just need to set up one item, click the “Duplicate post” button and it will copy the post content, including all custom fields (also the breadcrumb parent field) to a new entry. You then just need to alter the headline, images and content and you don’t need to care about the other option fields.
Best regards,
PeterHi,
You can try to create a custom footer page. Create a new page, then add a fullwidth map to it. You can also add other elements (fullwidth section with columns, textblocks, etc.) to the page. Then save it and go to Enfold > Theme Options > Footer and select the page as footer page (Select page dropdown).Best regards,
PeterHi,
I get the error
You have exceeded your request quota for this API. See https://developers.google.com/maps/documentation/javascript/error-messages?utm_source=maps_js&utm_medium=degraded&utm_campaign=billing#api-key-and-billing-errors
in the console. The error indicates a self-imposed daily limit has been exceeded or no billing account is set up. Please go to this page: https://console.developers.google.com/google/maps-apis/apis/maps-backend.googleapis.com/quotas and this page: https://console.developers.google.com/google/maps-apis/apis/geocoding-backend.googleapis.com/quotas and check your quotas. The contingent per day must be set to a reasonable value (i.e. 500).
Best regards,
PeterHi,
Please use this code in your child theme functions.php to remove the search icon (from the menu):
add_action('init', 'avia_remove_search', 10); function avia_remove_search() { remove_filter( 'wp_nav_menu_items', 'avia_append_search_nav', 9997, 2 ); remove_filter( 'avf_fallback_menu_items', 'avia_append_search_nav', 9997, 2 ); }
You can then add the search widget to the sidebar to display the standard wordpress search form.
Best regards,
PeterHi,
I replaced “gplus-1” with “gplus” which is the id of the Google Plus icon.
Best regards,
PeterHi,
Yes but the theme does not generate these urls. It seems like the search engine tries to follow the search link – the href of the link is only “?s=” but the search engine interprets it as a relative url which then results in https://mywebsite.com/?s=
Best regards,
PeterSeptember 27, 2018 at 1:31 pm in reply to: Move website to new folder/domain – images, custom content etc wont show or work #1015271Hey rikkeshansen,
We use serialized data to store the theme settings and post meta data and you can’t simply replace the url in the database. I recommend to use https://wordpress.org/plugins/better-search-replace/ to batch replace the urls in the database to solve the issue. Simply replace all occurrences of http://olddomain.com with http://newdomain.com in your database.
Best regards,
PeterHi!
I think the link per se is not the problem but your download manager plugin restricts the access to the file. You need to replace the url of the file with the url I posted in the private field/content
Regards,
PeterHi,
Please try to add this code to your child theme functions.php:
<script id='avia_gmaps_framework_globals' type='text/javascript'> /* <![CDATA[ */ var avia_framework_globals = avia_framework_globals || {}; avia_framework_globals.gmap_api = '[YOURAPIKEY (with no spaces)]'; avia_framework_globals.gmap_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=[YOURAPIKEY (with no spaces)]&callback=aviaOnGoogleMapsLoaded'; avia_framework_globals.gmap_builder_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=[YOURAPIKEY (with no spaces)]&callback=av_builder_maps_loaded'; avia_framework_globals.gmap_backend_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.30&callback=av_backend_maps_loaded'; avia_framework_globals.gmap_source = 'https://maps.googleapis.com/maps/api/js?v=3.30&key=[YOURAPIKEY (with no spaces)]'; avia_framework_globals.gmap_avia_api = 'http://qcgn.ca/wp-content/themes/enfold/framework/js/conditional_load/avia_google_maps_api.js'; /* ]]> */ </script>
and replace all occurrences of “[YOURAPIKEY (with no spaces)]” with your api key. Make sure no blank spaces are before or after the key.
Best regards,
PeterHi,
Everything is fine if I delete the style.css in child theme.
Yes because the child theme is not loaded then (wordpress can’t “find” the theme without the style.css theme information).
I corrected some css coding errors in style.css, please check if this fixes some issues on your end. If not please make a backup of your child theme.
Then delete all files except the style.css from the child theme folder and check if this fixes the error. If yes one of your child theme templates triggers the display errors. If not start to delete css code from the style.css (step by step) and check your website for display errors. If they suddenly vanish the code you deleted before caused the errors.
I’d also recommend to move the code from the quick css field to the style.css file – otherwise it might overwrite or conflict with your style.css code and you don’t notice it. In addition the style.css code editor highlights syntax errors and warnings for you (if the quick css code is not valid).
Best regards,
PeterHi,
Yes! You can simply insert it at the very bottom of the functions.php.
Best regards,
PeterSeptember 27, 2018 at 12:39 pm in reply to: Animations not working – no solutions previously posted here are working #1015262Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
( do be sure that we have enough time to debug ). - Click ” Submit “.
- You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.
When your issue is fixed, you can always remove the plugin!
If you prefer to not use the plugin, you can manually create a admin user and post the login credentials in the “private data” field.Best regards,
PeterHey SomosOtroConcepto,
You should be able to deactivate the standard theme lightbox with following code:
add_filter('avf_use_standard_lightbox', 'avia_default_lightbox_scripts', 10, 1); function avia_default_lightbox_scripts($use_standard_lightbox = '') { $use_standard_lightbox = "disabled"; return $use_standard_lightbox; }
– you can add it to the child theme functions.php.
Best regards,
PeterHey Alwin,
Please try to add this code to your child theme to show the name of the sender:
add_filter('avf_form_from', 'avf_form_from_mod', 10, 3); function avf_form_from_mod($from, $new_post, $form_params) { $email = $from; $name = urldecode($new_post['1_1']); if($name) $from = $name . " <$email>"; return $from; }
Best regards,
PeterHi,
Please try to add this code to the quick css field:
#top #wrap_all .container .av-masonry.av-large-gap { padding-left: 13px; padding-top: 13px; }
Best regards,
PeterHi,
Great, glad I could help you:)
Best regards,
PeterSeptember 27, 2018 at 11:00 am in reply to: Progress Bar Line Height and Font color on dark background #1015217Hi,
You can use following code to change the line height of the skill headline:
#top .progressbar-title{ line-height: 40px; }
2) You can find the animations in enfold/config-templatebuilder/avia-shortcodes/progressbar/progressbar.css (I added a link to the private content field).
You simply need to copy the animation code to the quick css field – i.e:
.avia_transform #top .avia-progress-bar div.progress.avia_start_animation .bar-outer{ -webkit-animation: avia_expand 1.5s cubic-bezier(0.165, 0.840, 0.440, 1.000); /* Safari 4+ */ animation: avia_expand 1.5s cubic-bezier(0.165, 0.840, 0.440, 1.000); /* IE 10+ */ width:100%; }
Then add #wrap_all to it (to overwrite the default style) and replace 1.5 with another value, i.e. 2.4:
.avia_transform #top #wrap_all .avia-progress-bar div.progress.avia_start_animation .bar-outer{ -webkit-animation: avia_expand 2.4s cubic-bezier(0.165, 0.840, 0.440, 1.000); /* Safari 4+ */ animation: avia_expand 2.4s cubic-bezier(0.165, 0.840, 0.440, 1.000); /* IE 10+ */ width:100%; }
Best regards,
PeterHi,
Please try to add following code to the quick css field:
@media only screen and (max-width:767px) { #top #wrap_all .av_header_transparency { background-color: transparent !important; } }
Best regards,
PeterHi,
I just see a page with “coming soon Alpinschule High” and no masonry grid. Please post a working link and we’ll look into it.
Best regards,
PeterHi,
This is the default events template code, we didn’t modify it. However you can add this functiobn to your child theme functions.php to activate the lightbox for the featured image
function custom_tribe_event_featured_image( $featured_image ){ if( is_single() ){ $post_id = get_the_ID(); $size = 'full'; $image_src = wp_get_attachment_image_src( get_post_thumbnail_id( $post_id ), $size ); $featured_image = ''; if ( !empty( $image_src ) ) { $featured_image = '<a href="'. $image_src[0] .'" title="'. get_the_title( $post_id ) .'" rel="lightbox"><img src="'. $image_src[0] .'" title="'. get_the_title( $post_id ) .'" class="alignleft" /></a>'; } } return $featured_image; } add_filter( 'tribe_event_featured_image', 'custom_tribe_event_featured_image');
Best regards,
PeterHi,
We need to now which code you customized in enfold/js/avia.js. Otherwise we’re not able to provide you instructions how to customize avia.js for the current theme version. If you’re not sure if the customized avia.js is required you can simply comment out the enqueue code in functions.php.
Best regards,
PeterHey DigiCosmicAngel,
To be honest this is beyond the scope of our support forum and I can’t give you a working solution. I’d recommend to add the “goto” slide controls to the post slider. You could use php or JQuery to add the controls to the slider.
The structure should be:
<div class="avia-slideshow-dots avia-slideshow-controls"> <a href="#1" class="goto-slide active">1</a> <a href="#2" class="goto-slide ">2</a> <a href="#3" class="goto-slide ">3</a></div>
Then you could add a check which compares the slide urls of all slides to window.location.pathname and triggers the right control on page load (i.e. link 3 if it’s the third slide).
Best regards,
PeterSeptember 27, 2018 at 9:25 am in reply to: Ajax portfolio navigation behind fullwidth submenu / ajax doesn't load sometimes #1015190Hi,
We’re aware of the issue. It pops up if the user clicks on a portfolio item which is not fully loaded.
I tried to replace following code in
if(false === is_open) { target_wrap.addClass('open_container'); content_retrieved[post_id].addClass('open_slide');
with
if(false === is_open) { target_wrap.addClass('open_container'); if(typeof content_retrieved[post_id] != 'undefined') { content_retrieved[post_id].addClass('open_slide'); } else { setTimeout(function(){ methods.show_item(post_id, clickedIndex); return; }, 1000); }
Please check if this solves the issue on your end.
Best regards,
PeterHi,
I adjusted your code in the functions.php – the new icon now replaces the old icon.
Best regards,
Peter -
AuthorPosts