Forum Replies Created

Viewing 26 posts - 61 through 86 (of 86 total)
  • Author
    Posts
  • You can close the issue.

    in reply to: Improved search for Woo Commerce #1144139

    Hi Jordan,

    Please close the topic. The solution above seems to work fine.

    in reply to: Full length breadcrumbs woocommerce #1144138

    Hi Rikard,

    The solution above works just fine.
    Thank you. Please close the issue.

    This appears to have been fixed in 4.6.3.1

    Thanks Basilis.

    in reply to: Mobile Breakpoint for IPad and IPad Pro #1144129

    Hi Yigit,

    This works as expected thank you.

    In the latest version of enfold it looks like you guys have implemented a similar workaround to my original post? Glad to have helped!

    in reply to: Improved search for Woo Commerce #1140162

    Glad this helped Lars! I pieced this together from other forum entries so I cannot take credit for the code but the solution seems to do what most people (including myself) were looking for!

    in reply to: Mobile Breakpoint for IPad and IPad Pro #1138843

    Hi Victoria,

    I normally apply this anyway but I still need some help here if you can.

    This solution does not work for ipads with a wide logo.
    I need the burger menu to activate at 1024px (ipad landscape)
    Is it possible to change the mobile menu so it kicks in at 1024px instead of 989px?

    Hi Rikard,

    Its not fixed in Enfold 4.6.2. Still works in the page builder element but not the mailchimp widget.

    Please can you add this to the bug fix list for the next release

    in reply to: Recommended plugins (Updated: 27.8.2018) #1137415

    You’ve missed a big one from the main list.

    I highly recommend WP-Optimize. I use it on every website to decrease the size of the database. It now comes with an image compression service and very simple caching engine.

    This is an essential plugin for database optimisation but because it now has a built in caching engine this is a viable alternative to WP Supercache, WP Rocket or W3 Total Cache.

    in reply to: Lazy Load for portfolio grid element #1135701

    Hi Mike,

    Totally on topic. Thank you!

    I’ll give this a try when I am next running an update out. All of my customers are now running 4.6.1.

    I am looking to add some more optimisations over the coming months.

    Probably the best advice I have for anyone else using Enfold seeing this post is to use as many of Enfolds included features to prevent additional scripts created by plugins.

    I.e. use the social media shortcodes to display icons in the footer instead of a plugin, try and use the google maps api rather than iframe (I use iframe for speed at the moment only because I don’t want to sign up customers to the api and may get charged if their site gets lots of traffic). I use contact form 7 for instance. For consistency all of my customers use it however it would be better to use the built in Enfold contact form if the customer does not need complex fields or features.

    I would also always install wp-optimize – which now includes a very easy to setup caching engine so you don’t need wp-super cache or w3 total cache. Another option if super cache is playing up.

    Just removing the little things which can bloat the code will improve the score.

    in reply to: Lazy Load for portfolio grid element #1135647

    No Problem, it’s not a massive deal to be fair. Google can be frustrating. From a UX perspective I expect the average page visitor will scroll to the bottom of the portfolio page, so in reality a lazy load will delay the inevitable in most cases.

    Using GTMetrix I get 90% -100% and over and 78%-90% on YSLOW without a full CDN.
    Using Google Lighthouse, I get near perfect scores across all my client’s sites
    Using Google Pagespeed, I get excellent desktop scores but between 55-70 on mobiles (which simply isn’t true, Google doesn’t like the way I optimise the UX experience, however it makes the websites I produce look and function excellently on mobiles)

    The pagespeed score is the bugbear for me purely because Google says so. And customers will worry if they don’t see an excellent score. Many WordPress sites don’t perform well in this test so it is pretty common. Mine perform better than most running enfold without design compromises.

    in reply to: Defer loading of offscreen images and remove unused CSS #1135646

    I am going to list the items I find that can be removed. I’ll update this thread with the code I have used once I have tested it with my website, then I will roll it out to clients.

    in reply to: 4.6.1 Enfold Speed and Performance reduction #1135297

    Update – Scores have now improved. I have also removed a plugin that is no longer supported.

    https://gtmetrix.com/reports/www.thinkjarvis.co.uk/PCco349d

    I think we are good!

    in reply to: jquery error in modal 4.6.1 update problem #1135296

    Fixed it sorry! Forgot to remove a script I was testing from Functions.php.

    Sorry close or delete this thread!

    in reply to: 4.6.1 Enfold Speed and Performance reduction #1134898

    See old results in private section. I have just compared the water falls and the new update is quicker and loads less resources, so I think that the new update is probably quicker in reality. I am keen to know your thoughts.

    I can confirm that this issue is fixed. Thanks Rikard.

    in reply to: Full length breadcrumbs woocommerce #1134893

    Cheers Ismael,

    Appreciate the help.

    in reply to: Improved search for Woo Commerce #1133044

    As Promised, the solution below changes the default search form to make it:
    -Show products in a grid
    -Add SKUs to the standard search
    -Fixes the Ajax search so it all matches

    Replace the search form
    Edit the searchform.php (use your child theme to make a copy) Replace the default form with the following:

     <form role="search" method="get" id="searchform" action="<?php echo home_url( '/' ); ?>">
    			<div>
    				<input type="text" id="s" name="s" value="<?php if(!empty($_GET['s'])) echo get_search_query(); ?>"  placeholder='<?php echo $search_params['placeholder']; ?>'>
    				<input type="submit" value="<?php echo $icon; ?>" id="searchsubmit" class="button <?php echo $class; ?>" />
    				<input type="hidden" name="post_type" value="product">
    			</div>
    		</form>

    Add SKUs to the default search
    The guy who put this together is brilliant thank you! Add the following to your child theme’s functions.php file:

    /**  __________________________________   ENHANCE THE STANDARD SEARCH 
     * Join posts and postmeta tables
     * 					 This one hels to include the SKU in tzhe standard search
     * http://codex.wordpress.org/Plugin_API/Filter_Reference/posts_join
     */
    function cf_search_join( $join ) {
        global $wpdb;
        if ( is_search()  || !empty($_REQUEST['s'] )) {    
            $join .=' LEFT JOIN '.$wpdb->postmeta. ' ON '. $wpdb->posts . '.ID = ' . $wpdb->postmeta . '.post_id ';
        }
        return $join;
    }
    add_filter('posts_join', 'cf_search_join' );
    
    /**
     * Modify the search query with posts_where
     *
     * http://codex.wordpress.org/Plugin_API/Filter_Reference/posts_where
     */
    function cf_search_where( $where ) {
        global $pagenow, $wpdb;
        if ( is_search() || !empty($_REQUEST['s'] ) ) {
            $where = preg_replace(
                "/\(\s*".$wpdb->posts.".post_title\s+LIKE\s*(\'[^\']+\')\s*\)/",
                "(".$wpdb->posts.".post_title LIKE $1) OR (".$wpdb->postmeta.".meta_value LIKE $1)", $where );
        }
        return $where;
    }
    add_filter( 'posts_where', 'cf_search_where' );
    
    /**
     * Prevent duplicates
     *
     * http://codex.wordpress.org/Plugin_API/Filter_Reference/posts_distinct
     */
    function cf_search_distinct( $where ) {
        global $wpdb;
        if ( is_search() || !empty($_REQUEST['s'] ) ) {
            return "DISTINCT";
        }
        return $where;
    }
    add_filter( 'posts_distinct', 'cf_search_distinct' );
    /* END   Search includes SKU  */

    Hope this helps other people. It makes the Search in Enfold do what it should when Woocommerce is installed.

    in reply to: Improved search for Woo Commerce #1132277

    I’ll give that a try and reply here if it does what I need it to do.

    in reply to: Enfold Showcase #1130757

    Another happy customer. Greenstone Heat Pumps and Underfloor Ltd approached Think Jarvis looking to update and optimise their company website.

    We took their existing WordPress installation and migrated over to the Think Jarvis Framework – A child theme for Enfold. Then worked on the new version in the background which is now live. We also host the website guaranteeing it’s performance and provided a professional email service.

    We use a custom caching setup (using .htaccess) and either WP-Optimize or WP Super Cache. We also use Jetpack’s image and asset CDN as it offers a free image and wordpress asset content delivery service. I would recommend that Enfold is not used with NGINX servers – We have had problems with some hosting providers who offer an optimised WordPress environment. We use a Linux Apache server for all of our customers as this seems to allow better optimisation.

    I would also recommend the ‘Stop WordPress generating image sizes’ plugin and change the default media sizes to 767×767 (enfold mobile breakpoint) and 989×989 (enfold tablet/large mobile breakpoint). I would also pick and choose which of Enfold’s default image sizes you actually need to prevent a bloated image library.

    The new website can be seen at :
    https://www.greenstoneheat.co.uk

    • This reply was modified 1 year, 2 months ago by  thinkjarvis.
    in reply to: Enfold Showcase #1127877

    I have just launched my company website. Think Jarvis Design and Marketing. We use Enfold, a custom child theme, caching and optimisation for a majority of our websites. Great platform to get things done quickly and consistently.

    Our services include website design, website hosting and SEO using the Yoast SEO plugin.

    Still needs a bit of work on the content and a few service pages adding but the best pages are linked below:

    Company website
    https://www.thinkjarvis.co.uk/

    Other websites designed using Enfold with a custom child theme:
    https://www.thinkjarvis.co.uk/portfolio/

    Custom Portfolio Entry.
    https://www.thinkjarvis.co.uk/portfolio/playground-equipment-design-and-visualisation/

    • This reply was modified 1 year, 2 months ago by  thinkjarvis.
    • This reply was modified 1 year, 2 months ago by  thinkjarvis.
    • This reply was modified 1 year, 2 months ago by  thinkjarvis.
    in reply to: Grid row heights not equal on desktops #1127875

    This solution is spot on thank you.
    Its because pixels are calculated to decimal places but then rounded when displayed creating a small discrepancy.
    I have applied this to all of my client sites

    in reply to: Transparent header/logo area not working on mobiles #1127874

    Thanks I ended up altering the design in the end.

    No problems. The customer site is now live and starting to rank.

    in reply to: Hook to move Jquery from header to footer? #1127872

    Never replied to this. Now that Enfold can scan the footer for shortcodes, I have simply replaced the social icon widget with a shortcode for all of my clients sites.

    Cheers guys.

    in reply to: Grid row heights not equal on desktops #1039087

    Hi Victoria,

    Sorry I think you have misunderstood.

    I am talking about the Grid row items. It is nothing to do with text.

    See screenshot below:
    https://www.thomasjarvisdesign.co.uk/example.jpg

    The 3 grid row images are not the same size, which is leaving a small gap under image 2 and image 3

    I have had this problem affect other sites with the same setup. The problem does not appear in Microsoft Edge. Only Chrome. It seems to resize grid row column 1 differently to 2 and 3.

    in reply to: Hook to move Jquery from header to footer? #1027949

    Sorry the widget in column 2 in the footer

    I missed a bit.

Viewing 26 posts - 61 through 86 (of 86 total)