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

WordPress Hard Coded Content Search

Home Forums Product Support Forums Ajax Search Pro for WordPress Support WordPress Hard Coded Content Search

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23251
    fawcefawce
    Participant

    Hi there,

    I’m trying to understand how to search the page’s content (that’s hard coded in my worpdress site). Is this possible?
    Also I will be converting the hard coded content into ACF fields for backend input – does this plugin work with ACF content??

    A second question I have is whether I can add custom classes to the results? Ideally my aim is to structure the results with bootstrap 4 responsive classes if possible?

    Thanks!

    Ben.

    • This topic was modified 6 years, 11 months ago by fawcefawce.
    • This topic was modified 6 years, 11 months ago by fawcefawce.
    #23254
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Ben,

    Well, if you mean reaturning the page contents as individual results (page parts as results), then that is unfortunately not possible, as those are stored as a single page within the WordPress database.
    If you mean searching the page contents and returning the corresponding page, for example contents that are printed via shortcodes and not immediately present as text in the database, that might be possible, via using the Index Table engine. If you follow the steps within those documentations, it should do the trick.

    You can make minor changes to the results templates, via results templating. That way you can add additional classes, other attributes, as well as elements if needed.

    #23467
    fawcefawce
    Participant

    You cannot access this content.

    #23490
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Ben,

    You can call me Ernest of course 🙂 Sure, you can fully turn off the Scrollbar script here: https://i.imgur.com/78O7WOu.png

    #23492
    fawcefawce
    Participant

    Cheers Ernest…

    All the best 😀

    #23493
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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