Forum Replies Created
-
AuthorPosts
-
July 6, 2020 at 8:30 am in reply to: Blog Posts ALB with Portfolio – do not work as expected #1228211
Hi,
Thank you for the update.
We exported the portfolio items and imported it to our own installation, then use the compact blog layout. This time all items displayed without issue, so it’s probably not an issue with the Blog Posts element. Unfortunately, we are still not sure why it doesn’t work in your installation.
Best regards,
IsmaelJuly 6, 2020 at 8:20 am in reply to: Header shopping cart symbol & Dynamic Pricing & Discounts #1228207Hi,
Thank you for the update.
Could you post the WP and FTP details in the private field? We would like to check the issue further.
Is it working correctly when other plugins and extensions are disabled?
Best regards,
IsmaelHi,
limit search results in the menu.
The snippets in the documentation will also limit the number of results displayed in the AJAX search. Just make sure that you’re using the relevanssi_do_query filter or function instead of the default get_posts function used in the theme.
Add this snippet first to replace the default posts function:
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; }.. then include this to limit the number of results:
add_filter( 'relevanssi_modify_wp_query', 'rlv_postsperpage' ); function rlv_postsperpage( $query ) { $query->query_vars['posts_per_page'] = 5; return $query; }Best regards,
IsmaelJuly 5, 2020 at 10:03 pm in reply to: Remove the default ajax search feature and replace is for Ajax Search Pro #1228095Hi,
Did you set jQuery to load in the footer in the Enfold > Performance panel? Try to disable that option first, then add the script again in the functions.php file. Please don’t forget to remove the browser cache prior to testing.
Best regards,
IsmaelHi,
Thank you for the update.
Yes, please post the login details in the private field so that we can check the site properly. If there is a staging site, then we would prefer to access that one instead. And FYI, we added the shortcode in a post inside our own installation and the slider worked without issue.
Best regards,
IsmaelHi,
Thank you for the update.
That is how the plugin works in the theme — a single theme option is applied to all languages unlike with WPML where there is a dedicated options page for each language.
If you need to translate text from the theme options such as the copyright text, then you’re going to have to use the String Translation extension.
// https://polylang.pro/doc/strings-translation/
Best regards,
IsmaelJuly 5, 2020 at 9:43 pm in reply to: It seems your are no longer logged in. Please reload the page and try again #1228090Hi,
Thank you for the update.
The theme contains conditional tags which check if the current user can do a certain task like switching themes or installing plugins to confirm that the current user is indeed an administrator. It’s possible that by adding the customer role to the admin account, this check or conditions returns false or fails and create unexpected results. To avoid the issue temporarily, please use a different account when you’re testing the shop page and another when doing admin tasks, this is only until we find the actual cause of the issue.
// https://developer.wordpress.org/reference/functions/current_user_can/
Best regards,
IsmaelJuly 5, 2020 at 9:12 pm in reply to: Colour section layout problem in very wide screen and h1 problem in home page #1228086Hi,
Thank you for the update.
The URL of the home page is the same. Do you want to use the actual permalink of the page as home page? You might need to do a 301 redirect using a plugin, but we don’t really see the point of doing that.
// https://www.wpbeginner.com/beginners-guide/beginners-guide-to-creating-redirects-in-wordpress/
Best regards,
IsmaelJuly 5, 2020 at 9:05 pm in reply to: Compatibility Problem with newest Ultimate Members version #1228084Hi,
Thank you for the update.
The wp_nav_menu_item_custom_fields hook is used in the themes\enfold\functions-enfold.php file, look for the avia_menu_button_style function and starting from line 1779 you’ll see this code:
add_action('wp_nav_menu_item_custom_fields', 'avia_menu_button_style', 10, 4); function avia_menu_button_style($output, $item, $depth, $args)Replace it with:
add_action('wp_nav_menu_item_custom_fields', 'avia_menu_button_style', 10, 5); function avia_menu_button_style($output, $item, $depth, $args, $id)Another instance is inside the themes\enfold\framework\php\class-megamenu.php around line 534:
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args );Add the $id parameter in the hook.
do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args, $id );We’ll forward the changes to our channel.
Best regards,
IsmaelHi,
Thank you for the info.
When you say it’s not working for the blog entries, do you mean in the comment form inside the post? Please note that the spam protection in the theme will only work in the contact form. It’s not going to work in the comment forms.
Best regards,
IsmaelJuly 5, 2020 at 8:45 pm in reply to: Masonary Gallery images not viewing on some mobile devices #1228080Hi,
Thank you for the update.
You can use this css code to disable the fade in effect of the masonry items and make them immediately visible on page load.
.av-masonry-image-container { -webkit-perspective: 1000px; -webkit-backface-visibility: hidden; } .av-masonry-entry { opacity: 1; visibility: visible; }Best regards,
IsmaelHi,
Thank you for the update.
We can wrap this block of code inside a conditional tag to exclude the category Blog from the breadcrumb trail whe an archive page is in view.
foreach($category as $cat) { if(empty($cat->parent)) { $category_link = get_category_link($cat->term_id); $newtrail[] = '<a href="'.esc_url( $category_link ).'" title="'.$cat->cat_name.'">'.$cat->cat_name.'</a>'; } }Replace it with:
if(!is_archive()) { foreach($category as $cat) { if(empty($cat->parent)) { $category_link = get_category_link($cat->term_id); $newtrail[] = '<a href="'.esc_url( $category_link ).'" title="'.$cat->cat_name.'">'.$cat->cat_name.'</a>'; } } }Best regards,
IsmaelJuly 5, 2020 at 8:33 pm in reply to: Error: Deprecated: WP_User->id /wp-includes/functions.php on line 4997 #1228076Hi,
We don’t see any errors in the site anymore. Is it fixed? How can we reproduce the issue?
Thank you for your patience.
Best regards,
IsmaelHey Chris,
Thank you for the inquiry.
One solution is to use css to change the style of the header. We can use the page ID as a css selector to target the header on a specific page.
For example, you can use this css code to change the style of the header of the page with the ID 206.
#top.page-id-206 .av_header_transparency .header_bg { background-color: transparent; opacity: 0; filter: alpha(opacity=0); } #top.page-id-206 .av_header_with_border.av_header_transparency #header_main { border: 1px solid rgba(255,255,255,0.25); border-left: none; border-right: none; border-top-color: transparent; }Best regards,
IsmaelJuly 3, 2020 at 9:42 am in reply to: Problem building shopping pages and WooCommerce made my web site crash #1227718Hi,
Thank you for the update.
the database to get everything on tracks, fortunately it works again but I fear to try another WooCommerce plugin install .
Can you create a backup or a restore point of the site? You should create one if you haven’t already so that you can revert the site back to a working condition in case something goes wrong.
What do you mean by “dummy content page”? You might not be able to restore those items if they don’t exist in the trash unless there’s a backup or a restore point.
Best regards,
IsmaelHi,
Is this related to the other thread?
// https://kriesi.at/support/topic/enfold-and-events-calendar-integration-issues/
We provided a temporary solution for the updated calendar design option in the same thread.
// https://kriesi.at/support/topic/enfold-and-events-calendar-integration-issues/#post-1227689
Thank you for your patience.
Best regards,
IsmaelHi,
Thank you for the update.
It seems to be a cache issue. The translations work — even when not logged in — when we deactivate the Layer Slider > Options > Advanced > Use slider markup caching option.
Best regards,
IsmaelHi,
We are not yet sure why the column animation is not working, so we disabled it temporarily to make the text visible on page. We also tried to adjust the offset value of the waypoint script to trigger the animated number earlier than usual, but it’s still not working.
Did you add any modifications in the templates?
Best regards,
IsmaelHi,
Thank you for the info.
The modified version of the default-template.php file in the enfold > config-events-calendar > views folder is ignored when the new design option of the plugin is enabled. To fix the issue temporarily, you have to create a copy of the template file and place it inside the tribe > events > v2 folder in the child theme directory.
// https://kriesi.at/support/topic/issues-with-events-calendar-and-events-calendar-pro
Best regards,
IsmaelJuly 3, 2020 at 7:51 am in reply to: Adding Shortcode to "Link portfolio item to external URL" #1227687Hi,
What does the shortcode returns or renders when you add or embed it in a page? Did you wrap it in a do_shortcode function?
// https://developer.wordpress.org/reference/functions/do_shortcode/
What errors were thrown when you included the shortcode in the overlay? Please post it pastebin.com so that we can check it.
Thank you for your patience.
Best regards,
IsmaelHey Sheraly93,
Thank you for the inquiry.
We tested the modification in the page.php file and it seems to be working correctly. Do you see any errors in the page when the modification is added?
Please enable debugging in your installation and post the error on pastebin.com
// https://wordpress.org/support/article/debugging-in-wordpress/#example-wp-config-php-for-debugging
Best regards,
IsmaelHi,
Sorry for the delay. You should be able to use this css code to create a smaller container with background behind the last two menu items.
#avia2-menu::after { content: ''; width: 165px; height: 31px; position: absolute; background: blue; top: -10px; right: -10px; z-index: -1; }Adjust it as necessary.
Best regards,
IsmaelJuly 3, 2020 at 7:22 am in reply to: Accessibility issues with main nav leaves US sites in danger of lawsuits :( #1227679Hey!
@dfpg: I forgot that you”ve enabled the Ubermenu plugin. Sorry about that. Is it still enabled? Unfortunately, the modification above will only work for the theme’s default menu. We might have to modify a different script for the Ubermenu plugin.@Mitch: Thank you for the info.
Regards,
IsmaelJuly 3, 2020 at 7:18 am in reply to: Activate drop-down in menu using keyboard for disabled users #1227675Hi,
Yes, making the arrow keys work for the next and previous menu items is going to be one of the problems that needs solving. A very clean and simple implementation can be found here: https://www.w3.org/TR/wai-aria-practices/examples/menubar/menubar-1/js/MenubarItemLinks.js
And the rough patch in this thread makes the sub menu accessible on Firefox — it will focusout on the very last menu item in the ul.
Best regards,
IsmaelJuly 3, 2020 at 7:01 am in reply to: Cannot change text from bold to unbold, when dublicating page #1227670Hey pimroll,
Thank you for the inquiry.
The text on the duplicated site are wrapped inside a strong tag, which is why the font characters are thick. How did you duplicate the page?
Did you add this css code somewhere?
strong, b { font-weight: 700; }It also sets the font weight value to 700 — default value is bold, but it doesn’t really make any difference without knowing why the duplicate page contains strong tags.
Best regards,
IsmaelHi,
Thank you for the update.
You forgot to add the avf_contact_form_submit_button_attr filter as @Mike suggested above. It should add the onclick attribute to the submit button and trigger the gtag function once the contact form is submitted. You can also create a script that listens or waits for a click event from the submit button, then triggers the tag manager function.
// https://www.w3schools.com/jsref/met_document_addeventlistener.asp
// https://api.jquery.com/on/Best regards,
IsmaelHi,
Thank you for the update.
It seems to be working properly now when the URL is accessed directly, but not when clicking from another tab.
Please try to include this code in the Quick CSS field or the style.css file.
.avia-image-container .avia_image, .avia-image-container .avia-image-overlay-wrap { -webkit-transition: none; transition: none; }Did you enable lazy loading?
Best regards,
IsmaelHi!
Thank you for the update.
This is the same css code that we provided above.
#top input:-webkit-autofill, #top textarea:-webkit-autofill, #top select:-webkit-autofill { background-color: transparent !important; background-image: none !important; color: #000000 !important; } select option { color: #000000 !important; }It doesn’t work yet because the Performance > File Compression settings are enabled. Please toggle or disable the css and js compression temporarily after adding the css code.
Cheers!
IsmaelJuly 2, 2020 at 3:17 pm in reply to: When I land on a post,, my menu underline changes to another menu item… #1227522Hey Eleina_Shinn,
Thank you for the inquiry.
1.) The News & Events page is set as the current menu item because by default WordPress sets the current Blog page (page_for_posts) as the current_page_parent of all posts. If you want the “People” menu item to be active when the current post belongs to the “Alumni” category, then you have to adjust the menu item class. Please check this thread for more info.
// https://kriesi.at/support/topic/navigation-blogpost-and-masonry/#post-1162144
2.) The post navigation can be enabled in the Enfold > Blog Layout > Single Post Options panel.
3.) Yes, that should be possible. You have to modify the includes > loop-index.php file and add a condition to this line.
//share links on single post avia_social_share_links();// https://developer.wordpress.org/reference/functions/has_category/
Best regards,
IsmaelHi,
Thank you for the info.
You can actually define your own toggle description or label by enclosing the text in the privacy shortcode. Example:
[ av_privacy_video_embeds]This is a custom privacy toggle label for video embeds in French.[ /av_privacy_video_embeds]Best regards,
Ismael -
AuthorPosts
