Viewing 30 results - 6,691 through 6,720 (of 7,495 total)
  • Author
    Search Results
  • Perfect! Thank you Peter!! Google powered search rocks! misspellings, semantic matches so much superior

    Here’s some CSS adjustments to the Google results page I made that may help others:

    .gsc-resultsHeader {display: none;}
    .gsc-orderby-container {display: none;}
    .gs-bidi-start-align {padding-left: 7px;}
    .gsc-thumbnail{padding: 8px 0 11px 8px;}

    Customization to results styles can be made at your Google CSE interface.

    Subscribe to the ads-free results and you may also remove Google branding:
    .gcsc-branding {display: none;}

    Note in search.php I inserted the google search script in lieu of the existing search replacing lines 21-47:

    <section class="search_form_field">
                                <?php
                                echo "<h4>".__('New Search','avia_framework')."</h4>";
                                echo "<p>".__('If you are not happy with the results below please do another search','avia_framework')."</p>";
    
                                get_search_form();
                                echo "<span class='author-extra-border'></span>";
                                ?>
                            </section>
                        </div>
    
                        <?php
                        if(!empty($_GET['s']))
                        {
                            echo "<h4 class='extra-mini-title widgettitle'>{$results}</h4>";
    
                            /* Run the loop to output the posts.
                            * If you want to overload this in a child theme then include a file
                            * called loop-search.php and that will be used instead.
                            */
                            $more = 0;
                            get_template_part( 'includes/loop', 'search' );
    
                        }
    
                        ?>

    Hope this will help other Enfold aficionados :)

    #231100
    fortuneRice
    Participant

    Hi guys,

    I’m using the latest Woocommerce 2.1.3 with Enfold, with Woocommerce Multilingual 3.2.1. The problem is there are a few places where I can’t figure out how to translate. The bulk of the translations is provided by woocommerce multilingual automatically, and some I use WPML String Translation to search for them, but there are still a few missing. For example, the “Show Details” for each product widget. Where/how do I access the complete list of strings? Thanks.

    #231060

    Thanks dude,

    you can check the problem here:

    http://medientanz.de

    in Firefox 27 :Broken search button in header etc…

    What I have done for testing:
    Reinstalled firefox.
    Tested several htacess solutions
    Deaktivated all plug ins
    Emptied the browser cache
    Deleted the whole enfold folder and reinstalled it
    Tested the pure Enfold Theme ( without the Enfold- Child Theme)

    1und1.de Server

    #231044

    Hey ttem!

    1) Insert this code at the bottom of functions.php

    
    add_filter('avf_frontend_search_form_param', 'avia_deactivate_ajax_search',10,1);
    function avia_deactivate_ajax_search($params)
    {
    	$params['ajax_disable'] = true;
    	return $params;
    }
    

    2) Insert this code into the functions.php file:

    
    add_filter('avf_which_archive_output', 'avia_change_archive_title',10,1);
    
    function avia_change_archive_title($output)
    {
    	if (strpos(strtolower($output), 'search results for') !== false) {
    		$output = __('Search results for:','avia_framework')." ".esc_attr( get_search_query() );
    	}
    	return $output;
    }
    

    Regards,
    Peter

    ttem
    Participant

    Gettting Google powered search on Enfold is fairly easy- Just need to get custom google search engine code and paste it in place of WP search function in copy of search.php in child theme. check following video for instructions:

    The theme’s search boxes work with it. Just 2 small things,
    1. How to disable the ajax search script in the header the header search box so it behaves just like the standard widget search box. While the header ajax search script doesn’t return results, it is still interfering and processing while typing in the box.

    2. How to remove number of results in the H1 entry title, for example it shows as this:
    10 Search results for: testing
    but google custom search returns 30 results so obviously that number 10 is coming from internal search results number. So could I remove the quantity number so that it show simply as: Search results for: testing

    Thank you for your help!

    Thanks Peter! I was trying to implement Relevanssi after seeing a tutorial for integrating it with Enfold.
    So it seems for now there may be some incompatibility so I will implement Google custom search instead which should deliver better results. I’ll go over some of the previous threads for tips on that.

    Thank you for your team’s awesome support!!

    Hello Dude,

    Thanks very much for your help, I appreciate it. Unfortunately, that did not work either. It yields the same results as the previously entered code.

    My entered page ID’s (as entered within the Relevanssi settings) that should be excluded from search results are successfully excluded from the search results on the actual WP search results page. They are still being returned in the “instant search” results by enfold though.

    Thanks again for the help…do you think you could point me in the right direction with what I should be asking the folks over at Relevanssi?

    #230631

    In reply to: WMPL

    Hi!

    Please keep us posted if they find something. Afaik the default themes like twenty fourteen, twentythirteen and twentytwelve, etc. do not use the wp_list_pages() function (I searched the theme code) and we can’t compare them to Enfold…

    Best regards,
    Peter

    #230577
    CelebrationEvents
    Participant

    My pages look fine on Google Chrome en safari, but whith internet explorer the pages give this error :

    Notice: Undefined offset: 1 in /var/www/02/62/71/celebrationevents.eu/www/wp-content/themes/enfold/framework/php/function-set-avia-frontend.php on line 1075

    The BIG problem is that google indexes all my pages with this error. so the site has no use at this moment.

    https://www.google.nl/search?q=Notice%3A+Undefined+offset%3A+1+in+%2Fvar%2Fwww%2F02%2F62%2F71%2Fcelebrationevents.eu%2Fwww%2Fwp-content%2Fthemes%2Fenfold%2Fframework%2Fphp%2Ffunction-set-avia-frontend.php+on+line+1075&oq=Notice%3A+Undefined+offset%3A+1+in+%2Fvar%2Fwww%2F02%2F62%2F71%2Fcelebrationevents.eu%2Fwww%2Fwp-content%2Fthemes%2Fenfold%2Fframework%2Fphp%2Ffunction-set-avia-frontend.php+on+line+1075&aqs=chrome..69i57j69i58.1192j0j7&sourceid=chrome&espv=210&es_sm=122&ie=UTF-8

    Please advice

    http://www.celebrationevents.eu
    Note : All plugins disabeld and no caching

    #230212

    In reply to: Search in Top Header

    This reply has been marked as private.
    #230204

    In reply to: Search in Top Header

    This reply has been marked as private.
    #230188

    In reply to: Search in Top Header

    dear enfold,

    i have found the CSS but now the top header looks ugly how to move it around before the HOMEpage menu and one line with homepage link.

    cheers,
    indra

    #230186

    In reply to: Search in Top Header

    Hi!

    It is in Enfold theme options under Styling tab http://i.imgur.com/W0v6KLB.jpg
    You can also add your custom CSS code in Custom.css file inside Enfold/Css folder

    Best regards,
    Yigit

    #230183

    In reply to: Search in Top Header

    Dear Enfold,

    i cannot find QUICK CSS in enfold directory… is it under different name? stylesheet.css? or where?

    thank you
    indra

    #230157

    Hi susannetessamueller!

    Please add following code to Quick CSS in Enfold theme options under Styling tab

    .title_container .breadcrumb { display: none; }

    and go to Enfold theme options > Header tab and uncheck "Append search icon to main menu" to remove the lupe

    Cheers!
    Yigit

    #230116

    In reply to: Search in Top Header

    Hey indrahalim!

    Please go to Appearance > Editor and open Header.php file and find

    if(strpos($headerS,'social_header') !== false && strpos($headerS,'bottom_nav_header') !== false) avia_social_media_icons($social_args);

    then add following code right below it

    get_search_form();

    Then you can position it by adding following code to Quick CSS in Enfold theme options under Styling tab

    #header #searchform { float: right; }

    You can remove default search icon from main menu in Enfold theme options > Header > Append search icon to main menu

    Regards,
    Yigit

    Hello Devin!

    Thanks so much for the quick reply, I really appreciate it. Unfortunately, it hasn’t yielded any different results. Here is what the beginning of my enfold functions.php file looks like (beyond what I’ve copy/pasted here, there are now zero changes…it’s exactly as it comes in a fresh download):

    <?php
    
    global $avia_config;
    
    /*
     * if you run a child theme and dont want to load the default functions.php file
     * set the global var bellow in you childthemes function.php to true:
     *
     * example: global $avia_config; $avia_config['use_child_theme_functions_only'] = true;
     * The default functions.php file will then no longer be loaded. You need to make sure then
     * to include framework and functions that you want to use by yourself. 
     *
     * This is only recommended for advanced users
     */
    
    if(isset($avia_config['use_child_theme_functions_only'])) return;
    
    /* adding filter for instant search to return relevanssi filtered pages/posts */
    
    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;
    
        $tempquery->query_vars = $search_parameters;
        relevanssi_do_query($tempquery);
        $posts = $tempquery->posts;
    
        return $posts;
    }
    
    /*end relevanssi filter */
    crazyflx
    Participant

    I’m in the process of finishing up a development site before I move it to a live environment. I absolutely love the Enfold theme and have been able to, thus far, build a beautiful site using it (still have a lot left to finish unfortunately).

    EDIT: I’m using the newest/latest version of Enfold, Version 2.5.2

    Anyway, I installed Relevanssi and now my “instant search” results that Enfold serves up via Ajax do not match those results on the actual search results page. Within the Relevanssi settings I input specific page ID’s that I do not want returned in the search results. On the search results page, those pages I don’t want to appear in the search results don’t appear, which is great.

    However, they are still appearing within the “Instant Search” results. This is very bad, because I have pages that should only be seen by customers of mine (like “Thank you for purchasing”, “Reduced Special Pricing Pages” and so on).

    After searching the forums, I found a few posts detailing similar issues. I included the following code which I found on this post: https://kriesi.at/support/topic/enfold-code-update-for-2-2-to-use-relavanssi-plugin/ within my themes functions.php file (at the very bottom of it, beneath everything else within the file)

    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;
    
        $tempquery->query_vars = $search_parameters;
        relevanssi_do_query($tempquery);
        $posts = $tempquery->posts;
    
        return $posts;
    }

    Unfortunately, that doesn’t work. I still am seeing pages that I specified within the Relevanssi settings as pages to not be returned in search results within the “Instant Search” results returned (but again, the pages I specified within the Relevanssi settings to not be returned in search results DO NOT appear on the actual search results page, which is correct…but they’re still appearing within the instant search results).

    • This topic was modified 12 years ago by crazyflx.
    #229581

    Topic: Search in Top Header

    in forum Enfold
    indrahalim
    Participant

    Dear Enfold,

    help me please:

    1.How to make search avaliable in top header visible before the HOME link. currently the search button only popup after click. i would like the Search avaliable before the home link.

    2. why in the mobile version i could not find the search button at all? any code i need to put so i could search when im in mobile version?

    thank you
    indra

    #229512
    This reply has been marked as private.
    #229409

    Hey!

    Are you using the latest version of Enfold (2.5.4)?

    I tried reproducing your issue on my local install with no success:

    Regards,
    Josue

    #229395
    This reply has been marked as private.
    This reply has been marked as private.
    #229079

    Thanks, I’ve tried that, but despite trying different browsers and refreshing, the page is still loading the standard /wp-content/themes/enfold/js/avia.js?ver=1 file.

    #229058

    Hey emin!

    Please go to Appearance > Editor and open Header.php file and find

    wp_nav_menu($args);
                                echo '</nav>';

    and add following right below it

    get_search_form();

    Then add following code to Quick CSS in Enfold theme options under Styling tab

    #header  #searchform { float: right; padding-top: 37px; }
    .main_menu { right: 20%; }
    #top #menu-item-search { display: none; }

    Please hire a freelance developer if further customization is needed

    Regards,
    Yigit

    #228959
    parperei
    Participant

    Dear all,

    the AJAX-Search (location: main menu) displays two german terms below the input, when searching for a text-string which doesn’t exist. This happens in both versions of our website (standard: german / 2nd language: english). I think it is not a bug, so I kindly ask to give me some advice on how to solve that misbehaviour.

    What I did, while trying to solve it on my own:
    While earching for the strings which do not translate in the english version of our website, I found both translations in “themes\enfold\lang\de_DE.po”:

    on line60/61
    msgid “Sorry, no posts matched your criteria”
    msgstr “Entschuldigung, aber kein Eintrag erfüllt ihre Suchkriterien”

    and

    on line 65/66.
    msgid “Please try another search term”
    msgstr “Bitte versuchen Sie einen anderen Suchbegriff”

    I used the “import .po-file”-function, imported the above mentioned .po-file and selected both terms to add them to string translation.

    The result was that I saw an existing english translation for both terms. I added the german translation for both terms, check “translation done” and saved.

    But sadly this did not solve the still existing problem.

    I hope I described my approach in an understandable way. And I am looking forward to get a hint on how to solve this issue.

    Kind regards!

    #228917

    Hi!

    You can try to replace this line in enfold/js/avia.js:

    
    new $.AviaTooltip({"class": 'avia-search-tooltip',data: 'avia-search-tooltip', event:'click', position:'bottom', scope: "body", attach:'element'});
    

    with

    
    new $.AviaTooltip({"class": 'avia-search-tooltip',data: 'avia-search-tooltip', event:'click', position:'bottom', scope: "#header", attach:'element'});
    

    This change will change the click event scope and maybe fix your issue.

    Best regards,
    Peter

    #228913

    Hey!

    If you use a 3 columns layout the thumbnail size of 200×200 doesn’t make sense because the columns will stretch the images to 273px x 273px. You can try to increase the number of columns on the settings page (WooCommerce > Settings > Products – scroll down and search for the “Column Count” option and set it to 4 or 5). Then Enfold will show more columns per row and the image/thumbnail size will decrease because the column width is smaller.

    Best regards,
    Peter

    #228902

    Hey mnolden!

    Dafür gibt es seit Enfold 2.4 eine Option im Adminbereich. Gehe zu Enfold > Theme Options > Header und suche nach der “Append search icon to main menu” Option. Stelle sicher das diese Checkbox nicht markiert ist und speichere die Optionen.

    Cheers!
    Peter

    #228840

    Hi again. The issue is resolved and the problem was 100% with the UserPro plugin. Its author cited a “minor jquery conflict,” which he corrected for the updated version. I can now confirm that the updated plugin works very well with Enfold. Thanks!

Viewing 30 results - 6,691 through 6,720 (of 7,495 total)