WordPress.org

Ready to get started?Download WordPress

Forums

Extended entry on main page (7 posts)

  1. rayne
    Member
    Posted 10 years ago #

    I know southern-gal created a hack to show/hide extended entries, but the website for her wp hacks isn't available. Does anyone have this hack?

  2. carthik
    Member
    Posted 10 years ago #

    Maybe This Link is what you are searching for.

  3. goodsnake
    Member
    Posted 10 years ago #

    My question is where and what is the code in WordPress that I am supposed to replace with that code. I can't find the WP equivilent to the B2 code.

  4. carthik
    Member
    Posted 10 years ago #

    Oh! My bad.
    In wp-includes/template-functions-post.php
    find
    } else {
    $output .= ' $more_link_text";
    }
    }

    It's the line with the $output that the author of the forum post is talking about. In WP 1.2 alpha it is line 129. It will be somewhere around that line in WP 1.0.2 if that's what you are running. You can search for a line containing $output and $more_link_text in the same line.

  5. rayne
    Member
    Posted 10 years ago #

    I found the code I was looking for and just copied what I had from my MT template to get it working. I tweaked it for WP and it is all good and the code validates.

  6. rayne
    Member
    Posted 10 years ago #

    Is there anyway to get this into my-hacks.php, so I don't have to keep redoing it every time I want to upgrade wp?

  7. Anonymous
    Unregistered
    Posted 10 years ago #

    rayne, southern-gal's tutorials are now here

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.