It pays to read the Readme…

I’ve been trying for some time to get the category drop-downs to work in the main menu.

Oh, you didn’t realise? Yes — there’s a page menu right next to a category menu.

Not that it matters to the naked eye — or the clothed one for that matter — they look the same for all intents and purposes.

The reason there’s two menus side-by-side is so I can easily arrange the various stories (the blog posts) into a coherent order for my burgeoning readership (ie. You.).

It’s fundamentally hard to create a wordpress page that has blog posts on it. And blog posts are the easiest way to add content to the site without having to go into manually creating each page, the links, and all the rest of it. Far easier to create individual posts and link them to the various categories.

For example, you’ll find the first story “Fire with Fire” is linked to “Book 1″, “Daisy”, “Prime”, “Miss Rook” and “Colonel Panix”.

This would be extremely hard to achieve on individual pages.

Now to my other problem – clearly stating the order of the posts for the drop-down menu.

This initially worked because I was numbering each post (eg: 1-2:Confinement), etc. However, when I reached 10, things went pear-shaped.

The traditional numbering system in WordPress is one of two things — orderby — which can be postname or id, or orer which is asc or des (ascending or descending).

Useless in all cases for the posts.

I’ve had “My Category Order” installed for some time, but was unable to get it to work for the drop-down fields. An hours research finally paid-off though.

Because in the Readme file is a single PHP statement which does the work for me.

*sigh*.

Onto the next challenge!

ps. It’s funny how much of the work that’s going into the site is actually invisible UNLESS IT DOESN’T WORK. It’s all about a seamless user-experience. That and me trying to avoid screaming and banging my head against the wall beside me.

Share
This entry was posted in Latest News. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Powered by WP Hashcash