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

Customize your results page

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Customize your results page

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #54536
    Stephane CarpentierStephane Carpentier
    Participant

    Hello,
    I’ve just bought the plugin and I’m trying to integrate it.
    I’ve created a CPT “videotheque” which is linked to ACF fields. When declaring my CPT, I don’t display wp’s default editor (“editor”).
    If I’m not mistaken, the result page displays “the_title” and “excerpt”. Is it possible to customize this result page to replace “excerpt” with an ACF field from my CPT?
    if so, could you tell me how?
    Thank you

    #54538
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Stephane!

    The results page layout is a theme feature, search plugins can’t change that. Most themes however have wide support for customizing the layout and fields displayed via theme editor features (such as Divi or Avada). The best and easiest way therefore to check the theme builders integrated with your theme, 99% of the time it’s possible.

    Another possibility is to use a full featured page editor, such as Elementor. With page editors can replace the whole results page with their own loops that you can customize.

    The 3rd possibility is to edit the theme files via a child theme. This I only recommend when none of the options above are available or possible. In your case it shouldn’t be too difficult actually. If I understand correctly you want to only replace the excerpt with an ACF text field of some sort?
    If your theme doesn’t support customizations and page building is not available, I can take a look if you want to. For that however I will need temporary sFTP and back-end access as some file edits will be required for sure. Also, don’t forget the field name, I need that too in order to fetch it programmatically 🙂

    #54539
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Oh, and I forgot to add, the live results (which pop-up when entering something) can be customized, for that use the advanced title and content fields feature.

    #54547
    Stephane CarpentierStephane Carpentier
    Participant

    Thank you very much for your last reply, which solved my problem.

    #54548
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

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