studioavanti
Forum Replies Created
-
Forum: Themes and Templates
In reply to: [GeneratePress] Custom BreakpointsHi,
So i tested the GP custom breakpoints filter again (Alvind’s?code above) but in a very basic WP site this time, to make sure no custom code was interfering, and it still doesn’t work unfortunately.
Steps:
1 . Set Heading 1 (H1) responsive font sizes in GP Customizer.
https://share.cleanshot.com/01jvBGn62 . Add the GP filter in function.php to set the tablet breakpoint to 1080px instead of 1024px (GP default) and mobile to 810px instead of 768px (GP default)
https://share.cleanshot.com/sGjkqztF3 . Check H1 font size in frontend at the different breakpoint
https://share.cleanshot.com/CK174464
https://share.cleanshot.com/tV8Dqp9j
https://share.cleanshot.com/tV7vmLzMAs you can see on the screenshots, the H1 Heading changes font size when reaching the GP default breakpoints (1024/768), not the custom breakpoints (1080/810).
Forum: Themes and Templates
In reply to: [GeneratePress] Custom BreakpointsHi @diggeddy,
Thanks for your info.
Unfortunately i’m not sure to understand.
As i mentioned above, none of the filters above using thegenerate_media_queries
hook works for me.For instance, i’m expecting the H1, H2… font-size to change in frontend on 1080 and 810 px breakpoints, and it still changes at GP default 1024 and 768 px breakpoints.
This custom breakpoints option seems pretty basic to me, using it in other themes such as WP Pagebuilder Framework, Beaver Builder Theme… alongisde with Beaver Builder.
But it’s not available in the GeneratePress theme, making it mandatory the GP default 1024/768 breakpoints, unless a PHP filter actually works(?)Forum: Themes and Templates
In reply to: [GeneratePress] Custom BreakpointsHi @alvindcaesar,
Thanks for the tip, unfortunately it doesn’t help, the desktop breakpoint stuck to 1024px for instance.
I also tried different action hooks: init, root…
Thanks for confirming.
Hi @beatrice12,
Yes, sorry i had no time for troubleshooting this issue.
Hi @beatrice12,
PHP 8.2.17 and WP 6.5.2 here.
I’m using a custom template for the Custom Taxonomy Archive via Beaver Themer.Yes, there’s a few custom PHP filters enabled but nothing playing with Posts order at first glance.
It would require to make in depth tests on my side though, like in a WP vanilla site, to check if SCPO modifies the Posts order in a Custom Taxonomy archive or not.
Unfortunately, i’m running out of time to do that for the moment.Hello,
The Posts order is changed from ASC to DESC in a Taxonomy Archive in my site, probably since i enabled SCPO for the taxonomy and the Post Type it’s attached to (not 100%, i would have to make more tests, but there’s chances the plugin is involved).
I reset ASC order using a PHP filter.
- This reply was modified 7 months, 2 weeks ago by studioavanti.
Forum: Plugins
In reply to: [Animate on Scroll] AOS not loading if code is in php template or blocksYou should be able to force the assets to load using an action:
https://www.ads-software.com/support/topic/add-to-blog-and-archive-template/I had to do the same with AOS classes set on modules using the Beaver Builder page builder, otherwise, AOS didn’t load.
- This reply was modified 7 months, 3 weeks ago by studioavanti.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Post Title Only?Thanks a lot for the leads @msaari, now i will explore. ??
Yes Ajax search is enabled on this WP Gridbuilder facet, probably a reason why the conditional fails by targeting a specific page as you mentioned.
And yes, there’s an URL variable that could be used (generated by WPGB).- This reply was modified 9 months, 3 weeks ago by studioavanti.
Forum: Plugins
In reply to: [Relevanssi - A Better Search] Post Title Only?Hello and thank you for sharing this filter to only match titles, it works fine for me.
Now i need it to apply only in a specific page and i’m stuck…
I tried this without success, the filter doesn’t seem to apply to the search result once the condition is set:add_filter( 'relevanssi_match', function( $match ) { if ( is_page( 'search-products' ) ) { if ( $match->title < 1 ) { $match->weight = 0; } return $match; } } );
To be noted: the search field is a WP Gridbuilder facet with Relevanssi enabled as the search engine.
Not sure it makes a difference given the filter above works without the condition… but i’m far from mastering PHP.Any hint is welcome!
I ended up trying this Simple Custom Post Order plugin instead of the Post Types Order plugin and it seems to play better with the WP Gridbuilder plugin’s Ajax filtering.
My understanding is that SCPO simply sets an Order number on Posts supporting page attributes, which is a WP standard feature.
No custom table in the DB to store Posts order as with PTO.
Hence WPGB understands and respects Posts order after Ajax filtering.Also, when dragging-dropping a Post in the list between already ordered posts, SCPO shifts other Posts order’s number, to maintain the existing custom order.
One UX problem with SCPO: it’s very difficult to drag and drop a Post in a long list, it would require a compact list view as with PTO, to ease the manual operation.
In that case, one can edit the Post order by manually typing the number but there’s a risk to produce duplicated order numbers (and it seems the Order field doesn’t support decimals like 1.0, 1.1…).Anyway, SCPO seems simpler than PTO and more WP compliant too.
Great! ??
Yep, Bunny.net cert it seems: https://www.ads-software.com/support/topic/err_cert_date_invalid/
Look here: https://cdn.shortpixel.ai/
- This reply was modified 1 year, 9 months ago by studioavanti.
Bad effect uh? ??
https://www.ads-software.com/support/topic/err_cert_date_invalid/Forum: Plugins
In reply to: [Limit Login Attempts Reloaded] What URLHello,
Is the URL parameter method solid enough to “hide” the regular WP login page?
I mean redirecting the user when he reaches wp-login.php without a specific URL parameter such as ?login-var=1 added at the end of the URL.I have a site using this method and LLAR still logs failed attempts via the wp_login gateway
As mentions @dkardell, would it possible for LLAR to log the site URL used for the login attempt (it could be useful)?
Thanks for your help