• Resolved joelnewcomer

    (@joelnewcomer)


    My situation is that I have Posts element on the page and it has a custom query. If the query returns no posts, I want to show a different section. It would be awesome if we could provide a PHP hook that returns true or false so that I could write a custom condition to determine whether a section shows or not. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author rtowebsites

    (@rtowebsites)

    Hello @joelnewcomer,

    if we understand you right, you should be able to create a new dynamic tag that uses your custom query to return true/false.

    anyway we will think about you feature request.

    Thank you.

    Thread Starter joelnewcomer

    (@joelnewcomer)

    yes, that’s what I’m needing. Thank you for considering it!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Feature Request: Provide option for custom PHP hook for conditional function’ is closed to new replies.