Love the ease of use! The only thing I’m missing is conditional logic…how can I check if a page already exists? For example:
1.) When a new post is created (the trigger)
2.) Check if post title (or custom fields) already exists. If yes [stop] if no [continue] (the conditional logic)
3.) Create New Page with trigger Post’s content & meta (the action)
- William Spang asked 4 years ago
- You must login to post comments
That’s a great question! For the time being there is no easy way to search posts. Instead, you can use a workaround. Use the Execute PHP action with WordPress function get_posts(). See more: https://developer.wordpress.org/reference/functions/get_posts/
- Gregory answered 4 years ago
- You must login to post comments
Your Answer
Please login first to submit.