WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Howto: Display ONLY Titles of Posts (11 posts)

  1. insidethe8
    Member
    Posted 7 years ago #

    I'm looking to create a "subpage" that is a listing of only article titles (much like a newsboard - instead of the default, which is blog-style) ....

    What's the easiest way to go about doing this?

    My site is: http://www.insidethe8.com

  2. rudolf45
    Member
    Posted 7 years ago #

    Delete the_content tag from the Loop.

  3. insidethe8
    Member
    Posted 7 years ago #

    Correct me if I'm wrong, but doing that would display only article titles on my Default/Home/Main page. That's not what I'm looking to do.

    I'm looking to create a seperate "Page" (like "About Us") that would be a listing of just the article titles.

  4. rudolf45
    Member
    Posted 7 years ago #

    Not necessarily. I meant to delete it in the template file that is used to display that list.

    However, if it is about a Page - it becomes more complicated: Pages are not meant to display multiple posts, so you will have to mess around more with the code. Unfortunately, I am not a coder.

  5. insidethe8
    Member
    Posted 7 years ago #

    Is this somehow possible with RSS?

    I really want to create an "alternative view" for my visitors where they can view the site in blog-form (default) or view it in "newsboard-form" where its just a listing of the headlines w/no pictures or descriptions

  6. insidethe8
    Member
    Posted 7 years ago #

    Anybody?

  7. Andrew Ozz
    WordPress Dev
    Posted 7 years ago #

    Sure... You will need a custom template - look here for how-to:
    http://codex.wordpress.org/Templates

    You can start by copying index.php, removing the loop from it and using get_posts() to display only the titles:
    http://codex.wordpress.org/Template_Tags/get_posts

    After that just make a new page and use your template...

  8. ensworth
    Member
    Posted 7 years ago #

    Anther possibility ... You could tweak the srg_clean_archives plugin to do what you want. It displays a list of posts by title and date (beginning with most recent) and may be mounted on a page.

  9. insidethe8
    Member
    Posted 7 years ago #

    My head hurts, I appreciate the help but I'm not really understanding how to do this :-/

  10. insidethe8
    Member
    Posted 7 years ago #

    Holy crap I sorta got it http://insidethe8.com/?page_id=15

    Now how do I put that inside the site's normal header and footer? I'm gonna try to figure it out but any hints would be helpful!! :)

  11. Andrew Ozz
    WordPress Dev
    Posted 7 years ago #

    Yep, looks right. That took you exactly 11 min to do, not bad :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags