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

Divi 5 Results Page Settings

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Divi 5 Results Page Settings

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #57253
    matt_5QVsmatt_5QVs
    Participant

    Hi,
    I am trying to setup a custom results page in Div5 using the theme builder but I am 100% lost on the settings/shortcodes or what to do to show the results from my searches.

    Where is this in the documentation or can you help me with just telling where the settings are I need to enable the results in a module.
    I’d like all the custom results of course and be able to tune them.

    Thanks for any help because I am lost here!
    –Matt

    #57269
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    The results page is completely up to the theme or the page builder – in your case the Divi theme builder. The plugin has no effect on that, it is entirely controlled by the theme builder.

    Each site has a single results archive, however you can use the search to filter a custom divi5 loop, just follow this guide. That is likely very close to what you are looking for.

    #57270
    matt_5QVsmatt_5QVs
    Participant

    EDIT: We were obviously typing at the same time and you were answering my question while I was typing more information, so you may have answered my question so I’ll check it out and come back if I still have the question on my issues I had just posted.
    Thanks!
    –Matt

    • This reply was modified 1 month, 3 weeks ago by matt_5QVsmatt_5QVs.
    #57273
    Ernest MarcinkoErnest Marcinko
    Keymaster

    I see Matt.

    The shortcode [wpdreams_ajaxsearchpro_results id=1 element='div'] is to move the live results container that comes with Ajax Search Pro from below the search bar to a custom position on the page, so it is not what you are looking for.

    Results page customization should be done via the page builder, search plugins have no control over the results archive layout, it is all controlled by the theme/builder. I am sure divi 5 has a capability to customize the results page loop and to also include ACF fields in there. Here is their official guide on the baseline. If you need more help with that, you may have to ask their support on how to include certain fields as I am no expert with divi 5 building unfortunately.

    #57282
    matt_5QVsmatt_5QVs
    Participant

    Hi Ernest – I’m not sure how much you can diagnose this without seeing the site but I had this all working splendidly.
    I had everything dialed in just about and then the Divi glitch hit that blows up my page.

    Basically, I was using the theme builder and every once in a while when I did a search and it went to the search page it would all of sudden throw huge gaps between every element, including the headers and footers and the search results just stopped working and output the raw post loop data. (So basically every single post from the loop as you would expect if you didn’t have the search results class attached to it.)

    The only way I could get this to stop would be to unassign the template and the reassign it. (Even clearing site cache didn’t work). I finally just switched to a custom url search page in hopes that would help with the glitch.

    But now, no matter what I try, my search results will not pass to that Divi Loop after that glitch happened. I can’t think of anything I changed in the ASP plugin from when it worked to when it stopped. I have my proper classes on the column and row just as I did before. It just stopped talking to Divi. (On both the theme builder and single page setup – same thing.)

    I even set the results to be 1 result to test if there was some some search logic returning all of them and it still gives me the entire loop.

    Do you have any ideas without seeing my setup? Is there some sort of reset? I even duplicated my search instance and changed all the ID numbers to match to see if that helped and I created a new instance with all the defaults except for the settings in your video that worked before and it didn’t work either – so it’s not something I can see I messed up in my settings, so I reverted back to my original.

    Any ideas on what could be happening that would cause them not to talk all of a sudden?

    Thanks for any help!
    –Matt

    #57284
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Matt,

    Sounds like something went wrong in the builder. Perhaps a margin or a padding was added at the end of an element there, or the element order has changed.
    Without seeing the issue I can’t tell unfortunately, but even then it is likely related to the Divi builder, which is out of the scope of our plugin.

    I believe Divi does backup draft saves to which you can revert back, I would try that first for sure.

    #57286
    matt_5QVsmatt_5QVs
    Participant

    I just fixed it.
    It was actually my search page url that was breaking the communication. I don’t know why it happened on the Divi Builder template, but since I’m not using it and my custom page is working now, I don’t care. Hopefully that crazy “broken layout” I described earlier doesn’t happen with the search page.

    Now I have a problem that in my results, the link for my results header won’t go anywhere.
    It is set correctly in Divi, so if I just load the page with no results (like /search without the /?asp stuff) the link works fine and goes to article. but if I load the actual results, you get the rollover icon in the browser, so it thinks it’s a link, it just does nothing. I tried messing with Z-index and that didn’t help.

    Are there any settings or have you heard of this happening before? It is just an H1 title (like in your video tutorial), just for some reason when the dynamic ASP results load, the link won’t work even thought the browser knows it’s a link.

    Thanks for any help!

    Update/Edit:

    Since Divi’s header module in the loop doesn’t actually output an <a> tag, it uses module javascript on the module itself, the link isn’t working. (I think – my theory)
    I changed the Header to a Button instead and just got rid of all the button styling and set the same dynamic Loop Post Title and Loop Link and now that works.
    I guess this is a workaround…
    Any idea/way to get a Heading/Text module to work like in your example video though? Maybe I missed something.

    • This reply was modified 1 month, 3 weeks ago by matt_5QVsmatt_5QVs. Reason: Update
    • This reply was modified 1 month, 3 weeks ago by matt_5QVsmatt_5QVs.
    #57289
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #57313
    matt_5QVsmatt_5QVs
    Participant

    Thanks, that update totally fixed the headings so I reverted.

    When I updated though, all of a sudden my rows in the loop stopped flowing down. (Flexbox broke)
    It was flowing nicely in three columns but now it just shoots off the page in one row of results, so it’s not wrapping.

    It was working before, but I’ve been doing so much it’s possible I broke it…but I don’t remember changing anything, just updating. Now I’m using CSS to do it and that works, but would be nice to control via Divi. I attached my Row settings.

    In the Divi editor it wraps in three nice columns but when ASP injects, it breaks.

    Thanks for all your help so far, I’ve almost got it all setup!

    • This reply was modified 1 month, 2 weeks ago by matt_5QVsmatt_5QVs.
    #57316
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Thank you for letting me know!

    I can’t replicate this issue though. I have the same layout set, flex with the same parameters, even the numeric values, but all is okay, so I’m not sure what is the cause there. The update should not affect that, it only adds a single line to trigger a module loading, so it shouldn’t change anything related to that.
    Can you try clearing all layers of cache, especially the browser cache?

    In case you will have this somewhere up where I can test it let me know, I will do a debugging session on it.

    #57435
    matt_5QVsmatt_5QVs
    Participant

    You cannot access this content.

    #57448
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Matt,

    It was always a pain to handle custom javascript modules in live search containers as swapping out elements will automatically detach those actions. Usually these javascript events are initialized through a window readystate event, which is triggered after the search to re-attach the event handlers, but sometimes that just doesn’t work.

    Can I check the issue somewhere? I can try to check what is triggering the events and perhaps suggest a custom code snippet to resolve it.

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