Forum Replies Created

Viewing 30 posts - 61 through 90 (of 416 total)
  • Author
    Posts
  • in reply to: how to adjust the excerpt length in ENFOLD #1415641

    Hi Mike,

    WHen using the ALB Blog Posts element > Set it to grid > set it to show title, excerpt and read more button.

    Because this code shortens the excerpt and the div containing the read more button is within the excerpt this code removes the read more button as well as shortening the excerpt.

    Is there a way to preserve the read more button?

    in reply to: how to adjust the excerpt length in ENFOLD #1415606

    Hi Mike,

    Thank you for this. I can confirm it shortens the excerpt but the filter is stopping the read more button from generating.
    Is there a way to fix this?

    I have added a CSS class to add some dots after the content so it doesnt suddenly end.

    .slide-entry-excerpt::after {
    content:'...';
    }

    Is it possible for you to update the snippet?

    in reply to: how to adjust the excerpt length in ENFOLD #1415443

    Hi guys

    Can you confirm that the filter for the blog post element set in grid mode still works?

    I have a client asking me to shorten the excerpts and I cannot get the filter to work in 5.6.5

    
    add_filter('avf_postgrid_excerpt_length','avia_change_postgrid_excerpt_length', 10, 1);
    function avia_change_postgrid_excerpt_length($length)
    {
       $length = 100;
       return $length;
    }

    I am using the grid style blog posts ELEMENT on the home page with title and excerpts turned on.

    • This reply was modified 1 year, 3 months ago by thinkjarvis.
    in reply to: Enfold Relevanssi Ajax Dropdown Limit #1415330

    Thanks Yigit
    See comments below

    in reply to: Enfold Relevanssi Ajax Dropdown Limit #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.

    in reply to: Enfold Relevanssi Ajax Dropdown Limit #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.

    in reply to: Enfold Relevanssi Ajax Dropdown Limit #1415188

    I’ve figured out what it is doing.
    I am happy with the results please add the filter.

    in reply to: Enfold Relevanssi Ajax Dropdown Limit #1415184

    Hi Gunter,

    The filter works as expected when the standard search layout is used – but has thrown another problem.
    Please add the filter it is a good solution.

    I have customised the searchform.php file adding:
    <input type=”hidden” name=”post_type” value=”product”>
    into the <form> tags.

    This is causing the search to show different results to the ajax search.
    Any idea how I can bring the two into alignment?

    The search query changes from
    /?s=samsung
    to
    /?s=samsung&post_type=product

    in reply to: Enfold Relevanssi Ajax Dropdown Limit #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;
    }
    in reply to: Enfold Relevanssi Ajax Dropdown Limit #1415172

    Hi Gunter,

    That works. But the theme developer is suggesting a better way to do this.
    https://wordpress.org/support/topic/limit-ajax-search-to-5-posts/#post-16938764

    Although this works
    It means the Ajax search results are a lot less accurate so it isnt perfect but at least it gives much better control over the ajax and increases the speed.
    Setting this to 25-50 seems to improve the search accuracy on the site I am using it on.

    • This reply was modified 1 year, 3 months ago by thinkjarvis.
    • This reply was modified 1 year, 3 months ago by thinkjarvis.
    • This reply was modified 1 year, 3 months ago by thinkjarvis.
    in reply to: WP Scalability Pro #1415038

    I have no Enfold specific issues to report at the moment. All seems fine.

    WP Scalability can add bespoke settings to their plugin though to benefit specific themes. They already have some custom settings that only apply to certain popular themes so not sure if there is anything else they can do to support Enfold specifically. So possibly worth joining the Discord or getting in touch with WP Intense to see what they are offering theme developers.

    in reply to: WooCommerce CSS Priority issue #1413966

    Thanks Gunter,

    See below

    in reply to: WooCommerce CSS Priority issue #1413941

    Thanks Gunter. I can confirm that this patch has worked as expected on the test server.

    in reply to: Remove items from default WooCommerce Dropdown filter #1412971

    Thanks Gunter,

    Works as expected:

    The working filters are below for functions.php

    For other users comment out the lines that you dont want to remove.

    NOTE If you comment out default – It causes a PHP error. So please keep default enabled.

    // remove unused woo filters
    add_filter( 'avf_wc_product_order_dropdown_frontend', 'thinkjarvis_remove_sorting_option_woocommerce_shop' );
    function thinkjarvis_remove_sorting_option_woocommerce_shop( $product_order ) {
    	unset( $product_order['default'] );
    	unset( $product_order['menu_order'] );
    	unset( $product_order['title'] );
    	unset( $product_order['price'] );
    	unset( $product_order['date'] );
    	unset( $product_order['popularity'] );
    	unset( $product_order['rating'] );
    	unset( $product_order['relevance'] );
    	unset( $product_order['rand'] );
    	unset( $product_order['id'] );
    	return $product_order;
    }
    • This reply was modified 1 year, 4 months ago by thinkjarvis.
    • This reply was modified 1 year, 4 months ago by thinkjarvis.
    in reply to: Compatibility issue: WooCommerce 7.8 Cart Fragments #1410905

    Thanks Nikko,

    in reply to: dropdown cart error woocommerce 7.8 #1410687

    Also reported the same issue.
    I downgraded the site experiencing issues to 7.7.2 to restore functionality.

    https://kriesi.at/support/topic/compatibility-issue-woocommerce-7-8-cart-fragments/

    Old releases of Woocommerce can be downloaded here:
    https://developer.woocommerce.com/releases/

    in reply to: feature request: Title input box for iconlist links #1407363

    Hi Gunter,
    Thank you for this – There is no rush by the way I have just coded a workaround. It would help on several projects to be able to customise the titles of these links as I often use them for geographic locations and specific services.

    I’ll put a link in the private content to the test area for my current solution.
    I’ve essentially created an Enfold Text box with a

      list. I’ve then used css :before to show an icon before the text.
      I’ve also added flex so I can put a column within a column.
    • This reply was modified 1 year, 6 months ago by thinkjarvis. Reason: extra info
    in reply to: Bug Breadcrumbs showing wrong category structure #1406243

    Hi Yigit,

    Really sorry about this – I think it is down to the way the categories are being ordered in the database.

    Caused by WPAllImport Plugin.
    I think I am going to have to manually re-order the categories in a WooCommerce CSV and re-upload them in the correct order.
    Removing all categories and adding them again is still causing them to list in the wrong order in the Category field.

    I have no idea why. Even alphabetically the one it is picking shouldnt be the first!

    I’ll do some more investigation work. But I now dont think it is caused by Enfold.
    If I find anything that would lead me to suspect it is Enfold I’ll share more info on this post.

    in reply to: Hosting #1398056

    See private data

    in reply to: Bug: CDN Use and fonts loading twice #1398055

    This appears to have solved the problem thanks Gunter.

    I have moved on from Key CDN and it looks like I will be using Stack Path as my CDN partner for all sites on my servers that require it.

    This fix will also apply to any Edge Caching setup. Thank you for providing a fix.

    You may close this issue.

    Thanks Ismael,
    Redirects will be easier but I will probably create a custom post type so that I can organise the new pages more easily.

    I was looking for a way to preserve the category structure. Technically I think it is possible the way I have suggested but it relies on a lot of components so could become unstable if one of the plugins used is then no longer supported.

    I’ll start with redirects for simplicity and a custom post type.

    in reply to: Remove crop from Enfold WooCommerce images? #1390301
    add_action('after_setup_theme', 'update_enfold_image_sizes');
    	function update_enfold_image_sizes() {
    add_image_size ('shop_thumbnail', 200, 0, false );
    add_image_size ('shop_catalog', 450, 0, false);
    add_image_size ('shop_gallery_thumbnail', 300, 0, false);
    }

    Found it.

    I have a content partner providing imagery for thousands of products and they are all poorly cropped so i am trying to make it so that they will display correctly without having to be re-sized to a specific aspect ratio. I’ll share my solution on my other thread.

    @mike This will also help anyone using Flying Scripts as I believe this works in reverse? Where you have to specify the files you want to include rather than exclude.

    @mike totally forgot that I could do that thank you for getting back to me so soon!

    I’ll go through the list and see if I can resolve the issue with shortcodes.js

    I have a feeling that since the turn off animations on mobile devices was added as an option in Enfold > Performance – That this might be the cause of the issues I have encountered with the WP-Rocket official Enfold exclusions list. The instructions for Enfold have not changed for some time now and when I checked the line of code in shortcodes.js causing the issue it related to turning off mobile animcations.

    Once I’ve done some testing I’ll update the ticket.

    in reply to: 5.3 update folder locations #1377567

    Hi Gunter,

    Thanks I thought this was the case. It’s a good solution I have no complaints – The risk of breaking sites is too high I agree.

    I’ll move people over as I go through their sites.

    in reply to: Bug: CDN Use and fonts loading twice #1377447

    Thanks Gunter,

    Happy New Year!

    This problem will occur with all asset CDNs so really pleased with the fix above. Thank you for looking into this.

    I’ll be looking at this again properly in a few weeks – Likely after 5.4 is launched.

    My trial of Key CDN ends this week. I have decided to look for an alternative – The TTFB is actually a lot slower on the CDN resources than just using the server direct. I was also getting issues where KeyCDN refused to serve critical assets (Cache Miss) so I do not think it is the right solution at this stage. Moving on to Bunny CDN and Stack Path next. Trying to avoid CloudFlare because it is expensive at enterprise level.

    I think I’ll end up using StackPath EdgeCaching or the new Bunny CDN Permacache. This means a copy of the entire site is held on their network not just static assets. Soves a cache miss problem and improves TTFB times globally because HTML gets cached. This is simillar to how CloudFlare works when used at DNS level. The irony is that my server here in the UK is outperforming a clients server over in America where they use WPEngine and CloudFlare. I get comparable global TTFB scores without a CDN – With the TTFB scores being much much better in the UK due to server location. So I do not think it is as good as people make out.

    If after my trials I am still seeing cache misses and worse TTFB scores. I’ll just use something like AnyCast DNS to improve DNS resolution times instead and leave CDNs alone until I have a client who requires globally equal TTFB scores.

    • This reply was modified 1 year, 10 months ago by thinkjarvis.
    in reply to: x remove button in cart filled up and not showing properly #1375672

    I have also raised a ticket about this issue.
    Solution/workaround is here.
    https://kriesi.at/support/topic/bug-icons-misson-on-cart-page/

    It has been added to version 5.3 as a fix.

    I hope this helps.

    in reply to: WooCommerce Quantity Pickers Glitch #1374192

    Thanks Yigit,
    I’ll wait for the release now as I have put my css workaround across the server.

    This is one of those weird problems that no one has reported until now. I dont know how long this has been an issue because in order to troubleshoot it you have to take specific actions in the basket that most people wouldnt test – including me! Thank you for addressing the issue. It definitely pre-dates WP6 and Enfold 5.1.

    Hopefully this thread will be useful to anyone else on older versions as well.

    • This reply was modified 1 year, 12 months ago by thinkjarvis.
    in reply to: Hosting #1374125

    See below

    • This reply was modified 1 year, 12 months ago by thinkjarvis.
    in reply to: Bug: Icons Misson On Cart page #1374122

    Top man Thanks Yigit.

Viewing 30 posts - 61 through 90 (of 416 total)