Forum Replies Created
-
AuthorPosts
-
Hi Mike,
I have opened a new thread.
It seems to be a problem with the Icon shortcode CSS.
I used the ICON shortcode from the page builder – When open in new window is selected the icons disappear, if you change this to open in same window the icons reappear.
This affects all enfold users so you shouldn’t need a login to my websites.
WORKAROUND: If you change the shortcode setting to open in same window it works. So something is wrong with the CSS when you add open in new window in the icon shortcode.
Hi Guys, thank you for issuing the temporary fix for social icons.
The fix for the social icons does not work if you place the shortcode into a widget area.
Can you look into this?
I normally place the social icon shortcode into widgets to remove the need for plugins that do the same function. This affects several of my websites. Luckily I have only updated one of them to the latest WordPress version. Very glad I waited!WORKAROUND: If you change the shortcode setting to open in same window it works. So something is wrong with the CSS when you add open in new window in the icon shortcode.
Cheers,
Tom- This reply was modified 5 years, 1 month ago by thinkjarvis.
Hi Mike,
The fix file does not work if you place the social icons in a sidebar widget. This is something I do for all of my customers as it removes the need to add a plugin to handle social icons.
Please can you add this to the fix?
In the meantime, I have only upgraded 1 customer to the latest version of WordPress so I can live with the problem for a few days if necessary.
Hi Ismael,
Yes – Cache purged, deleted old merged files and used incognito mode to test.
If you clear your browser history (inc cached files) and then try loading your test site you will see the issue.
I have migrated all of my customers back to my modified version of contact form 7. I am in the middle of 3 other Enfold web projects at the moment so I will get back to you when I get the chance to test this.
I will need to create a new enfold contact form on a non public page so we can investigate properly. I’ll get back to you shortly.
Hi Ismael,
Thank you for getting back to me.1) Thanks, the default privacy settings were set and the issue still occurs.
The standard math problem is too easily defeated by spam bots. This caused my server’s IP address to be blacklisted (I have 16 installs of Enfold running on a shared server environment all sending spam emails back to customers, this caused the server to be put on a blacklist).I had only just moved my customers to the Enfold default contact form because it is 100x more efficient to do it this way. Contact Form 7 – An alternative I would have used before severely reduces the pagespeed scores for any WordPress website. Not just Enfold. I have reverted all of the affected customers back to Contact Form 7, added a function to stop contact form 7 loading on every page and revert back to Google Recaptcha V2. This helps in general but if the website design has a contact form on every page then it will affect the sites overall speed performance. So Enfold’s contact form is the best option for speed and performance – If it works properly!
2) I will try this workaround and write a response if it works. This affects all installs of Enfold.
Hi Baslilis,
My mail server has just been blacklisted because of spam contact form submissions. I thought this would happen.
This problem is URGENT and needs a fix now. The only workaround for all customers is to disable the contact forms completely until this is fixed. I hope you understand the severity of this issue for business users of Enfold.
I now have a huge amount of work to do this morning to get the IP address delisted and the contact forms removed from about 10 websites.
Please can you answer the two questions asked in the original post above – When will the spam protection be fixed? and when will the cookie message bug be fixed so contact forms work correctly on mobiles and in incognito mode?
October 22, 2019 at 11:41 am in reply to: Contact form error message if required field is blank / empty #1150125Hi Ismael,
I’ve just tested this on another site I am working on. Works perfectly.Thanks very much, you can close this issue.
Cheers,
TomOctober 16, 2019 at 12:11 pm in reply to: Contact form error message if required field is blank / empty #1148434Hi Basilis,
The form is active on the page in the private link below.
October 3, 2019 at 3:28 pm in reply to: Mail Chimp widget in sidebar and footer not working in 4.6.1 Privacy Tick Box #1144487You can close the issue.
Hi Jordan,
Please close the topic. The solution above seems to work fine.
Hi Rikard,
The solution above works just fine.
Thank you. Please close the issue.October 2, 2019 at 12:16 pm in reply to: Mail Chimp widget in sidebar and footer not working in 4.6.1 Privacy Tick Box #1144136This appears to have been fixed in 4.6.3.1
Thanks Basilis.
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!
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!
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?September 13, 2019 at 4:05 pm in reply to: Mail Chimp widget in sidebar and footer not working in 4.6.1 Privacy Tick Box #1138045Hi 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
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.
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.
September 8, 2019 at 4:04 pm in reply to: Defer loading of offscreen images and remove unused CSS #1135646I 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.
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!
Fixed it sorry! Forgot to remove a script I was testing from Functions.php.
Sorry close or delete this thread!
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.
September 6, 2019 at 12:15 pm in reply to: 4.6 update Privacy message no longer appearing on Login screen #1134894I can confirm that this issue is fixed. Thanks Rikard.
Cheers Ismael,
Appreciate the help.
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 matchesReplace 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.
I’ll give that a try and reply here if it does what I need it to do.
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 5 years, 5 months ago by thinkjarvis.
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 5 years, 5 months ago by thinkjarvis.
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 sitesAugust 15, 2019 at 10:29 am in reply to: Transparent header/logo area not working on mobiles #1127874Thanks I ended up altering the design in the end.
No problems. The customer site is now live and starting to rank.
-
AuthorPosts