WordPress.org

Support

Support » Plugins and Hacks » Extended entry on main page

Extended entry on main page

  • 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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Maybe This Link is what you are searching for.

    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.

    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.

    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.

    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?

    rayne, southern-gal’s tutorials are now here

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Extended entry on main page’ is closed to new replies.