Title: [ Plugin: postMash  ] where do I put the code?
Last modified: August 19, 2016

---

# [ Plugin: postMash ] where do I put the code?

 *  [mikonium](https://wordpress.org/support/users/mikonium/)
 * (@mikonium)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-postmash-where-do-i-put-the-code/)
 * I am trying to reorder my blog posts, but the way I have my site set up, it’s
   not working. I call on category pages to work as multiple blogs, but I don’t 
   know how to edit the code of a category page. postMash instructs you to use this
   code: <?php $readposts = get_posts(‘orderby=menu_order’); ?>
    -  <?php foreach($readposts as $post) : setup_postdata($post); ?>
    - [<?php the_title(); ?>](https://wordpress.org/support/topic/plugin-postmash-where-do-i-put-the-code/?output_format=md#)
    - <?php endforeach; ?>
 * but where do I put that?

Viewing 1 replies (of 1 total)

 *  Thread Starter [mikonium](https://wordpress.org/support/users/mikonium/)
 * (@mikonium)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-postmash-where-do-i-put-the-code/#post-1228569)
 * nevermind, i fixed it. You can just use a link URL like “website.com/?cat=5&orderby
   =menu_order”

Viewing 1 replies (of 1 total)

The topic ‘[ Plugin: postMash ] where do I put the code?’ is closed to new replies.

 * 1 reply
 * 1 participant
 * Last reply from: [mikonium](https://wordpress.org/support/users/mikonium/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/plugin-postmash-where-do-i-put-the-code/#post-1228569)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
