Forum Replies Created

Viewing 30 posts - 61 through 90 (of 433 total)
  • Author
    Posts
  • in reply to: Hook to add widget area above blog loop? #1429547

    Thanks both…See private content link below.

    I have managed to do this using ava_after_main_container. It only needs to show on mobiles so I just used a media query to hide it.

    Once the sidebar hides it is actually in the right place so this worked out OK in the end.

    in reply to: Hook to add widget area above blog loop? #1429530

    Hi Yigit,

    Thanks for this – This works but it is too high – It currently sits above the breadcrumbs.

    Is it possible to move it below?

    No problem,

    I have set all generated functions to WPI / NO and the site is still stable so looking promising.

    I will say that some of the items generated are extremely small for the most part so the impact for some of them is minimal.

    But some of them are quite large.

    I’ll report back on this. Will see which ones get removed and re-added with YES over time.

    I wasnt expecting support to provide an instant response or result with this – It is a big job so dont worry!

    • 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: Bug: Search results pages not overriding correctly urgent #1426057

    Update on this

    It appears to be a bug withing Super Speedy Search.

    I have raised a bug ticket with SSS so please hold on.
    https://github.com/superspeedyplugins/issue-tracker/issues/6

    I have set all options to NO and all seems fine – HOWEVER any newly generated settings are still coming in as YES.

    I’ll now keep an eye on things to see which ones appear back as YES again – These should be OK.

    Thanks Rikard,

    I was hoping to alter the template to prevent this from generating – speeding up the search page. Just to try and save on the number of queries generated on the search page.

    If you are able to provide the file I need to change and the query that needs removing I’d prefer to do that if possible.

    Let me know if this is possible.

    Hi Mike,

    Thank you for this.
    I expect I can turn all of the options to NO or WPI without an issue.

    The WPI – is just a way to revert those options if something goes wrong because anything other than YES is equal to NO. So by setting them to WPI I can run a query to replace WPI with NO or YES but I cannot do that if I go straight to NO.

    Sorry I think you have misunderstood.

    I am asking if Enfold can update the way that WP_Options Autoloaded features are managed.
    As a stop gap. I am capable of manually changing these values but what I was hoping is that we can alter the queries here so that:

    1. We already have an option to only load the CSS and JS of used components in the Enfold performance panel BUT it looks like those options are still set to Autoload= YES even if they are not used. Is it possible to add some logic to change the value from YES to NO and back again depending on if the components are used?
    2. A review of the other autoloaded functions that Enfold creates

    By doing this it will speed up WP-Admin and the front end of the site as less autoloads means less data required per pageload. This will improve the TTFB scores for uncached queries and speed up page caching because less data is autoloaded.

    Let me know your thoughts.

    in reply to: Bug: Search results pages not overriding correctly urgent #1425841

    To add – It doesnt matter whether you use the Super Speedy Search widgets or the built in Enfold search or the woocommerce search widget.

    All of them have the same behaviour.

    Something in Enfold is overriding the search results page generation process – Stopping &post_type=product from picking up the correct search results.

    in reply to: Bug: additional class for blog page nested pagination #1422567

    Hi Mike,

    Yep a paid plugin but absolutely brilliant.
    It forms part of an advanced WooCommerce performance stack I am now using.

    WPScalability Pro and Auto Infinite Scroll are both by WP Intense and together make WooCommerce much faster. Particularly larger sites.

    Scalability Pro also speeds up Enfold and WordPress in general.

    There is an option in Scalability Pro to compliment Auto Infinite Scroll – Improving the load time of WooCommerce archive pages.

    You can close this issue. I have sent a link to the plugin developer informing them of the solution above.

    • This reply was modified 1 year, 5 months ago by thinkjarvis.
    in reply to: Bug: additional class for blog page nested pagination #1422553

    Hi Gunter,

    For those looking to add auto infinite scroll from WP Intense to their Enfold site:

    Auto Infinite Scroll Settings:
    Set the distance to 1000px
    css wrapper: .products, .yourcustomclassfornewspage
    Pagination wrapper: .pagination
    Next Page Selector: next_page

    Css for the load more button: (plus hide the pagination on the blog page)

    #isw-load-more-button {
    border: none;
    padding: 20px 50px 20px 50px;
    background-color: #007a74;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    transition-duration: 1s;
    }
    #isw-load-more-button:hover {
    border: none;
    background-color: #39a6a1;
    color: #000000;
    }
    .yourcustomclassfornewspage .pagination {
    display:none !important;
    }

    Snippet for functions.php to insert the new CSS class to just the blog page:

        add_filter( 'avf_custom_main_classes', 'custom_avf_custom_main_classes', 10, 2 );
    	function custom_avf_custom_main_classes( $class_string = '', $context = 'index.php' )
    {
    	//	fallback check
    	if( ! is_string( $class_string ) )
    	{
    		$class_string = '';
    	}
    
    	// e.g. add custom class to index.php Make sure there is a space before the class!
    	if( 'index.php' == $context )
    	{
    		$class_string .= ' yourcustomclassfornewspage';
    	}
    	return $class_string;
    }
    • This reply was modified 1 year, 5 months ago by thinkjarvis.
    • This reply was modified 1 year, 5 months ago by thinkjarvis.
    • This reply was modified 1 year, 5 months ago by thinkjarvis.
    in reply to: Bug: additional class for blog page nested pagination #1420316

    Thanks Gunter,

    That sounds great.

    in reply to: Bug: additional class for blog page nested pagination #1420314

    Thanks Gunter, I wasnt expecting this so fast.

    Just checking this only needs to apply to the blog page not all pages. Otherwise the infinite scroll may try to apply its settings to the wrong content?

    in reply to: Bug: additional class for blog page nested pagination #1420286

    Hi Gunter,
    Thank you for looking into this – I thought this might be the case.

    The problem is it is looking for a single selector (Unless I am mistaken). So I cannot populate the box in the plugin with a class containing more than one selector – Just comma seperated single selectors.

    So I will need to add a filter to add a class to <main> on line 34 in Main Template (index.php)
    OR
    If you are able to add a class to this like blogloop or something that has no other function I could use that to exclude. The worry is another dev will come and remove the css for not having a purpose at a later date so a filter would probably be better.

    This allows for full compatibility with Auto Infinite Scroll.

    This particular site is one of three extremely large ecommerce sites I am working on. Two of which have Auto Infinite Scroll installed to speed up index pages.

    Paginated pages dont get preloaded by WP-Rocket or appear on yoast sitemaps so this was a way to cache as many pages as possible within a 116,000 product store.

    in reply to: CSS Bug 4 columns without post css #1420188

    I’ll share a screenshot of what is happening my end. Will send over tomorrow.

    in reply to: Shopping Cart is not showing Products #1417450

    Looks like the Enfold demo is still running 5.4 so the cart fragments bug wont have been fixed.

    in reply to: Shopping Cart is not showing Products #1417449

    Hey what version of Enfold are you using.

    Woocommerce changed the way the cart fragments work in version 7.8.

    This was fixed in Enfold 5.6.3

    The latest Enfold release 5.6.6 is a stable release. Please update to the latest version and this should fix the issue.

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

    Thanks Mike,

    This has worked.

    To get the elements the same height I have given them a minimum height via CSS.

    Thank you for your help.

    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, 8 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, 8 months ago by thinkjarvis.
    • This reply was modified 1 year, 8 months ago by thinkjarvis.
    • This reply was modified 1 year, 8 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.

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