Thread Starter
breger
(@breger)
Thanks Podz for spotting that mistake. Unfortunately it does not resolve the problem in that the entry is still pushed to the bottom of the list. Any other ideas?
Thread Starter
breger
(@breger)
Success! I ended up replacing the “get-links-by-name” code for the links sections and replaced with “get-links” code. This was set out as below:
<ul>
<li><h2>Business Links</h2></li>
<?php get_links('8', '
<li>', '</li>
', '<br />', FALSE, 'rating', FALSE,<br />
TRUE, 1, TRUE); ?></ul>
<ul><?php get_links('8', '
<li>', '</li>
', '<br />', FALSE, 'name', FALSE,<br />
TRUE, -1, TRUE); ?></ul>
This gave me a heading (Listings Index) and then the Directory Listing and seemed to kick the entries into alphabetical order.
I’m impressed with what you’ve done Breger.
However I’m curious why you decided to use the “links” list to organise your directory, and not “pages”.
Also, there seems to be a problem with the search function – no matter which of your business types I search on I end up at the “Oops! Are you lost?” page.
A Google site search would probably work instead, but I can’t understand why WP isn’t indexing these words – does it only see posts?
Thread Starter
breger
(@breger)
Sorry for the delay in answering the last comment (I thought this thread was finished).
Re the choice of “links” v “pages” – no great reason except that was the first thing that worked for me. The Search function problem concerns me more. I have no idea why this should be happening. Have you? The Google idea sounds good though.
I am having problems with WPsearch not finding things. I tend to use Google on my own site for my own purposes but I wish WP’s search worked for readers. This is in WP2.0.2