• Resolved mmaattv

    (@mmaattv)


    Hi there! I’m running into an issue where when CPT is activated both the backend (even the standard Posts page) and frontend searches always return 0 results. I’m searching words directly from the title and I’ve tried switching to the default theme.

    Any help or insight would be appreciated!

    Thanks,
    Matt

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Do you have any plugins or custom code somewhere that are affecting search functionality ?

    What post type slugs do you presently have registered?

    Out of box, CPTUI shouldn’t be affecting queries in any way, but I could believe slugs unknowingly affecting things internally.

    Thread Starter mmaattv

    (@mmaattv)

    Thanks for the super fast reply!

    I don’t believe I have any search-related plugins installed but I’ll drop a list below in case it is helpful.

    I have a bunch of single letter slugs – maybe that is the reason?

    Slugs:
    thanks
    o
    mem
    l
    t
    c
    s
    pacsks

    Plugins:
    Bot Protection
    Breeze
    Custom Post Type UI
    Easy WP SMTP
    Export All URLs
    GTM4WP – Google Tag Manager
    Object Cache Pro
    Redirection
    Thrive Apprentice
    Thrive Architect
    Thrive Automator
    Thrive Leads
    Thrive Optimize
    Thrive Product Manager
    Thrive Quiz Buider
    Thrive Ultimatum
    WooCommerce
    WooPayments
    Zapier for WordPress

    Thanks again!
    Matt

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I would be extremely surprised if it was NOT because of your s post type since WordPress searching is based on/?s=query structures. If that can be updated to something else, I suspect your search results will return.

    Thread Starter mmaattv

    (@mmaattv)

    Thank you!! That easily fixed it perfectly and makes so much sense.

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Glad we could help!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Broken backend & frontend search’ is closed to new replies.