snoogly
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: alphabetical postsWhen I use this to order search results I get broken next and previous buttons. They don’t do anything, and I can only see the first page of posts.
Forum: Plugins
In reply to: Search Results in Alphabetical or Relevant Order?I tried adding this to search.php
<?php
// we add this, to show *all* posts sorted
// alphabetically by title
$posts = query_posts($query_string . ‘&orderby=title&order=asc&posts_per_page=-1’);
// here comes The Loop!
if (have_posts()) : while (have_posts()) : the_post(); ?>(found at: https://codex.www.ads-software.com/Alphabetizing_Posts) but I get the same non-functioning next and previous buttons. Does this indicate that something is broken?
Thanks a lot for the help!
Forum: Plugins
In reply to: Search Results in Alphabetical or Relevant Order?Is there any documentation for that plugin? I can’t find any ways to configure it.
Forum: Plugins
In reply to: Search Results in Alphabetical or Relevant Order?Hmmm.
Adding
<?php query_posts(‘orderby=title&order=ASC’); ?>does get the search results in alphabetical order, but the navigation to next and previous search results pages no longer works. I can’t see more than the first page of search results.
Does anyone have any ideas about this? For me this is a make or break point, and I may have to switch from the WordPress platform if I can’t find a way to do it. I really don’t want to do that – so can someone please throw me a bone?!
Ah, but my site will be used in a public area, where for ease of use nobody has to log in. It will be used in a university self-access access centre for students to post comments about books they have read. It needs to be kept as open and easy to use as possible. Therefore, I really need the user’s personal info to be cleared after submitting a comment.