Elizabeth
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: WordPress not recognizing imported databaseAt this point I’ve become frustrated enough that I’m just importing my entries via the exports of my WP posts that I’ve done semi-regularly over the last year or so. I’ll probably end up missing about a month’s worth of entries but it’s better than nothing.
Thanks for your help!
Forum: Fixing WordPress
In reply to: WordPress not recognizing imported databaseNothing! It’s a completely invisible problem, I have no idea what’s going on.
Forum: Fixing WordPress
In reply to: WordPress not recognizing imported databaseGood idea. Tried uploading the oldest back up I have via phpMyAdmin (had to split the files because they were too big, so I used SQL Dump Splitter) but had the same non-results.
Forum: Fixing WordPress
In reply to: WordPress not recognizing imported databaseI have nine more back ups from the last month and am slowly working my way back through restoring each of them when the last one hasn’t worked but so far they’re all yielding the same results.
Forum: Fixing WordPress
In reply to: WordPress not recognizing imported databaseYup!
Forum: Fixing WordPress
In reply to: WordPress not recognizing imported databaseNothing happens, or rather when I first installed WP but before I imported the database, everything was as it should be on a fresh install (i.e. “Hello, World”, one test comment, etc.). After importing the database, nothing changed even though all of the content of the database is there when I look in phpMyAdmin.
Forum: Fixing WordPress
In reply to: Excerpt – punctuation being and even full words being strippedSo, weirdly enough, even if I create a template file that is stripped completely bare and includes nothing except html, head, and body tags, the excerpt still gets truncated even though there can’t possibly be any other code in conflict with it.
Forum: Fixing WordPress
In reply to: Excerpt – punctuation being and even full words being strippedYes, as I said, it displayed fine in the past with other themes. So while it’s definitely something to do with this theme, there doesn’t look to be anything weird in the code that would cause that. `
<div class=”post_content”>
<div class=”inner”>
<h3>< a href=”<?php the_permalink() ?>”><?php the_title(); ?></ a></h3>
<?php the_excerpt() ?>
</div>
</div> `
There’s nothing odd or complicated in the snippet where it appears, so I’m at a loss. (The gap between the < and the “a” for the link is because it wasn’t showing up properly in this post; it’s coded properly in the theme.)Forum: Plugins
In reply to: Popularity Contest – Limit Number of PostsThis has been bothering me as well. I thought you could change the code to
akpc_most_popular($limit = 5)Instead, it returned 15 posts! When I set it to 1, it returned 10. Not sure what’s up.
Yup, I’ve read through those pages on the codex. They don’t address my issue, though, which is that I am trying to avoid specifying a year in the query (as in your example) so that the query is still usable regardless of what year you are viewing. (I may not have articulated this clearly enough in my original post.)
I ended up with the following solutions, for those who are interested.
For all posts organized by date in any given year (modified by a snippet of code I found elsewhere in the forums):
$posts = query_posts($query_string .’&orderby=date&order=ASC&posts_per_page=-1′);
For all posts organized by category in any given year:
$categories=get_categories(‘orderby=name&order=DESC’);
foreach($categories as $category) {
$posts=get_posts($query_string .
‘&showposts=-1&cat=’. $category->term_id);
if ($posts) {
echo ‘ ‘;
foreach($posts as $post) {
setup_postdata($post);For all posts organized alphabetically in a given year:
$posts = query_posts($query_string . ‘&orderby=title&order=asc&posts_per_page=-1’);
The ultimate result is that no matter what date parameter I put in here (either a year value, a month value, or a date value), the page will only return posts that match that date parameter (instead of giving me all posts in all years).
It’s working so far, so I’m probably just going to go with it.
Forum: Themes and Templates
In reply to: Formatting date-based archives: dates as tabbed linksBumping this in case anyone might have found some new solutions. Thanks!