Forum Replies Created
-
AuthorPosts
-
Hey Rustum,
Thank you for the inquiry.
Did you use the filter from the following documentation?
This should return the Relevanssi function instead of the default get_posts function, which is limited to default posts and custom post types.
Best regards,
IsmaelHi,
Thank you for the update.
Looks like the order parameter does not affect the sorting when post__in parameter is defined. Please try to reverse the order of the IDs in post__in array instead.
add_filter("avia_masonry_entries_query", function($query) { $query["post__in"] = array_reverse($query["post__in"]); return $query; }, 10, 1);Best regards,
IsmaelHi,
Did you apply a custom css class name (av-custom-column-order) to the color section containing the columns as described in the following thread?
// https://kriesi.at/support/topic/mobile-device-display-order/#post-1307911
The custom css class name field is located in the element’s Advanced > Developer Settings panel.
The automatic updater will no longer work in the current version of the theme (4.5.7), so you will have to update the theme manually via FTP.
// https://kriesi.at/documentation/enfold/theme-update/#update-via-ftp
The current token that you have in the theme options is also invalid. Please make sure that it has the correct permissions as described in the following documentation.
// https://kriesi.at/documentation/enfold/theme-registration/#how-to-generate-a-envato-personal-token
Best regards,
IsmaelHey SurigliaStudio,
Thank you for the inquiry.
That is not possible without significant modification in the theme, unfortunately. Once you go to the next or previous page using the pagination, the page will refresh and the query will also adjust. All posts element in that page will use the current paged or page parameter, meaning that if you go to page 2, all posts element will have to retrieve posts from page 2. If there are no more posts to retrieve, nothing will display. This is how the default pagination works in WordPress, which is why it is not recommended to add multiple elements with pagination in the same page.
Best regards,
IsmaelSeptember 10, 2021 at 4:57 am in reply to: WP_Migrate-DB after database migration Enfold-Child Theme loses all Theme option #1320318Hey Shinpei,
Thank you for the inquiry.
The theme options are saved in the entry with the name avia_options_enfold or the avia_options_enfold_child (if child theme is activated) within the _options table. Did you check for these entries in the new database?
Do you activate the theme after migrating the database? Doing this might reset the theme options. Make sure that the theme is already activated before importing the database.
Best regards,
IsmaelHey Ben,
Thank you for the inquiry.
We cannot see the issue on a browser device emulation. The logo is positioned where it is supposed to be, both on tablet and phone view. Would you mind providing a screenshot?
If you need to adjust the position of the logo on smaller screens, try to use this css code.
@media only screen and (max-width: 767px) { .responsive #top .logo { position: relative; left: 25px; } }You can add another css media query for tablet view.
Best regards,
IsmaelHey Federica,
Thank you for the inquiry.
Did you add the following snippet in the functions.php file? This should create a search field within the mobile menu container when the mobile menu icon is clicked.
// https://kriesi.at/support/topic/search-box-in-mobile-menu-2/#post-1277234
Best regards,
IsmaelHey schweg33,
Thank you for the inquiry.
You can add this code in the Quick CSS field to center align the menu.
.html_header_top.html_main_nav_header #top .av_menu_left .main_menu { width: 100%; } .html_header_top.html_main_nav_header #top .av_menu_left .main_menu .av-main-nav-wrap { left: 50%; transform: translateX(-50%); }Best regards,
IsmaelHey broom21,
Thank you for the inquiry.
Since multisite installations depend on the same theme, all sites on that multisite will not have access to layer slider or they will not be able to create a layer slider when the plugin files are removed. The safest option is to disable the layer slider, but keep the plugin files intact in the theme folder.
Best regards,
IsmaelSeptember 9, 2021 at 4:37 am in reply to: Default Cookie Behaviour on last Option Bug or Feature? #1320176Hi,
Thank you for the info.
The message bar remains hidden when the Default Cookie Behavior is set to the third option because when the user dismiss the notification, the PHPSESSID remains unchanged. The last option does not mean that it is supposed to be more “strict” with how it handles the cookies. You might be confused with the wording “essential cookies selected” and “Essential cookies are accepted on page load”. “Selected” and “accepted” in both options actually mean the same thing. The last option was only added because some of the users requested it. Originally, there are only three options. You can find more info about why this was added in the documentation.
// https://kriesi.at/documentation/enfold/privacy-cookies/#default-cookie-and-services-option-settings -> 4th toggle
Best regards,
IsmaelHi,
Thank you for the update.
We cannot see the same issue on the staging site. The shortcodes or custom styles are not displaying in the excerpt container as shown in the screenshot below.
Screenshot: https://imgur.com/3vQ1wcV
Do we have to adjust an option or change a specific setting in order to see the issue?
Best regards,
IsmaelHi,
@PabloCirre: Thank you for the inquiry. The header in the site is currently not sticky. Looks like you have disabled the option temporarily. Please create a staging or development version of the site so that we could inspect the issue properly, then create a new thread and post the site details in the private field. We will close this one for now.Best regards,
IsmaelSeptember 9, 2021 at 3:48 am in reply to: half screen columns with backgrounds to stretch full width – how? #1320165Hi,
Glad to know that @Guenni007 were able to help. Please feel free to open a new thread if you need anything else.
Have a nice day.
Best regards,
IsmaelSeptember 9, 2021 at 3:46 am in reply to: [av_three_fifth first] appearing on a pages I'm trying to edit #1320162Hi,
@snitt: We cannot reproduce the issue on our end, so it might be caused by certain configurations or due to third party plugins. Please open a new thread and post the site details in the private field so that we can inspect the issue further.Best regards,
IsmaelSeptember 9, 2021 at 3:40 am in reply to: Color Section Won't Display Background Image, just white #1320161Hey adventos,
Great! Nice to know that it is fixed. It was probably an issue with the new post-css file, which is where the background of the color section will now be declared. Please toggle or temporarily disable the Enfold > Performance > File Compression settings after every update and make sure to purge the cache.
Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Glad to know that you figured it out. Please let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHi,
Thank you for the update.
The icon fonts are located in the enfold/config-templatebuilder/avia-template-builder/assets/fonts folder, but we would not recommend removing it because it is widely used across the the theme both front and backend. We would suggest replacing only the icons in the elements that you are actually using and keep the default icon fonts.
Best regards,
IsmaelHey manweb,
Thank you for the inquiry.
Yes, the theme automatically assigns the selected Primary color or Highlight color to those elements, but we can use css to apply a different color if necessary. Would you mind providing a screenshot of the elements that you would like to adjust, or provide a link to the shop page so that we can inspect the elements?
Best regards,
IsmaelHi,
Thank you for the info.
Using the do_shortcode function might be enough to properly render the shortcodes that is within the $content but first you will have to allow builder elements to be executed outside the ALB or the builder. Try to add this snippet in the functions.php file.
function avf_custom_exec_sc_only_mod( $exec_sc_only, $obj_sc, $atts, $content, $shortcodename, $fake ) { return true; } add_filter( 'avf_alb_exec_sc_only', 'avf_custom_exec_sc_only_mod', 10, 6 );Best regards,
Ismael3ff3Hey profumopuntoit,
Thank you for the inquiry.
Are you going to add magazine elements on different pages? If that is the case, you can replace the function that retrieves the sticky post with the get_post function and use the is_page conditional function to check for the current page. Look for this line..
$sticky = get_option( 'sticky_posts' );.., and replace with:
$sticky = get_option( 'sticky_posts' ); if(is_page(11)) { $sticky = get_post(123); }The code above will check if the page has the ID 11 and assign the post with the ID 123 as sticky post.
Best regards,
IsmaelHi,
Thank you for the update.
We created a test page and added two contact forms, one with reCAPTCHA v2 enabled and the other with v3. We are able to send messages using both contact forms without encountering any errors. Please check the screenshot below.
Screenshot: https://imgur.com/93S1H90
However, we noticed that the theme is not yet updated to the latest version. Please update the theme to version 4.8.6.1, disable the cache plugin, and turn off the Performance > File Compression settings temporarily.
Best regards,
IsmaelHi,
Thank you for the update.
The Siteground Optimizer plugin may have its own minification or compression settings, so you will have to disable those settings first before enabling the default file compression settings from the theme. You could also keep the theme’s default compression settings disabled and use the compression feature of the plugin instead Either way should work fine.
Best regards,
IsmaelHi,
Thank you for the info.
Try to wrap the paragraphs or each line inside a paragraph tag with a class attribute. Example.
<p class="av-ar-line">Something important here.</p> <p class="av-ar-line">Something more important here.</p> <p class="av-ar-line">Something very important here.</p>Make sure to close the tags properly because they could break the layout of the email message.
Best regards,
IsmaelHey graffi,
Thank you for the inquiry.
You can use the avia_breadcrumbs_trail filter to adjust the breadcrumb trail. Usage examples can be found in the following threads.
// https://kriesi.at/support/topic/problem-with-breadcrumb/#post-1289346
// https://kriesi.at/support/topic/change-breadcrumb-home-location/#post-1311343
// https://kriesi.at/support/topic/structured-data-for-enfold-breadcrumb-shortcode/#post-1306452Best regards,
IsmaelHi,
No problem. Let us know if you need anything else.
Have a nice day.
Best regards,
IsmaelHey onedesignprint,
Thank you for the inquiry.
The flash occurs after the last slide because the first slide fades in again above a blank white background. We could minimize the effect by adjusting the slide background based on the main or distinctive color of the first image in the slide, which is green or #3d715f in this case.
.main_color.avia-fullwidth-slider { background-color: #3d715f; }Try to add the code in the Quick CSS field or the in the child theme’s style.css file. You may need to toggle or temporarily disable the Enfold > Performance > File Compression settings afterwards.
Best regards,
IsmaelSeptember 8, 2021 at 9:01 am in reply to: Improve Tab Section UX – Make it Sticky or Show Tabs Above and Below Content #1320076Hey edukate1,
Thank you for the inquiry
We could set the tab title to stick to the top when scrolled, but the changes might affect the layout of other pages. If you would like to continue, try this css code in the Quick CSS field.
.av-tab-section-tab-title-container.avia-tab-title-padding-default { position: sticky; top: 0; z-index: 1000; } .av-tab-section-outer-container, #wrap_all, html.responsive, html.responsive body { overflow: visible !important; }Please toggle or temporarily disable the Enfold > Performance > File Compression settings after adding the css code.
Best regards,
IsmaelHi,
Try to look for this block of code around line 815 in the postslider.php file.
if( $show_meta ) { $taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); $cats = ''; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array( 'post_tag', 'post_format' ) ); $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); if( ! empty( $taxonomies ) ) { foreach( $taxonomies as $taxonomy ) { if( ! in_array( $taxonomy, $excluded_taxonomies ) ) { $cats .= get_the_term_list( $the_id, $taxonomy, '', ', ', '' ) . ' '; } } } if( ! empty( $cats ) ) { $meta_out .= '<span class="blog-categories minor-meta">'; $meta_out .= $cats; $meta_out .= '</span>'; } }Replace it with:
if( $show_meta ) { $taxonomies = get_object_taxonomies( get_post_type( $the_id ) ); $cats = []; $excluded_taxonomies = array_merge( get_taxonomies( array( 'public' => false ) ), array( 'post_tag', 'post_format' ) ); $excluded_taxonomies = apply_filters( 'avf_exclude_taxonomies', $excluded_taxonomies, get_post_type( $the_id ), $the_id ); if( ! empty( $taxonomies ) ) { foreach( $taxonomies as $taxonomy ) { if( ! in_array( $taxonomy, $excluded_taxonomies ) ) { $cats[] = get_the_terms( $the_id, $taxonomy ); } } } if( ! empty( $cats ) ) { $cat_walk = ''; $cat_class = 'stray'; foreach($cats[0] as $cat) { if(in_array($cat->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; } $cat_walk .= "<a class='". $cat_class . "' href='" . get_term_link($cat->term_id) . "'>" . $cat->name . "</a>"; } $meta_out .= '<span class="blog-categories minor-meta">'; $meta_out .= $cat_walk; $meta_out .= '</span>'; } }This line checks if the term name is in the array using the in_array function and change the class accordingly.
if(in_array($cat->name, array("kitty", "pussy", "catty"))) { $cat_class = "pets"; }Best regards,
IsmaelSeptember 8, 2021 at 8:19 am in reply to: Hide Related Products on Individial Page Snippet Check #1320068Hi,
Thank you for the update.
You can use conditional functions within the hook to limit the changes to the specified products.
// https://developer.wordpress.org/reference/functions/is_single/
Example:
if(is_single(1234)) { // remove the related section }This will remove the related section in the product page with the ID 1234.
Best regards,
IsmaelHey Michael,
Thank you for the inquiry.
You can use this css code to remove the space below the meta bar on mobile screens.
@media only screen and (max-width: 767px) { /* Add your Mobile Styles here */ #top.tribe-theme-enfold.single-tribe_events .av-single-event-meta-bar-inner { display: block; } }Best regards,
Ismael -
AuthorPosts
