Echoing something if the feed returns no posts
-
Hi there,
I have been using this plugin and found it really useful.
What I am trying to do is work out a way of creating a function which echos something if the WP RSS Aggregator plugin has posts and echo something else if there are no posts.
For example if there are posts being displayed by WP RSS Aggregator for a job website I could echo ‘We’re hiring’ or ‘No vacancies available’ if no posts are retuned.
I have been looking through the documentation and cant find anywhere to help me out. I’m a bit of a php noob though, so if anyone can point me in the right direction that would be great!
Rich
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Echoing something if the feed returns no posts’ is closed to new replies.