[Plugin: Admin Management Xtended] Post order
-
Hi,
I have an installation on WP 2.9.2 and i can’t seem to get post ordering to work. We’ve put in numbers but should it show the order on the posts page?
thanks
http://wordpress.org/extend/plugins/admin-management-xtended/
-
its greate that you mentioned CMS because that is also my answer to you … a blog is based on posts orderd by date but if WP wants to be a good CMS based on CONTENTmanagementsoftware … you have to be able to manage the content set order of posts as you would like to have it !!!!
because in CMS are some posts just more important than other … or you dont agree with me ??
honestly do you think that if there would be possibility to just drag and drop to change post order there would be one person protesting against it ?sorry lets get to something usefull …
query_posts( ‘orderby=title&order=DESC’ );
– can you tell me where to add it exactly ?
– if I select DESC … than the add number in the last column in posts interface will change its order ?query_posts( ‘p=7’ );
– I think this will order according to ID but all posts or just a post ID 7 ?honestly do you think that if there would be possibility to just drag and drop to change post order there would be one person protesting against it ?
To be honest, I think let’s say 98% of all WP users are using posts in a chronological order (which is default and doesn’t require template changes). Having content in a certain order and hierarchy would most likely be organized as pages. You seem to be doing something special (why order blog posts other than by date?), hence template changes may be needed. It’s like that in most CMS.
Just change
query_posts( 'orderby=title&order=DESC' );
to
query_posts( 'orderby=menu_order&order=ASC' );ok and what about if you have 5 categories and you make new posts in each of them but than you have one ! you want to be always on top ? and after month you want to change the top post of each category.
maybe I didnt discover a better solution yet
Please let me know that in which php file in the WP directory, will I find
query_posts( ‘orderby=title&order=DESC’ );
which needs to be replaced by:-
query_posts( ‘orderby=menu_order&order=ASC’ );
Please guide me as I have no idea on php.
It’s in your template’s index.php file. If not, you have to add it before the loop starts.
When you say template’s index.php.. whcih of the below mentioned file is it.
I have multiple index.php at the following locations:-
– wordpress/index.php (empty)
– wordpress/wp-admin/index.php
– wordpress/wp-content/index.php
– wordpress/wp-content/themes/index.php
– wordpress/wp-content/themes/suffusion/index.php
– wordpress/wp-content/plugins/index.phpPlease let me know on which particular index.php, the above change should be made.
In none of the above mentioned index.php the following lines of code exist:-
query_posts( ‘orderby=title&order=DESC’ );
If it is not present, add it to the file in:
wordpress/wp-content/themes/index.php
alphawolf pls … i dont know how “the loop” begins
can you wrote me the syntax ?
It looks somewhat like this: http://codex.wordpress.org/The_Loop_in_Action#The_World.27s_Simplest_Index_Page
Alphawolf … why post drag and drop is not possible by you
in this plugin it is possible
<?php get_header(); if (have_posts()) : while (have_posts()) : the_post(); the_content(); endwhile; endif; get_sidebar(); get_footer(); ?>where to put query_posts( ‘orderby=title&order=DESC’ );
The topic ‘[Plugin: Admin Management Xtended] Post order’ is closed to new replies.