wildbug
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: theme for 2.7 but I upgraded to 2.8.1Thank you, will do. I haven’t upgraded to 2.8.4 yet, I think I have 2.8 or 2.8.1. Anything I should know/do before upgrading to 2.8.4? Thanks so much.
Forum: Fixing WordPress
In reply to: post “excerpt” not displaying for popular postsYay, I figured it out!! I had to change a term in the query string…
Forum: Fixing WordPress
In reply to: post “excerpt” not displaying for popular postsStrange, I can find “post_excerpt” as a term in the support forum but for some reason, it doesn’t work here. Post_content does work however. But I need to use the excerpt. Any ideas?
Forum: Fixing WordPress
In reply to: post “excerpt” not displaying for popular postsSeems like I am using the wrong term for excerpts. The original code had “post_content” and I changed it.
Forum: Fixing WordPress
In reply to: theme for 2.7 but I upgraded to 2.8.1If it makes a difference, here is the theme I am using.
Forum: Fixing WordPress
In reply to: how to order categories as inputThank you so much. Only I realized that I was actually wanting the categories to be listed by menu rather than the posts. I tried applying that code to the category code but it didn’t work. Do you have any ideas how to do that? I REALLY appreciate it.
Here is the current code:
<?php $categories = get_categories('hide_empty=1&include=' . fs_settings('resourcesleft_categories')); foreach ($categories as $category) : query_posts('showposts=' . fs_settings('resourcesleft_category_length') . '&cat='.$category->cat_ID); if (have_posts()) : $count = 0; ?>
And here is what I tried that did not work:
<?php $categories = get_categories('hide_empty=1&orderby=menu_order&order=ASC&include=' . fs_settings('resourcesleft_categories')); foreach ($categories as $category) : query_posts('showposts=' . fs_settings('resourcesleft_category_length') . '&cat='.$category->cat_ID); if (have_posts()) : $count = 0; ?>
Forum: Fixing WordPress
In reply to: how to limit posts and show posts in queryDoh!! Thank you Kichu! I had misinterpreted it to mean # of categories displaying; not posts due to the language used.
Forum: Fixing WordPress
In reply to: how to order categories as inputThank you so much, but can you show me how to put it in my query code…I cannot figure that out. THANKS!!
Forum: Fixing WordPress
In reply to: display recent posts from multiple categories on one pageWell I figured out how to do this but can’t figure out how to make it display 3 posts from each category instead of 1. I used an alternate approach in the code:
<div class="categorymain"> <?php $categories = get_categories('hide_empty=1&include=' . fs_settings('expertright_categories')); foreach ($categories as $category) : query_posts('showposts=' . fs_settings('expertright_category_length') . '&cat='.$category->cat_ID); if (have_posts()) : $count = 0; ?> <div class="boxmain"> <h2><a href="<?php echo get_category_link($category->cat_ID); ?>"><?php echo $category->name ?></a></h2> <ul> <?php while (have_posts()) : the_post(); $count++; $titlewidth = 45; ?> <li<?php if ($count==1) echo ' class="first"'; ?>> <a href="<?php the_permalink(); ?>"><?php echo fs_clean($post->post_title, $titlewidth); if (strlen($post->post_title)>$titlewidth) echo '...'; ?></a> <a class="attachment" href="<?php the_permalink(); ?>"><?php fs_attachment_image($post->ID, 'thumbnail', 'alt="' . $post->post_title . '"'); ?></a> <p><?php echo fs_clean($post->post_content, 135); ?>...</p> </li> <?php endwhile; ?> </ul> </div> <?php endif; endforeach; ?> </div>
Can someone tell me what to do to get the 3 most recent posts from each category display? ALSO, I don’t know how to create a space between the 2 columns. Currently, the title headers are melding into each other. How to create a small space between the two? Here is the page
Forum: Themes and Templates
In reply to: Category template to display posts from multiple categoriesHi Mitcho,
Just wondering if you found a solution? I’m trying to do the same thing.Forum: Fixing WordPress
In reply to: Display newest posts from multiple categories on front pageNathan, Did you find an answer to this? I’d like to do the same and am really surprised it isn’t well documented here. It seems like it would be a popular template for certain types of sites, like news sites.
Forum: Fixing WordPress
In reply to: Error when upgrading to WP2.8Thanks so much sbruner!!! It worked for me too. Not sure if I should upgrade to 2.8.1. Can someone tell me the pros and cons of doing so? I’d like to wait for 2.8.2 since the fix is there. Thanks!!
Forum: Fixing WordPress
In reply to: Error when upgrading to WP2.8Thanks RickGC
So are you saying to overwrite the http.php file with your http.rar file? Because I tried that and it messed everything up. (It doesn’t make sense to me why I would replace a file that reads like normal code with one that is all symbols…?)Since I am such a newbie at this, it’d be helpful if you could use specific names when referring to files so I know I’m not messing up. For example: “Replace http.php file with http.rar file” Instead of overwrite original with the one on my page…because there are several attachments and being a non-programmer none of it makes sense to me.
Anyway, it didn’t work well for me. If you or anyone else has any other suggestions, please let me know. Thanks!
Forum: Fixing WordPress
In reply to: Error when upgrading to WP2.8Thanks RickGC but I’m still confused. When I said copy and paste your file, I was referring to your “10163.diff” file that was on your help ticket. But you seem to be implying that I take the http.rar file that has since been uploaded to that linked page and overwrite the http.inc file. Only problem is I can’t find an http.inc file. I only see an http.php file! Can you walk me through it from a complete novice’s point of view? Sorry to be so clueless! ??
Forum: Fixing WordPress
In reply to: Error when upgrading to WP2.8RickGC, Can you explain what we need to do? I am not a programmer. Do I copy your entire file and paste into mine? Do I need to delete anything in mine? Thanks!