Micro.blog

colinwalker
colinwalker
A new blogroll colinwalker.blog
mikehaynes
mikehaynes

@colinwalker Thanks for this, Colin. I'm using this on my blog now and it works great. Is there currently or planned ability to reorder blogroll items? I tried setting the order but that doesn't seem to do the trick.

colinwalker
colinwalker

@mikehaynes Glad you like it Mike :) The shortcode currently returns entries in ascending order based on post ID ('order' => 'ASC’,) so any change in order would need to be a change to the query. What sort of order are you looking to put them in?

johnjohnston
johnjohnston

@colinwalker looks lovely, great stuff.

colinwalker
colinwalker

@johnjohnston Thanks John 😊

mikehaynes
mikehaynes

@colinwalker Trying to set it alphabetically but it doesn't seem to want to follow the order I've set.

colinwalker
colinwalker

@mikehaynes You could try adding

'orderby' => 'title',

to the $args array in the shortcode.

In reply to
mikehaynes
mikehaynes

@colinwalker Doesn't look like that did the trick. Just reordered manually by date & time. Thank you again, the plugin is great.

colinwalker
colinwalker

@mikehaynes Strange. I just added that to the query on mine and it worked.

mikehaynes
mikehaynes

@colinwalker No worries, I likely did something wrong.

colinwalker
colinwalker

@mikehaynes Have a look at this in case it helps.

mikehaynes
mikehaynes

@colinwalker That's great, thanks Colin!