Forum Replies Created
-
AuthorPosts
-
August 20, 2020 at 4:20 am in reply to: How to correctly implement RankMath breadcrumbs in Enfold? #1239356
Hi,
Thank you for the inquiry.
The function or snippet that they provided should be added in one of the template files in the theme. You can add it in the header.php file for example if you want to place the breadcrumb at the very top of the content, or somewhere in the includes > helper-main-menu.php file if you want it near the main menu.
If you don’t want to edit any of the templates, you can also create a new function in the functions.php file that renders the breadcrumb and attach it to an action hook in one of the templates.
// https://developer.wordpress.org/reference/functions/do_action/
Example:
function ava_after_main_container_rank_math_bc() { if (function_exists('rank_math_the_breadcrumbs')) rank_math_the_breadcrumbs(); } add_action('ava_after_main_container', 'ava_after_main_container_rank_math_bc', 10 );The “ava_after_main_container” hook is in the header.php file.
Best regards,
IsmaelHey jh100,
Thank you for the inquiry.
How did you exclude the current portfolio item in the grid? If you’re using the Portfolio Grid element, you should be able to use this filter to exclude the current post in the query.
function ava_exclude_current_post($query) { if (is_singular('post')) { $exclude = avia_get_the_ID(); $query->set( 'post__not_in', array($exclude) ); } } add_action('pre_get_posts', 'ava_exclude_current_post');This one should also work.
function avia_portfolio_query( $query, $params ) { if(is_single()) { $id = get_the_ID(); if(avia_post_grid::$grid == 0) $query['post__not_in'] = array($id); } return $query; } add_filter( 'avia_post_grid_query', 'avia_portfolio_query', 10, 2);Best regards,
IsmaelHi,
Great! Please feel free to open another thread if you have any questions regarding the theme.
Have a nice day.
Best regards,
IsmaelHi,
The error above is from the new Post Metadata element in the builder which is only available in the latest version of the theme. Did you add the element anywhere in the page?
What do you mean by GPX layer?
Best regards,
IsmaelHi,
@volmering: Yes, this is possible but we don’t recommend it because you have to deregister the default avia.js file and create a copy of it in the child theme and register it back.// https://developer.wordpress.org/reference/functions/wp_dequeue_script/
// https://developer.wordpress.org/reference/functions/wp_enqueue_script/Best regards,
IsmaelAugust 19, 2020 at 6:45 am in reply to: Wishlist Member / WLM conflict with recent Enfold update / release #1239021Hi,
Thank you for the update.
Looks like the plugin modifies the default containers in the post editor and one of these containers covers the advance layout builder and prevents dragging of any builder elements. To fix the issue temporarily, we added this snippet in the functions.php file.
add_action('admin_head', 'ava_admin_custom_css'); function ava_admin_custom_css() { echo '<style> #advanced-sortables { z-index: 1; } #normal-sortables { z-index: 2; } </style>'; }Best regards,
IsmaelHi,
Thank you for the update.
Did you disable the Performance > File Compression settings and remove the browser cache after adding the css code? You might be looking on a cached version of the page without the css modification above.
Please disable the Performance > File Compression settings, remove the browser cache and try to check the page again. You might want to play around with or adjust the height value in the css code above.
Best regards,
IsmaelHi,
Thank you for the update.
The css code that you added is almost the same css used to define the height of the color section, so you could keep it as is. We can apply the height dynamically based on the current height of the browser, but it will require a more complex solution which is beyond the scope of support.
Best regards,
IsmaelHi,
Thank you for the update.
The css files are currently compressed, so you have to disable the Performance > File Compression settings after adding the code. Also, please don’t forget to remove the browser cache prior to checking the page.
Best regards,
IsmaelHi,
Thank you for the update.
The code is there but for some reason it’s not taking effect. We might have to wait for the document to be ready before executing the function. We adjusted the code a bit. Please try it again.
We just changed this line:
$(document).ready( function() { b('#recentecases'); });Best regards,
IsmaelAugust 19, 2020 at 4:34 am in reply to: Cookie Consent Message Bar Does Not Process Consent or Reload Page Properly #1238992Hi,
It still doesn’t work — still the same invalid login account. We tried different encryption and protocol, use default port, but it’s the same. Could you provide a screenshot of the FTP settings?
Best regards,
IsmaelAugust 19, 2020 at 3:58 am in reply to: Added PHP Functions for Autoplay Video and experience two bugs now: Please help #1238988Hi,
Thank you for the inquiry.
Did you mark off the Content > Player Settings > Enable Autoplay option of the video element? You can also mute the video in the same Player Settings toggle.
Best regards,
IsmaelAugust 19, 2020 at 3:44 am in reply to: enfold child theme layout broken on woocommerce customization #1238987Hi,
Why did you add two closing divs after the get_header(‘shop’)?
You have to remove the shortcodes in the template and use the actual rendered HTML instead just like what you did with the color section because shortcodes or elements that are not directly added in the builder will not work properly.
Best regards,
IsmaelAugust 17, 2020 at 12:38 pm in reply to: use CPT instead of page for "Page Content" element #1238468Hi,
Thank you for sharing that info.
If you want to include the new post type in the list, we have to modify the enfold\config-templatebuilder\avia-shortcodes\postcontent.php file and include the post type in the linkpicker element. Look for this code around line 72:
array( 'name' => __( 'Which Entry?', 'avia_framework' ), 'desc' => __( 'Select the entry that should be displayed', 'avia_framework' ), 'id' => 'link', 'type' => 'linkpicker', 'std' => 'page', 'fetchTMPL' => true, 'subtype' => array( __( 'Single Entry', 'avia_framework' ) => 'single' ), 'posttype' => array( 'page', 'portfolio' ), 'hierarchical' => 'yes', // 'yes' ( =default) | 'no' 'post_status' => 'publish,private,draft' // array | string (default = publish) ),In the posttype parameter or key, include the name of the new post type.
'posttype' => array( 'page', 'portfolio' ),But please not that using a custom post type on the Page Content element might cause unintended behavior or layout issues in the page.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the date only breaks to the second line on mobile view. We can decrease the font size to keep it on a single line.
Please try this css code.
@media only screen and (max-width: 1024px) { .date-container.minor-meta.updated { font-size: 13px !important; } }You can change the date and time format in the Settings > General panel.
// https://wordpress.org/support/article/formatting-date-and-time/
Best regards,
IsmaelHi,
This is actually cause by the loading spinner or icon. To fix the issue temporarily, we can add this code in the Quick CSS field.
.avia_loading_icon { display: none !important; }// https://kriesi.at/support/topic/masonry-screen-shakes-on-desktop/
Unfortunately, we are not yet sure why this is happening on other installation.
Best regards,
IsmaelHi,
Thank you for the update.
It looks like the gallery is not moving on the first and second click because it focuses the second and third items first before going to the fourth one and only then the gallery moves to display the next items. We recommend setting the Styling > Active Image Style to Enlarge Image so that the users can see the active item in gallery.
Best regards,
IsmaelHey loganfive,
Thank you for the inquiry.
Do you receive a lot of these emails, and is it from the same IP address? There are a lot of ways to prevent spam but one thing that usually works is to blacklist the IP addresses where the blank messages came from. We recommend installing a security plugins such as WordFence, Sucuri Security or All In One WP Security & Firewall to filter out the site traffic and block activities from suspected IP addresses.
Did you enable the contact form’s spam protection or the Google ReCAPTCHA option?
// https://kriesi.at/documentation/enfold/contact-form/#what-is-captcha
Best regards,
IsmaelHi,
Thank you for the info.
We can use this css code set a minimum height to the main container which in turn will push the socket downwards and remove the space below.
#main > .container_wrap.container_wrap_first.main_color.sidebar_right { min-height: 520px; }Best regards,
IsmaelAugust 17, 2020 at 7:20 am in reply to: Wishlist Member / WLM conflict with recent Enfold update / release #1238386Hey sky19er,
Thank you for the inquiry.
Do you still have the test page or site where this issue occurred? Please post the login details for that site in the private field so that we can check the issue.
Did you try disabling the Performance > File Compression settings after updating the theme?
Best regards,
IsmaelHey envatouser2019,
Thank you for the inquiry.
We’ll forward your concern to Kriesi. Currently, there are no plans on making the Advance Layout Builder (ALB) compatible with Gutenberg or vice versa, nor there are plans on creating block elements for the new editor.
Best regards,
IsmaelAugust 17, 2020 at 6:00 am in reply to: Cookie Consent Message Bar Does Not Process Consent or Reload Page Properly #1238354Hi,
We tried logging in to the server but it says that the user account above is invalid. Please check the info carefully or post another account so that we can debug the issue.
Thank you for your patience.
Best regards,
IsmaelHi,
You have to create a copy of the includes folder and of the loop-page.php file in the child theme in order keep the modifications after updating the theme.
Thank you for your patience.
Best regards,
IsmaelHi,
You’re welcome! Glad it’s working. Please don’t hesitate to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
We did not make such modification.
Sorry for the troubles. The previous developer added the css modifications in the old site to adjust the default style of the elements such as the post items. Unfortunately, we are not sure where the custom css code were added because the stylesheets are minified or compressed, and we couldn’t access the old site (mqgtst) using the user account above. The Appearance > Editor panel is not accessible either.
Please check the screenshot below.
Please disable the css compression first and post the login details of the old site so that we can check the dashboard and hopefully locate the css modifications.
Best regards,
IsmaelHi,
@Tom: Sorry I missed the pagination in the #recentecases container. Try to add this script in the functions.php file.
function add_custom_script(){ ?> <script type="text/javascript"> (function($){ function b(id) { $('.pagination .inactive').click(function(e) { e.preventDefault(); var section = $(id), link = $(this).attr('href'), anchor = $(section ).attr('id'); if(!section.length) return; var link = link + '#' + anchor; window.location.href = link; }); } $(document).ready( function() { b('#recentecases'); }); })(jQuery); </script> <?php } add_action('wp_footer', 'add_custom_script');Best regards,
IsmaelHi,
We’ll keep the thread open for further updates. We might have to remove the aria-hidden attribute and move the location of the privacy modal container so that it’s not seen on the reader view as the main content.
Best regards,
IsmaelHi,
@mealcasa: We were not able to reproduce the issue on our own installation. The default quantity arrows display as expected after removing the custom ones. To test the issue properly, please open a new thread and post the necessary details in the private field.We’ll close this one for now.
Best regards,
IsmaelHi,
Glad to know that this is no longer an issue. Please feel free to open a new thread if the layout issue happens again.
Thank you for your patience and have a nice day.
Best regards,
IsmaelHey Jak73,
Thank you for the inquiry.
The share buttons from the theme just redirect the users to certain social media or external sites, and it doesn’t store any cookies in the clients’ browser or collect any user-related data. Is that what you’re asking?
To learn more about the privacy options from the theme, please check this documentation.
//https://kriesi.at/documentation/enfold/privacy-cookies/
Best regards,
Ismael -
AuthorPosts
