Forum Replies Created

Viewing 30 posts - 18,091 through 18,120 (of 67,597 total)
  • Author
    Posts
  • 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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Search – number of displayed results #1228197

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Shortcodes don't work in post header #1228094

    Hi,

    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,
    Ismael

    in reply to: Enfold settings / polylang #1228092

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: ReCaptcha not working #1228082

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Breadcrumbs in Blog archive page layout #1228077

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Adding a news Header Option – Transparent Dark #1228075

    Hey 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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: The Events Calendar Single Events Wonky #1227715

    Hi,

    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,
    Ismael

    in reply to: Enfold Layer Slider & Polylang – Serious bug! #1227713

    Hi,

    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,
    Ismael

    in reply to: Various Bugs on my landing pages #1227707

    Hi,

    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,
    Ismael

    in reply to: Enfold and Events Calendar integration issues #1227689

    Hi,

    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,
    Ismael

    Hi,

    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,
    Ismael

    in reply to: Sidebar on Password Protected Pages #1227686

    Hey 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,
    Ismael

    in reply to: Change background color of certain links in submenu #1227682

    Hi,

    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,
    Ismael

    Hey!


    @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,
    Ismael

    Hi,

    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.

    // https://kriesi.at/support/topic/accessibility-issues-with-main-nav-leaves-us-sites-in-danger-of-lawsuits/#post-1226624

    Best regards,
    Ismael

    Hey 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,
    Ismael

    in reply to: Google conversion tracking code on contact form #1227658

    Hi,

    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,
    Ismael

    in reply to: Tab section: page truncated #1227651

    Hi,

    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,
    Ismael

    in reply to: Contact Form – select element dropdown background #1227642

    Hi!

    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!
    Ismael

    Hey 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,
    Ismael

    in reply to: Edit toggle button of modal window (cookies) #1227508

    Hi,

    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

Viewing 30 posts - 18,091 through 18,120 (of 67,597 total)