WPSolr logo
Search
Close this search box.

Forum Replies Created

  • markus
    Participant
    2 years, 10 months ago in reply to: Using custom post types in custom page template #26842

    Thank you for your response!
    That might be what I’m looking for. Though, I can’t see a way to change post’s permalink with that action. Is it also possible to change permalinks some way? $wpsolr_query includes post’s gui but no (pretty) permalink.

    markus
    Participant
    2 years, 10 months ago in reply to: Using custom post types in custom page template #26835

    Sorry, I was a bit unclear.

    When a post (contact) is indexed by WPSOLR, the hierarchical post page is stored in the index as the url for that post. I would need to change the url so that a search result for the contact points to the page I created for contacts instead of the default post page.

    markus
    Participant

    Any ideas how this could be done?

    markus
    Participant

    I’m going to do a few more tests to see if I can get regex to work in most cases. I’ll get back to this.

    markus
    Participant

    That was exactly what I was looking for. Thank you!

    markus
    Participant
    3 years, 8 months ago in reply to: Displaying posts' ACF fields in results #21610

    Thank you for your reply.

    I assume this stands for showing results in a separate search page. How about displaying real-time search suggestions results? Does the same method apply when displaying result posts’ values (ACF fields) in suggestions? I tried to use that function in the WPSolr twig template (__theme_dir__/wpsolr-templates/twig/suggestions) but it didn’t seem to work.
    Alternatively, if it doesn’t work other way and I have to modify those plugin’s core files, can I somehow override them by my child theme?

    markus
    Participant
    3 years, 8 months ago in reply to: Using custom fields in suggestions results #21542

    Thank you for your reply!

    I kind of found a workaround how to display a value of ACF field in suggestions but I still have some questions. I’ll create a new topic because these questions are related to ACF.

    markus
    Participant
    3 years, 9 months ago in reply to: Using license in local development #20829

    Hi,

    Thank you for your answer!

    My WordPress environment is running on https://localhost:8528 with the latest plugin version. The plugin is still asking a license to be able to use all the features. Do you know if the port is preventing the plugin to recognise I’m using it in local environment?

    Could you still deactivate the license from my subscription because I don’t have access to my old environment anymore?

    BR

Viewing 8 posts - 1 through 8 (of 8 total)