Title: vtmnD's Replies | WordPress.org

---

# vtmnD

  [  ](https://wordpress.org/support/users/vtmnd/)

 *   [Profile](https://wordpress.org/support/users/vtmnd/)
 *   [Topics Started](https://wordpress.org/support/users/vtmnd/topics/)
 *   [Replies Created](https://wordpress.org/support/users/vtmnd/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/vtmnd/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/vtmnd/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/vtmnd/engagements/)
 *   [Favorites](https://wordpress.org/support/users/vtmnd/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Post Order] Ordering a loop by category (or similar tagging method)](https://wordpress.org/support/topic/ordering-a-loop-by-category-or-similar-tagging-method/)
 *  Thread Starter [vtmnD](https://wordpress.org/support/users/vtmnd/)
 * (@vtmnd)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/ordering-a-loop-by-category-or-similar-tagging-method/#post-3186989)
 * I also tried this, same result.
 *     ```
       <?php
       $args = array(
       			'section_name' => 'section1', 'section2', 'section3', 'section4'
               );
       $custom_query = new WP_Query($args);
       while($custom_query->have_posts()) : $custom_query->the_post();
       ?>
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Post Order] Ordering a loop by category (or similar tagging method)](https://wordpress.org/support/topic/ordering-a-loop-by-category-or-similar-tagging-method/)
 *  Thread Starter [vtmnD](https://wordpress.org/support/users/vtmnd/)
 * (@vtmnd)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/ordering-a-loop-by-category-or-similar-tagging-method/#post-3186988)
 * This is the code I put in at the beginning of my loop, and it doesn’t affect 
   the ordering of the posts at all. It just posts in the default order. All four
   of my categories belong to a corresponding section. I don’t get it.
 *     ```
       <?php
       $args = array(
       			'section_name' => 'section1',
       			'section_name' => 'section2',
       			'section_name' => 'section3',
       			'section_name' => 'section4',
               );
       $custom_query = new WP_Query($args);
       while($custom_query->have_posts()) : $custom_query->the_post();
       ?>
       ```
   
 * Any ideas?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[My Post Order] Ordering a loop by category (or similar tagging method)](https://wordpress.org/support/topic/ordering-a-loop-by-category-or-similar-tagging-method/)
 *  Thread Starter [vtmnD](https://wordpress.org/support/users/vtmnd/)
 * (@vtmnd)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/ordering-a-loop-by-category-or-similar-tagging-method/#post-3186986)
 * I am just trying to reorder the loop query globally, so that posts that I have
   determined to go in one category are queried before the next category. I thought
   I would try to do this with a custom meta value rather than engineer it around
   category name, so I threw this in the loop:
 *     ```
       <?php
       $args = array(
       			'post_status' => 'publish',
                   'meta_key' => 'keyName',
                   'orderby' => 'meta_value_num',
                   'order' => 'DESC'
               );
   
       $custom_query = new WP_Query($args);
       while($custom_query->have_posts()) : $custom_query->the_post(); 
   
       ?>
       ```
   
 * And I also took the trouble to order each post with a meta value, i.e. for Section
   1 posts made the values a 1, Section 2’s I made a 2, etc. But the loop doesn’t
   execute. Wondering if I am doing something wrong with the syntax?
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Reduce the header width and move up the sidebar area](https://wordpress.org/support/topic/reduce-the-header-width-and-move-up-the-sidebar-area/)
 *  Thread Starter [vtmnD](https://wordpress.org/support/users/vtmnd/)
 * (@vtmnd)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/reduce-the-header-width-and-move-up-the-sidebar-area/#post-1951499)
 * I wondered why no response then I figured it must be tough love. Thanks guys 
   you’re so right I could figure it out on my own.
 *   Forum: [Themes and Templates](https://wordpress.org/support/forum/themes-and-templates/)
   
   In reply to: [Reduce the header width and move up the sidebar area](https://wordpress.org/support/topic/reduce-the-header-width-and-move-up-the-sidebar-area/)
 *  Thread Starter [vtmnD](https://wordpress.org/support/users/vtmnd/)
 * (@vtmnd)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/reduce-the-header-width-and-move-up-the-sidebar-area/#post-1951132)
 * I should also link to the page listing the build code, so you can see how it 
   was structured.
 * [http://svn.automattic.com/wpcom-themes/toolbox/](http://svn.automattic.com/wpcom-themes/toolbox/)

Viewing 5 replies - 1 through 5 (of 5 total)