1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress help

Discussion in 'WordPress' started by ecksit, Aug 28, 2008.

  1. #1
    This would probably be a very quick fix for all you php programmers, but I don't know much about the language so I thought I would ask.

    On the index page of my blog, it shows recent posts, but it shows the entire post. Is there a way to just have a portion of the recent posts showing on the main page, then have a 'read more' at the bottom so they have to go to the actual post page to view the content?

    Thanks in advance!

    ~myke
     
    ecksit, Aug 28, 2008 IP
  2. NsaneNoob

    NsaneNoob Peon

    Messages:
    2,103
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, when writing your articles, in the toolbar where you change text, font etc. There is a READ MORE OPTION. IT SHOULD SAY " insert more tag"
     
    NsaneNoob, Aug 28, 2008 IP
  3. ecksit

    ecksit Peon

    Messages:
    389
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ohhh, ok I see it now. Is there a way to quick edit all the posts? Because I have 400+ posts on my blog, and it would some time editing every single one.
     
    ecksit, Aug 28, 2008 IP
  4. NsaneNoob

    NsaneNoob Peon

    Messages:
    2,103
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Sorry, I do not think so. But it should take you around 20 seconds for each post. So that would be 8000 seconds. So that would be 133 minutes so around 2 hours and a bit.
     
    NsaneNoob, Aug 28, 2008 IP
    ecksit likes this.
  5. ecksit

    ecksit Peon

    Messages:
    389
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hahah ok thanks! Probably worth the time, so I'll get at it. :D

    Thanks for the help, I repped ya.
     
    ecksit, Aug 28, 2008 IP
  6. ecksit

    ecksit Peon

    Messages:
    389
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I noticed when I click on the 'read more' on the main page, it takes me to the post page, but the page starts at where the 'read more' tag started, How do I make the page start at the top?
     
    ecksit, Aug 28, 2008 IP
  7. NsaneNoob

    NsaneNoob Peon

    Messages:
    2,103
    Likes Received:
    59
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It should be like this:

    texttexttext............................................................
    texttexttext............................................................
    texttexttext............................................................
    INSERT READ MORE HERE
    texttexttext............................................................
    texttexttext............................................................
    texttexttext............................................................
     
    NsaneNoob, Aug 28, 2008 IP
  8. desilator

    desilator Peon

    Messages:
    2,220
    Likes Received:
    49
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Im not sure why that is happening.. When I click read more on my blogs it takes me to the post.. but displays the whole post.
     
    desilator, Aug 28, 2008 IP
  9. magicinthedesert

    magicinthedesert Peon

    Messages:
    143
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #9
    There is another way to do this that will not require you to edit all your posts. Open your index.php file and replace the_content with the_excerpt. For example, in the default WordPress theme:
    <div class="entry">
    <?php the_content('Read the rest of this entry &raquo;'); ?>
    </div>
    
    Code (markup):
    would change to:
    <div class="entry">
    <?php the_excerpt('Read the rest of this entry &raquo;'); ?>
    </div>
    
    Code (markup):
    You may also like to have a link to the bottom right that says read more. In this case, the full code for the default theme would look like this:
    <div class="entry">
    <?php the_excerpt('Read the rest of this entry &raquo;'); ?><div style="text-align:right;"><a href="<?php the_permalink() ?>" rel="bookmark">Read more &raquo;</a></div>
    </div>
    
    Code (markup):
    If you have any problems implementing this, you may post your index.php code here and I will edit it for you and repost it for your use.
     
    magicinthedesert, Aug 30, 2008 IP
  10. YIAM

    YIAM Notable Member

    Messages:
    2,480
    Likes Received:
    240
    Best Answers:
    0
    Trophy Points:
    280
    #10
    Use "excerpt-editor" plugin.

    http://wordpress.org/extend/plugins/excerpt-editor/
     
    YIAM, Aug 30, 2008 IP