• Resolved leschwa

    (@leschwa)


    Is it possible to set Revive to Sky to link custom post types, like those created through CPT UI?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rhys Wynne

    (@rhyswynne)

    As of right now, no. However, it is on the to-do list.

    Just to explain a bit further, the trickiness right now with custom posts/taxonomies is the search functionality could effectively return impossible results (so in effect you can have a page with a category, by default pages don’t have categories, so results will always be zero), so as a proof of concept I’ve just kept this simple for now.

    If you have some programming ability, I can introduce very simply a filter that would allow you to change the search query for a post. That would probably be the easiest and quickest, but I wouldn’t be able to write the code for you, so it’d be an advanced feature for now.

    But, like I said, it’s on the to-do list 🙂

    • This reply was modified 3 months, 1 week ago by Rhys Wynne. Reason: expanding the post
    Thread Starter leschwa

    (@leschwa)

    Hmm, that could work. We’ve only got one custom post type on our site, nothing too crazy.

    Plugin Author Rhys Wynne

    (@rhyswynne)

    Hi there,

    I’ve pushed live 1.1.1, which I’ve added the revivetosky_post_query_args filter.

    If you are comfortable of writing code, you can hook into that filter which you can go in and change the arguments used to use a custom post type.

    It’s an array that you can change the post_type to your custom post type (here’s a guide on how to do this – https://developer.wordpress.org/reference/classes/wp_query/#post-type-parameters)

    Hope that helps! I’m probably going to add it as an option at some point when I’ve a bit more time/funding to develop it.

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

You must be logged in to reply to this topic.