NiceThemesOrdering Services – NiceThemes http://nicethemeswp.com/forums/topic/ordering-services/feed/ Wed, 23 Apr 2025 14:39:45 +0000 http://bbpress.org/?v=2.5.12-6148 en-US http://nicethemeswp.com/forums/topic/ordering-services/#post-2734 <![CDATA[Ordering Services]]> http://nicethemeswp.com/forums/topic/ordering-services/#post-2734 Thu, 12 Dec 2013 15:08:54 +0000 michaelsimpson Hi,

Sorry for the trouble again but i was wondering if there is a way i can order the services displayed on the service page?

At the minute they appear to be displayed by published date but i would like them to be done by attribute order / menu order.

I see there is some code in the services.one-column template:

$args = array(
‘post_type’ => ‘service’,
‘posts_per_page’ => -1,
‘no_found_rows’ => true,
‘paged’ => $paged,
‘orderby’ => ‘menu_order’,
‘order’ => ‘ASC’
);

query_posts( $args );

but it is not sorting it by menu_order.

Any help is appreciated.

]]>
http://nicethemeswp.com/forums/topic/ordering-services/#post-2738 <![CDATA[Reply To: Ordering Services]]> http://nicethemeswp.com/forums/topic/ordering-services/#post-2738 Thu, 12 Dec 2013 15:16:52 +0000 Juanfra Aldasoro Hi Michael,

Thanks for writing. Actually the script was done having the premise that the items should be ordered by the Menu Order (the one that you select when you’re creating each Service Item).

Are you using any cache plugin or similar?

Best,
Juan.

]]>
http://nicethemeswp.com/forums/topic/ordering-services/#post-2748 <![CDATA[Reply To: Ordering Services]]> http://nicethemeswp.com/forums/topic/ordering-services/#post-2748 Fri, 13 Dec 2013 14:20:55 +0000 michaelsimpson Hi Juan,

No, I’m not using any plugins to do anything like that.

I’ve simply adjusted the publication dates in an appropriate way so they are listed as required to get around it so feel free to close this ticket off if necessary.

]]>
http://nicethemeswp.com/forums/topic/ordering-services/#post-2749 <![CDATA[Reply To: Ordering Services]]> http://nicethemeswp.com/forums/topic/ordering-services/#post-2749 Fri, 13 Dec 2013 14:23:50 +0000 Juanfra Aldasoro Hi Michael,

Thanks for your response and letting me know about the fix.

Have a nice day,
Juan.

]]>