WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Adding sectioned off post to my blog? (11 posts)

  1. rsaldana2008
    Member
    Posted 5 years ago #

    I was wondering if there is a plugin that can change how post are posted. If you take a look at http://slashdot.org/ you can see how each individual post is sectioned off. There is the title and a short summarization of the story. I want my readers to click the title to be taken to the full story that would be on my site still.

    The reason why I want to do this, is to allow me to add more adsense ads per post since I'm having difficulty adding more then 3 since all post are on a single page.

    I know this is possible since I've seen some wordpress blogs doing this but I really have no idea where to even begin looking.

    Does anyone have an idea how to section off post, but to still have the title and short summary of the post on the main homepage?

    I'm not sure if I'm describing this correctly...please forgive me...I've haven't been getting much sleep lately.

    Thanks.

  2. Evita
    Member
    Posted 5 years ago #

    You have to edit your wordpress template files (wp-content/themes/YOURTHEME). Open index.php, search after <?php the_content(); ?> and change it to <?php the_excerpt(); ?>.

  3. rsaldana2008
    Member
    Posted 5 years ago #

    Hi Evita,

    Thank you so much for replying!! I'm so lost...

    By the way...I really have no idea what you mean..I'm really sorry =(

    I searched for <?php but I found nothing, I have no idea what to do but I would appreciate it if you could help me.

    My blog is at http://www.thegoldenswing.com

    Can you guide me on this? Or tell me where I can learn how to do it? Thanks.

  4. Evita
    Member
    Posted 5 years ago #

    I searched for <?php but I found nothing

    Where have you searched?

  5. rsaldana2008
    Member
    Posted 5 years ago #

    sorry for the late reply. I search index.php

    the home page...was I suppose to search another place?

  6. Agent009
    Member
    Posted 5 years ago #

    What evita meant was this.

    Navigate to the folder: wp-content/themes/yourchosentheme

    "yourchosentheme" is the theme you are using, which by default is something like "default", so the folder you need to view is the following:

    wp-content/themes/default

    From this directory, open the file index.php

    FIND

    <?php the_content

    REPLACE WITH

    <?php the_excerpt

  7. Agent009
    Member
    Posted 5 years ago #

    If I am mistaken, please ignore my post :P

    I am fairly new to WordPress as well.

  8. rsaldana2008
    Member
    Posted 5 years ago #

    WOW!!!

    I actually did something cool thanks to Evita and Agent009!!!

    Could I ask just one more favor? could you tell me your honest opinion regarding the new change? Does it look good like that?

  9. Evita
    Member
    Posted 5 years ago #

    Design is always a matter of taste - it looks okay for me.

  10. rsaldana2008
    Member
    Posted 5 years ago #

    Well im constantly improving my site and im always open to suggestions. By the way...do you know how I can change the title of the post to the color of my links? I want the reader to know he/she can click the link to be taken to the full story.

    How can I do this?

  11. Evita
    Member
    Posted 5 years ago #

    All styles are in your style.css. Style for your titles should be following line (in style.css):
    div.generaltitle div.title a{text-decoration:none;color:#fff;}

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.