Viewing 30 results - 6,691 through 6,720 (of 7,502 total)
  • Author
    Search Results
  • #232105

    Hi!

    1) Yes – see: http://stackoverflow.com/questions/11817950/what-is-data-serialization – the important thing for you is that you can’t manipulate text stored as serialized data without changing some other values. I.e. if you replace:

    
    s:5:"hello" 
    

    with

    
    s:5:"hello world"
    

    the data wouldn’t be valid because php just searches for 5 characters and the text string “hello world” now has 11 characters. If you replace all occurrences of “world” with “hello world” in your database you also must make sure that the character count will reflect the change and increase/decrease the value accordingly. In this case

    
    s:11:"hello world"
    

    would be correct. The migrate script will take care of this issue.

    2) Yes, Enfold generates a dynamic stylesheet. However it does not store the options in the stylesheet but in the database and the stylesheet is just the output. The stylesheet will have the name of the current selected theme – if you activate a child theme you can delete the dynamic stylesheet of the enfold parent theme (enfold.css).

    Cheers!
    Peter

    #231833
    crealities
    Participant

    I am trying to change the Font-Size in the Latest News widget in the footer of my Enfold themed WordPress install, but am coming up unsuccessful. I would like to increase the size of the blog post titles within this widget and remove the italic styling to it as well.

    I have searched the forum and the only thing I can find is this, but when I add it to my install it does not work.

    .newsbox .news-headline {
    font-size: 16px;
    }
    #231680
    bridgers
    Participant

    Hi there. I searched on the forums but couldn’t really find a solution for this. Is there any way to add a Facebook option to the “Enfold RSS Link and Twitter Account” widget? Thanks!

    #231537

    In reply to: search page template

    Hi fonterra!

    No, you cannot create a search page in WP admin. You should modify theme files such as loop-search.php file inside wp-content\themes\enfold\includes and search.php file in wp-content\themes\enfold

    Best regards,
    Yigit

    #231485

    Hi!

    Thank you for the feedback!

    Cheers!
    Peter

    #231462

    Hi!

    1) The sort/filter feature is based on js/jquery and does not use php or ajax. You can modify the code in enfold/js/avia.js – search for:

    
    $.fn.avia_iso_sort = function(options)
    

    If you just want to modify the query which displays the grid items you can modify the operator in wp-content/themes/enfold/config-templatebuilder/avia-shortcodes/portfolio.php – search for:

    
    								'tax_query' => array( 	array( 	'taxonomy' 	=> $params['taxonomy'],
    																'field' 	=> 'id',
    																'terms' 	=> $terms,
    																'operator' 	=> 'IN')));
    

    and change the operator parameter

    
    'operator' 	=> 'IN'
    

    to

    
    'operator' 	=> 'AND'
    

    You can also use a filter function in your child theme:

    
    add_filter('avia_post_grid_query', 'avf_custom_post_grid_query');
    function avf_custom_post_grid_query ( $query ) {
    if(!empty($query['tax_query']['operator'])) $query['tax_query']['operator'] = "AND"; 
    return $query;
    }
    

    2) No, it’s currently not possible to pre-select a category by passing a parameter. However I’m sure you can implement it with some hours of work (maybe 2-3 hours including testing).

    Cheers!
    Peter

    #231206

    Hey fortuneRice!

    You can use this plugin: http://wordpress.org/plugins/codestyling-localization/

    Look for the Enfold theme then edit the language that you want to translate. Look for the strings using the string search field.

    Best regards,
    Ismael

    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, 1 month 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.
Viewing 30 results - 6,691 through 6,720 (of 7,502 total)