• Resolved todaro

    (@todaro)


    Dear experts,

    I pretend my blog to be not a blog itself but a news site and, as such, I’d like it not to show posts on the home page but a list of links to them — similarly to what the Alt page does on one of the columns.

    To be more precise, I’d like the home page (or a page created to be the entry one) to show links and texts exactly like search results do, that is: title (with link), the first paragraph of the text and a “Read more” link, all for each recent post/news.

    Does anyone know if that is possible? If so, how could I do that?

    Thanks in advance.

Viewing 5 replies - 1 through 5 (of 5 total)
  • This plugin will do that for you. Read about it.
    https://www.ilfilosofo.com/blog/home-page-control

    Thread Starter todaro

    (@todaro)

    I’m awfully sorry, samboll, but that plugin does’t do what I want — and, considering what it actually does (setting a static home page), it’s useless for WordPress 2.1 users.

    Let me put thing a bit more simple: I want to create a home page that is half static, half dynamic. The dynamic part is a set of links for the latest posts, similar to the ones shown on search results.

    Now, for anyone able to answer this: is it possible? If yes, how?

    Thanks in advance.

    ummm, you can mod your index.php to use the_excerpt instead of the_content (I think that’s correct), or put in in home.php (vs single.php), depending on your particular theme layout.

    then, use <!--more--> after your first paragraph to enable the excerpting/read-more feature.

    -d

    Thread Starter todaro

    (@todaro)

    Almost there, davidchait! ??

    Thanks for the “the_excerpt” tip, which is right what I wanted.

    But the “read-more” feature is not working. Have a look: https://applemania.info

    Note that there’s no “Read more” link below each paragraph as it should.

    How can I fix it?

    Thanks!

    Thread Starter todaro

    (@todaro)

    davidchait, please ignore the question above. I’ve solved the problem with this:

    <?php the_excerpt('Read more ?'); ?>
    <p><a>" rel="bookmark" title="Permalink to <?php the_title(); ?>">Read more</a></p>

    That’s it.

    Thanks once more. ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Hacking the home page (if possible)’ is closed to new replies.