[Plugin: ProjectManager] Feature Request: Limit number of results returned
It would be great if the number of results returned by a shortcode could be limited. The WordPress get_posts() function has a parameter that works like this, numberposts. I would imagine the shortcode looking something like this:
[project id=1 results=4]
To achieve this right now, I have written a custom template called “table-four-results.php” that only outputs the first four results, but it would be good if this could be abstracted out to the shortcode.
- The topic ‘[Plugin: ProjectManager] Feature Request: Limit number of results returned’ is closed to new replies.