Viewing 30 results - 391 through 420 (of 7,471 total)
  • Author
    Search Results
  • Hi,
    I have numbered these three questions to identify them.
    1: glad that you like the idea to create new sites for the languages like guidedtour/it, guidedtour/fr, guidedtour/en, etc

    2: it is possible to automatically redirect based on language, I would recommend trying to find a plugin for this so it will be easy to manage, but it can also be do with the .htaccess file. More research would need to be done to find the solution. But I would still plan on adding a language selector to your header so all of the sites are linked together.

    3: I see that your site is slow there is no difference between sub-directories or sub-domains. One way to improve your site is to use the LiteSpeed caching in your cPanel, try using this plugin to activate it LSCache for WordPress, and then remove the plugins you are not going to use, sure as WPML Multilingual CMS, & Loco Translate, & JetPack etc.
    Your images can be compressed, I tested one on tinyjpg.com and it could be 82% smaller
    Enfold_Support_3061.jpeg
    Try using the TinyPNG plugin to make your images smaller.

    I recommend first getting your site to run faster before cloning it to create your other sites, try these suggestions and if you need further help please open a new thread so this one will stay on the topic of cloning the main site to create the other sites. Once your site is working well then let us know in this thread and we can make your clones.

    Best regards,
    Mike

    This reply has been marked as private.
    #1417166
    madisonstudios1
    Participant

    I have seen an article or two that show up in searches on adding tiktok to the social profiles in enfold but they don’t work and use tumblr as the logo instead of tiktok.
    Can you help direct me to an article that works or send me instructions please??
    Thank you,
    Chris

    #1417165

    Topic: Search by authors

    in forum Enfold
    limesolutions
    Participant

    Hi, do you know if there is a way to include author names in the enfold search result?

    Thank you very much

    Hi elenapoliti,

    What was the version of Enfold that the Search & Filter plugin was working?

    Best regards,
    Nikko

    wusatiuk
    Participant

    I am trying to exclude posts (woocommerce products) which have a specific category (id=340) from the ‘avia_ajax_search’ popup.
    have copied the function if(!function_exists(‘avia_ajax_search’))

    from /enfold/functions-enfold.php to /enfold-child/functions.php
    Is this correct, or do i need a seperate /enfold-child/functions-enfold.php

    
    if(!function_exists('avia_ajax_search'))
    {
    	//now hook into wordpress ajax function to catch any ajax requests
    	add_action( 'wp_ajax_avia_ajax_search', 'avia_ajax_search' );
    	add_action( 'wp_ajax_nopriv_avia_ajax_search', 'avia_ajax_search' );
    
    	function avia_ajax_search()
    	{
    	    global $avia_config;
    		
            $exclude_category_id = 340; // Replace with the actual category ID
    
    	    unset($_REQUEST['action']);
    	    if(empty($_REQUEST['s'])) $_REQUEST['s'] = array_shift(array_values($_REQUEST));
    		if(empty($_REQUEST['s'])) die();
    
    	    $defaults = array('numberposts' => 5, 'post_type' => 'any', 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 'results_hide_fields' => '');
    
    	    $_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']);
    
    	    $search_parameters 	= array_merge($defaults, $_REQUEST);
    
    	    if ( $search_parameters['results_hide_fields'] !== '' ) {
                $search_parameters['results_hide_fields'] = explode(',', $_REQUEST['results_hide_fields']);
            }
            else {
                $search_parameters['results_hide_fields'] = array();
            }
    
            $search_query 		= apply_filters('avf_ajax_search_query', http_build_query($search_parameters));
    	    $query_function     = apply_filters('avf_ajax_search_function', 'get_posts', $search_query, $search_parameters, $defaults);
    	    $posts		= (($query_function == 'get_posts') || !function_exists($query_function))  ? get_posts($search_query) : $query_function($search_query, $search_parameters, $defaults);
    	
    	    $search_messages = array(
    	            'no_criteria_matched' => __("Sorry, no posts matched your criteria", 'avia_framework'),
    	            'another_search_term' => __("Please try another search term", 'avia_framework'),
    	            'time_format'         => get_option('date_format'),
    	            'all_results_query'   => http_build_query($_REQUEST),
    	            'all_results_link'    => home_url('?' . http_build_query($_REQUEST)),
    	            'view_all_results'    => __('View all results','avia_framework')
                );
    		
    	    $search_messages = apply_filters('avf_ajax_search_messages', $search_messages, $search_query);
    		
    	    if(empty($posts))
    	    {
    	        $output  = "<span class='av_ajax_search_entry ajax_not_found'>";
    	        $output .= "<span class='av_ajax_search_image ".av_icon_string('info')."'>";
    	        $output .= "</span>";
    	        $output .= "<span class='av_ajax_search_content'>";
    	        $output .= "    <span class='av_ajax_search_title'>";
                	$output .= $search_messages['no_criteria_matched'];
    	        $output .= "    </span>";
    	        $output .= "    <span class='ajax_search_excerpt'>";
                	$output .= $search_messages['another_search_term'];
    	        $output .= "    </span>";
    	        $output .= "</span>";
    	        $output .= "</span>";
    	        echo $output;
    	        die();
    	    }
    
    	    //if we got posts resort them by post type
    	    $output = "";
    	    $sorted = array();
    	    $post_type_obj = array();
    	    foreach($posts as $post)
    	    {
    	        $sorted[$post->post_type][] = $post;
    	        if(empty($post_type_obj[$post->post_type]))
    	        {
    	            $post_type_obj[$post->post_type] = get_post_type_object($post->post_type);
    	        }
    	    }
    
    	    //now we got everything we need to preapre the output
    	    foreach($sorted as $key => $post_type)
    	    {
    
    	        // check if post titles are in the hidden fields list
    	        if ( ! in_array('post_titles', $search_parameters['results_hide_fields'] ) )
    	        {
                    if(isset($post_type_obj[$key]->labels->name))
                    {
                        $label = apply_filters('avf_ajax_search_label_names', $post_type_obj[$key]->labels->name);
                        $output .= "<h4>".$label."</h4>";
                    }
                    else
                    {
                        $output .= "<hr />";
                    }
                }
    
    	        foreach($post_type as $post) {
    
    	            $image = "";
                    $extra_class = "";
    
                    // Get the categories for the post
               		$post_categories = wp_get_post_categories($post->ID);
    
               		// Check if the excluded category is in the post categories
    	            if (!in_array($exclude_category_id, $post_categories)) {
    
    	                // check if image is in the hidden fields list
    	                if (!in_array('image', $search_parameters['results_hide_fields']))
    	                {
    	                    $image = get_the_post_thumbnail($post->ID, 'thumbnail');
    	                    $extra_class = $image ? "with_image" : "";
    	                    $post_type = $image ? "" : get_post_format($post->ID) != "" ? get_post_format($post->ID) : "standard";
    	                    $iconfont = $image ? "" : av_icon_string($post_type);
    
    	                }
    
    		            $excerpt     = "";
    
    	                // check if post meta fields are in the hidden fields list
    	                if ( ! in_array('meta', $search_parameters['results_hide_fields'] ) )
    	                {
    	                    if(!empty($post->post_excerpt))
    	                    {
    	                        $excerpt =  apply_filters( 'avf_ajax_search_excerpt', avia_backend_truncate($post->post_excerpt,70," ","...", true, '', true) );
    	                    }
    	                    else
    	                    {
    	                        $excerpt = apply_filters( 'avf_ajax_search_no_excerpt', get_the_time( $search_messages['time_format'], $post->ID ), $post );
    	                    }
    	                }
    
    		            $link = apply_filters('av_custom_url', get_permalink($post->ID), $post);
    
    		            $output .= "<a class ='av_ajax_search_entry {$extra_class}' href='".$link."'>";
    
    		            if ($image !== "" || $iconfont) {
    	                    $output .= "<span class='av_ajax_search_image' {$iconfont}>";
    	                    $output .= $image;
    	                    $output .= "</span>";
    	                }
    		            $output .= "<span class='av_ajax_search_content'>";
    		            $output .= "    <span class='av_ajax_search_title'>";
    		            $output .=      get_the_title($post->ID);
    		            $output .= "    </span>";
    		            if ($excerpt !== '') {
    	                    $output .= "    <span class='ajax_search_excerpt'>";
    	                    $output .=      $excerpt;
    	                    $output .= "    </span>";
    	                }
    	          	}
    	            $output .= "</span>";
    	            $output .= "</a>";
    	        }
    	    }
    
    	    $output .= "<a class='av_ajax_search_entry av_ajax_search_entry_view_all' href='".$search_messages['all_results_link']."'>".$search_messages['view_all_results']."</a>";
    
    	    echo $output;
    	    die();
    	}
    }
    
    #1415666

    Hi,
    Thank you for your patience, Try adding this code to the end of your child theme functions.php file in Appearance ▸ Editor:

    if ( ! function_exists( 'bb_filter_search_results' ) )
    {
    	add_action( 'pre_get_posts', 'bb_filter_search_results' );
    	function bb_filter_search_results( $query )
    	{
    		
    		if ( ! $query->is_admin && $query->is_search )
    		{
    			$query->set( 'post_type', array( 'post', 'portfolio', 'page' ) );
    			$query->set( 'cat', array(43,44) );
    		}
    		
    		return $query;
    	}
    }
    
    if ( ! function_exists( 'bb_filter_ajax_search_results' ) )
    {
    	add_filter('avf_ajax_search_query', 'bb_filter_ajax_search_results', 10, 1);
    	function bb_filter_ajax_search_results( $search_parameters )
    	{
    		
    		$defaults = array('numberposts' => 5, 'post_type' => array( 'post', 'portfolio', 'page' ), 'cat' => array(43,44), 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false);
    		$_REQUEST['s'] = apply_filters( 'get_search_query', $_REQUEST['s']);
    		$search_parameters = array_merge( $defaults, $_REQUEST );
    		return $search_parameters;
    	}
    	
    }

    it will limit the search to an array of categories, in the code look for ‘cat’ => array(43,44) and change the numbers to your categories.
    Please note there are two places to make this change.
    I tested this with the search element filter Post Types set to All, and with the filter set to Posts
    Enfold_Support_2860.jpeg
    and it only gave me results from the two categories in the code.

    Best regards,
    Mike

    Okay, well, as it turns out, the more important issue is that I’m trying to have the flip boxes show head shots of 3 people, and the entire image needs to be on the front of the flip box.

    So to accomplish that, I searched the Enfold Forum and found this CSS:

    .avia-icon-grid-container,.avia-icongrid-wrapper,.article-icon-entry {
    height:50vh;
    }
    .responsive #av_section_1 > .container {
    max-width: 1810px;
    }

    And it looks great on a large desktop computer screen, but not great on other screen sizes. They get vertical and cut off part of their face and name.

    So I’m wondering if there is a way to customize these boxes to be exactly the size of the images or image proportion, take the full image? I hope that makes sense. And thank you. I have a coming soon page up, so I’ll provide login credentials in Private Content.

    thank you as always for your help!

    #1415311

    No problem,

    Thanks again for finding a solution to this – really happy with this. I used to use an old script for adding SKUs to the default search however it now uses depreciated code (and it was a slow query) so this is a much better solution.

    Can the documentation be updated with the new snippet/filter once 5.6.6 gets released?

    There are a few highly ranking Enfold forum entries with the incorrect solution on them. If they are still open to comment I’ll add the new solution to the posts once 5.6.6 is released.

    #1415203

    Thanks Gunter,

    The main reason for using Relevanssi for me was a speed improvement (where the SKU is included in the search). Relevanssi creates its own search index which helps keep the lookups quick.

    I now have a couple of extremely large woocommerce sites with Enfold that are all running extremely smoothly so Relevanssi is a natural progression to improve search.

    #1415189

    Hi,

    Filter will be in 5.6.6:

    https://github.com/KriesiMedia/enfold-library/blob/master/actions%20and%20filters/Compatibility%20Plugins/Relevanssi/avf_relevanssi_ajax_search.php

    searchform.php

    This is the default that a form collects all input on submit.

    Try this (adding the disabled attribute):

    https://stackoverflow.com/questions/3008035/stop-an-input-field-in-a-form-from-being-submitted/#answer-3008066

    Best regards,
    Günter

    #1415185

    Hi,
    Yes basically, the translation.txt at the plugin GitHub page shows these:
    Enfold_Support_2776.jpeg
    but you real only need to use the “less than” = < and the "greater than" = > that makes your HTML code.
    So for your headings use ###lt###u class=special-type###gt### ... ###lt###/u###gt### and change the “three dots” to the word you want orange.
    I would not use any “search & replace” if that is what you mean.
    I would only manually change the HTML that you have in elements when you see the red warning like in this screenshot
    Enfold_Support_2740.jpeg

    Best regards,
    Mike

    #1415180

    Hi Gunter,

    Sorry crossed wires here.
    I have updated my response to your original post.
    The second fix enfold\config-relevanssi\class-avia-relevanssi.php seems to work

    However both of your suggestions cause the ajax search to have different results to the search page.
    BUT
    The longer and more specific the search term – The less this is a problem.

    I have changed the value to 25 in class-avia-relevanssi.php and also used the css below to control the size of the dropdown:

    .ajax_search_response {
        max-height: 300px;
        overflow-y: scroll;
    }
    #1415178

    Hi,

    Have a look into enfold\config-relevanssi\class-avia-relevanssi.php

    Around line 170 you find:

    
    			$tempquery->query_vars = $search_parameters;
    			relevanssi_do_query( $tempquery );
    

    Try the following:

    
    			$tempquery->query_vars = $search_parameters;
    			$tempquery->set( 'posts_per_page', 5 );
    			relevanssi_do_query( $tempquery );
    

    Best regards,
    Günter

    #1415158
    thinkjarvis
    Participant

    Hi guys,
    I have raised this as a ticket with Relevanssi but wondered if there has been an update from Enfold’s end.
    Previous posts have not provided a valid solution.

    When Relevanssi is installed the Ajax search results that appear from the Enfold Search bar is set to all results meaning you get an extremely long load time for ajax results and a list as long as the entire page!
    If you turn on Throttling in Relevanssi settings it limits this to 500 entries but also limits the full search results page to 500 entries.

    If I add the following function it limits the Ajax search to 5 entries BUT also limits the full search results page to 5 entries. This is obviously not great for users and in solving the ajax issue it causes another problem!
    add_filter( 'pre_option_relevanssi_throttle_limit', function( $limit ) { return 5; } );

    Is there a way to limit just the Ajax search results to 5 rather than globally adjusting the Relevanssi search to 5.

    I want to limit Ajax instant searches to between 5 – 50 results and let the actual search results page display all or use the standard 500 throttle limit.

    #1414557
    zimbo
    Participant

    Tried to use the search facility on the support forum (https://kriesi.at/support/forum/enfold/) just now, 6 pm UK time, type in my search words of “load featured image”, click on the magnifying glass and I get this error every time:

    There has been a critical error on this website.
    
    Learn more about troubleshooting WordPress.

    “featured image” does work.

    #1414316

    Hi Alan,

    Please try to add this CSS code in Enfold > General Styling > Quick CSS:

    @media only screen and (max-width:767px) {
      .responsive #top .av-main-nav #menu-item-search {
        display: none;
      }
    }

    Hope it helps.

    Best regards,
    Nikko

    #1414279
    BenjaminSpeedtsberg
    Participant

    I use the column function in the Text Block which is great, but I miss one thing about it.
    I have searched for how I could set up, when the text should break up in two columns.

    Is this possible, maybe with a shortcode ort something? :-)

    #1414218
    Schmidtgrafisk
    Participant

    Hi Enfold

    How do I delete the search icon on mobile screens

    Cheer
    Alan ;)

    #1413964

    In reply to: AJAX search CSS

    Hey Tim,

    Sorry for the late reply.

    Please check enfold\css\layout.css

    Around line 2076 you find:

    
    .ajax_load_inner{
    	background: url("../images/layout/loading.gif") no-repeat scroll center center #fff;
    	opacity: 0.5;
    	position: absolute;
    	top:0;
    	left:0;
    	right:0;
    	bottom:0;
    }
    

    I think this is what you need.

    To override it you can use selector:

    
    #searchform .ajax_load .ajax_load_inner{
    
    }
    

    Hope this helps you.

    Best regards,
    Günter

    #1413782

    Topic: AJAX search CSS

    in forum Enfold
    THP Studio
    Participant

    Hey guys,

    Can I get your help with some CSS please?

    When you run an AJAX search, Enfold has a little spinner icon and behind it is the theme colour (in my case red).

    Client wants to remove the red background and only show the spinner, but due to the way this is injected I’m having a hard time isolating the CSS needed to do this.

    Could you please assist?

    Thanks

    Tim

    Andreas
    Guest

    Hey there!
    I’m considering getting an Enfold theme (They’re all fantastic btw), as I´m currently helping my father set up a Website for his ‘handyman’ business. Doing some research I found this website – https://cronerenovering.dk/
    I can see it was built with Kriesi + Enfold. Do you have any idea what demo they’re using?

    I’m NOT going to pirate an entire website, I just want to show my father the possibilities and customizations of you guys’ themes. Hope you can help me out and get me further in the purchase process :)

    Very kind regards,
    Andreas G.

    #1413383

    Topic: google search result

    in forum Enfold
    smarta-brett
    Participant

    Hi

    I recently did a site at https://gropodtreeguards.com.au
    when i do a google search for “gro pod tree guards”
    the first result for thsis site comes up as

    which has an enfold logo –
    is there a way to get the sites gropod logo to display on this page?

    #1413155

    Topic: License

    Dablec di Tiziano Moletta
    Guest

    Good morning,

    On April 8, 2023, I updated the license for the Enfold theme that was regularly installed on my website, Dablec.com.

    Unfortunately, this domain experienced a hacker attack that caused significant damage to its search engine indexing.

    The domain is expiring on the 21st of this month, and I will not be renewing it because I have created a new one with the IT extension.

    Is it possible to transfer your license to the new site, dablec.it?

    Thank you,
    Tiziano Moletta

    #1412962
    rosiet5
    Participant

    Hello,
    I put a new site live recently, changing it from a different WordPress template to Enfold. I was careful to keep all content and URL structure the same.
    After going live, I now have only 1 page showing as indexed in Google Search Console, the rest are not indexed, apparently due to a redirect on each page.
    I am struggling to work out why this is, as I’ve not set up any redirects. Can anyone offer any help?!
    I’d be really grateful as the rankings and traffic have drastically decreased as a result. SEMRush audit is also showing pages with permanent re-directs but I can’t see how or why they have occurred.
    Login details are in the private content.
    Many thanks

    • This topic was modified 2 years, 6 months ago by rosiet5.
    #1412960
    thinkjarvis
    Participant

    Hi guys,

    I am trying to remove some of the options from the Woocommerce default product sorting options.
    As per this post here: https://www.businessbloomer.com/woocommerce-remove-rename-add-default-sorting-options-shop/

    This code doesnt do anything On my Enfold sites.

    I found this on another forum post which seems to suggest that the default filters hook has a different name.

    function avia_remove_woocommerce_frontend_search_params() { 
    remove_action('woocommerce_before_shop_loop','avia_woocommerce_frontend_search_params', 20);
    } 
    add_action( 'init', 'avia_remove_woocommerce_frontend_search_params');

    Can you provide me with the correct code to remove some of the options.

    Copied from the article – This code doesnt work with Enfold.

    
    /**
    * @snippet       Remove Sorting Option @ WooCommerce Shop
    * @how-to        Get CustomizeWoo.com FREE
    * @author        Rodolfo Melogli
    * @testedwith    WooCommerce 3.8
    * @donate $9     https://businessbloomer.com/bloomer-armada/
    */
      
    add_filter( 'woocommerce_catalog_orderby', 'bbloomer_remove_sorting_option_woocommerce_shop' );
      
    function bbloomer_remove_sorting_option_woocommerce_shop( $options ) {
       unset( $options['rating'] );   
       return $options;
    }
      
    // Note: you can unset other sorting options by adding more "unset" calls... here's the list: 'menu_order', 'popularity', 'rating', 'date', 'price', 'price-desc'
    #1412643

    Topic: Cannot Instal Enfold

    in forum Enfold
    Saka
    Participant

    Hi,

    I have a dedicated server and have a WP site with Enfold for several years and have no issues with it.

    I am now making a new site so purchased another license, downloaded the latest files and created a new WP installation but I cannot install it.

    In the dashboard if I try to install I get the error: “The link you followed has expired.”

    I have searched for how to fix this and have been directed to the php.ini and .ht access to make changes to the limits. I have tried all of this but no sucess.

    Then I tried the Cpanel file manager to upload the Zip of Enfold to the Themes directory. Extracted it. Can see it in the Appearance menu. When I select activate I get an error message: “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    I have tried for hours and just can’t get this to install.

    Thanks,

    Jason

    #1412254

    In reply to: Noindex

    Hey germanvoice,
    Try checking WordPress ▸ Settings ▸ Reading ▸ Search engine visibility and ensure the box in not checked.
    Or if you have Yoast SEO installed check the Yoast SEO ▸ Advanced ▸ Allow search engines to show this Page in search results to ensure that it is “Yes”
    Enfold_Support_2512.jpeg

    Best regards,
    Mike

    #1412233

    Hi,
    Thanks for your screenshot, it looks like a post created with the Classic Editor, when I check on my demo site it is working for me:
    Enfold_Support_2507.jpeg
    I see in your screenshot there is a shortcode, try enabling SEO Support ▸ Search Engine Optimization Support ▸ Preprocessing Shortcodes In Header ▸ allow to preprocess shortcodes:
    Enfold_Support_2509.jpeg
    If this doesn’t help Try disabling your plugins. If that resolves the issue, reactivate each one individually until you find the cause.

    Best regards,
    Mike

    #1412209

    In reply to: Change search slug

    please go to that example page and search for : web
    ( that example page is an enfold page ( at 5.6.3 ) –
    https://webers-testseite.de/

    what is the permalink for search-results page ?
    it is: https://webers-testseite.de/suche/web

Viewing 30 results - 391 through 420 (of 7,471 total)