The Better Blogroll WordPress plugin sorts your links randomly. There is no built-in option to change this. BUT, if you are willing to delete a couple of words from the plugin’s core file, you can hook it into My Link Order or any other link ordering methods you might be using. To stop the random ordering of links, open the “better_blogroll.php” file in the plugin’s folder and change line #54 from
$querystr .= ” ORDER BY rand() LIMIT $bbw_number”;
to
$querystr .= ” LIMIT $bbw_number”;
and then change the end of line #73 from
ORDER BY rand() LIMIT $bbw_number”;
to
LIMIT $bbw_number”;
That’s all!
More posts from themightymo.com
How to change all permalink slugs on a custom post type to “post id” rather than “post title”
Today I needed to change the url slug of a custom post type from /cpt-slug/%post-title%/ to /cpt-slug/%post-id%/. There were thousands of solutions on the web explaining how to change the “cpt-slug” portion of the url, but I couldn’t find a simple solution to change the last part of the url. Well here it is! The…
My Main Issue with Clickup
Clickup integrates with everything. It’s simple to use. But there’s one thing that drives me crazy: Their user interface (UI) assumes the conversation we have around to-dos is NOT important. Clickup‘s UI assume the task writeup stuff (uploaded docs, description, links, etc.) is more important than the conversation about that stuff. In my experience, the…
How to merge two folders, including all sub-folders and files, on Mac
Today I had an issue where I needed to merge two folders, each of which contained many sub- and sub-sub folders that had lots of images. After a lot of trial-and-error and some Googling, I found the best solution is to use the “ditto” command in Terminal like this: That’s it! Hat tip to AppleInsider.