-
AuthorPosts
-
August 15, 2014 at 10:51 am #85468
How can I arrange a specific order that my portfolio items show up in under the portfolio index? Currently it seems to work by date. I would like to choose an order.
Thanks.
August 15, 2014 at 11:02 am #85477There is a great plugin that I have used that might help it is not a supported plugin by X but it is pretty simple so should work. The plugin is called Metronet Reorder Posts – https://wordpress.org/plugins/metronet-reorder-posts/ let me know if this works.
August 15, 2014 at 11:16 am #85489hmmm I can’t get it to work.. I reordered the posts in the plugin, but this did not seem to reoorder the posts in the portfolio :/
August 15, 2014 at 11:18 am #85493Can you send us your website URL and login credentials so we can take a further look into the issue.
ThanksAugust 15, 2014 at 11:33 am #85503SOLVED:
I edited portfolio.php
I added the following term (orderby) into the code:
$args = array(
‘post_type’ => ‘x-portfolio’,
‘orderby’ => ‘menu_order’,
‘posts_per_page’ => $count,
‘paged’ => $paged
);} else {
$args = array(
‘post_type’ => ‘x-portfolio’,
‘posts_per_page’ => $count,
‘orderby’ => ‘menu_order’,
‘paged’ => $paged,
‘tax_query’ => array(
array(August 15, 2014 at 11:34 am #85505now the portfolio index displays by the order selected in the plugin
August 15, 2014 at 11:39 am #85510and thanks for letting me know about the plugin, it works great 🙂
August 15, 2014 at 11:43 am #85512August 15, 2014 at 11:46 am #85513Thank you for suggesting that.
This will help our other customers too.
Cheers 🙂August 5, 2015 at 11:55 am #350977Hi,
just bumped into this topic and thought I could share two small notes:1) the php file is actually “_portfolio.php” rather than “portfolio.php” (that is another, different, file)
2) right below this line:'orderby' => 'menu_order',
I’ve also added the following line:
'order' => 'ASC',
to have an ordering of the portfolio items matching the ones that are showing on the mentioned plugin above.Hope this can help 🙂
August 5, 2015 at 1:29 pm #351072Thank you for your contribution 🙂
September 1, 2015 at 3:05 am #375309
AnonymousHello !
This plugin does not work either, and I’m not too confortable changing the file.
On what line should I add the code given ?Could you please help ??
Thanks !
September 1, 2015 at 3:12 am #375313
AnonymousHello ! Actually I noticed that the plugin you advised is not very well ranked.
The plugin Intuitive Custom Post Order is actually better ranked with a lot of 5 stars evaluations.
I’ve just tested it, it works great and intuitively ! Just drag and drop the portfolio items in the order you wish !September 1, 2015 at 4:34 am #375388Hi there,
We only recommended the plugin but as we don’t provide support for third party plugins we didn’t guarantee if it was going to work or not.
We are glad that you found appropriate plugin now.
Thanks.
November 16, 2015 at 3:52 pm #667504Hi!
I’ve edited the _portfolio.php-file in x/framework/views/global without any result. I’ve also tried it with two different plugins for menu sorting, including Intuitive Custom Post Order. It seems like they’re correct in the panel, but doesn’t go through on the page. Might do some difference, but I’m working on a portfolio category /portfolio-item-category/special/
Can you help me here?Cheers!
// Martin
-
AuthorPosts