This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

hook to complete remove design/ css from the frontend

Home Forums Product Support Forums Ajax Search Pro for WordPress Support hook to complete remove design/ css from the frontend

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #55733
    idokdidokd
    Participant

    hey we wish to handle our own design/style for the elements on the frontend, the plugin does have extensive design features – but we prefer just to handle it ourselves, but for that we wish the plugin to not load nor force any of its design – is there any hack/hook where we can manage it to disable all inclusion of css or inline styles

    #55734
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    Yes – it is possible via the asp_load_css hook. I hope this helps!

    #55907
    idokdidokd
    Participant

    a bit confusing the naming of the hook, and the value, thanks it worked ( should be asp_stop_load_css ). anyhow thanks that did the trick

    #55916
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Makes sense actually. Not sure why my brain thought it was okay like that. I have noted this on the bug tracker to be replaced with better alternatives (and still keeping backwards compatibility ofc).

    #56463
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Just wanted to let you know that the soon to be released 4.28 will include different hooks with the correctly “reversed” arguments. The old ones will trigger a deprecation warning so they are replaced with the new ones.

    #56481
    idokdidokd
    Participant

    thanks i prepared my code to this new hook when it comes. thanks for following back

    #56484
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Great! The new version was released, after updating to 4.28.0 make sure to upgrade your code too to avoid the deprecation warnings.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.