Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)
  • I also have this problem. I don’t use widgets for my sidebar, and also I’d like to display this on my main page. If that worked it would probably be the plugin for me.

    I recently added that functionality to my own theme. The short answer is that you need to put your author email into your comments.php and then look at the source HTML of comments you’ve made on your blog to see what CCS they’ve been given. Then you can set the color you want them to be in your style.css. It’s a little hard to say for sure, though, since I haven’t seen your theme.

    You could also take my post about how I implemented styling wordpress comments on my site. You should be able to copy the info you need and get it working within ten minutes or so.

    I’ll second that. I never would have figured out I need to add <?php $more = 0; ?> to my template, either.

    Any clue how to get the next_posts_link() and previous_posts_link() to work with this hack?

    Thread Starter xiaoma

    (@xiaoma)

    I got it! The answer was here! I just had to add

    <?php query_posts('showposts=10'); ?><?php $more = 0; ?>

    before The Loop. Yay! Thanks for getting me on the right track, everyone! Case closed!

    Thread Starter xiaoma

    (@xiaoma)

    I just created a php file called “index2.php” in my theme directory, and it’s identical to my “index.php”, except that I’ve added
    <?php
    /* Template Name: index2 */
    ?>

    to the top of it. It includes The Loop. Then I made a page called “test”, and selected index2 as the page template for it. Unfortunately, instead of loading up my ten most recent entries as index.php does, it doesn’t display any at all. You can see the results on http://toshuo.com/test.

    Is there some step I missed?

    Thread Starter xiaoma

    (@xiaoma)

    What I want is a list of recent entries, but NOT on the homepage. As I said above, my homepage is static. I want to display recent entries on some other page. For the purpose of this conversation let’s just say I want a page called “recent” that acts just like toshuo.com/index.php does now.

    Thread Starter xiaoma

    (@xiaoma)

    When there’s a request for /, Apache checks index.html before index.php. As I said before, I’m more than willing to abandon this method and have a static page at index.php, but I don’t know how to get at an index of my blog posts if I do that.

    Does anybody know how to display all the recent entries from a different php file? (home.php doesn’t work because if it’s there, WP ignores index.php) I’ve tried copying the contents of my index.php into “blog.php”, but it breaks when I try to load blog.

    Thread Starter xiaoma

    (@xiaoma)

    Moshu, if you can think of another way to get similar functionality, I’m all ears.

    I’ve spent hours online searching for a way to have a static home page, keep a way for visitors to access an index of my most recent entries, and NOT put my entire blog under a subdirectory as many others have done. I’d love it if there were some simple way to make a page in wordpress that loads my blog entries (without wiping out my home page). If that were possible, I’d make a page that loaded my most recent 10 entries, name the page “index” and be done with it.

    I just thought that using mod_rewrite would be easier!

    Thread Starter xiaoma

    (@xiaoma)

    Replacing the rule I added with those two resulted in a 500 Internal Server Error on every page of my blog. any other ideas?

Viewing 9 replies - 1 through 9 (of 9 total)