ReOrder Post Within Categories plugin isn’t working

I installed this plugin: ReOrder Post Within Categories
I reorder the posts within the category according to the instructions/screenshots on the plugin page. I even added it in the custom Wp_query like this:

<?php
$args = array (
    'cat'              => 5,
    'post_type' => 'galeria',
    'posts_per_page' => -1
);
$the_query = new WP_Query( $args ); ?>

However, it’s not showing the re-order that I arranged. I also cannot find any other documentation/ instructions on how to do that. I don’t know how I can get it to reflect the order of the posts that I arranged.

My full snippet

<?php

$args = array (
    'cat'              => 5,
    'post_type' => 'galeria',
    'posts_per_page' => -1
);

$the_query = new WP_Query( $args ); ?>
     <?php
    if ( $the_query->have_posts() ) : ?>
      <div class="article-wrap">
<div class="masonry">
<div id="gallery">
      <?php
      /* Start the Loop */
      while ( $the_query->have_posts() ) : $the_query->the_post();

    ?>
  <div class="brick">
<a href="<?php the_permalink(); ?>" class="darken" title="Read the article &quot;<?php the_title(); ?>&quot;">

                   <?php
    if(has_post_thumbnail()) {                    
        $image_src = wp_get_attachment_image_src( get_post_thumbnail_id(),'full' );
         echo '<img src="' . $image_src[0]  . '" width="100%"  />';
    } 
    ?>
     <span> <?php echo get_post_meta($post->ID, 'titleid', true); ?><br><?php echo get_post_meta($post->ID, 'locationid', true); ?>  </span> </a>
            </div>

      <?php 

      endwhile;
      ?>

Read more here: ReOrder Post Within Categories plugin isn’t working

Leave a Reply

Your email address will not be published. Required fields are marked *