[ Plugin: postMash ] where do I put the code? (2 posts)

  1. mikonium
    Posted 6 years ago #

    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(); ?>
    • <?php endforeach; ?>

    but where do I put that?

  2. mikonium
    Posted 6 years ago #

    nevermind, i fixed it. You can just use a link URL like "website.com/?cat=5&orderby=menu_order"

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.