Title: Plugin in template
Last modified: August 20, 2016

---

# Plugin in template

 *  [Amanda](https://wordpress.org/support/users/amandaenestedtse/)
 * (@amandaenestedtse)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-in-template/)
 * Hi,
    When I use the function below, the plugin does not work, but it works fine
   in category pages. `$lastposts = get_posts('numberposts=3&cat=3');`
 * Can I modify the function and write something like:
    `$lastposts = get_posts('
   numberposts=3&cat=3&order=reorderpost');`
 * Thank you!
 * [http://wordpress.org/extend/plugins/reorder-post-within-categories/](http://wordpress.org/extend/plugins/reorder-post-within-categories/)

The topic ‘Plugin in template’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/reorder-post-within-categories_c18d38.
   svg)
 * [ReOrder Posts within Categories](https://wordpress.org/plugins/reorder-post-within-categories/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/reorder-post-within-categories/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/reorder-post-within-categories/)
 * [Active Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reorder-post-within-categories/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reorder-post-within-categories/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [Amanda](https://wordpress.org/support/users/amandaenestedtse/)
 * Last activity: [13 years, 2 months ago](https://wordpress.org/support/topic/plugin-in-template/)
 * Status: not resolved