Created
June 11, 2012 19:58
-
-
Save takatoshi/2912296 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//変更前 | |
if ( $more ) { | |
//217行目 | |
$output .= '<span id="more-' . $post->ID . '"></span>' . $content[1]; | |
} else { | |
if ( ! empty($more_link_text) ) | |
//220行目 | |
$output .= apply_filters( 'the_content_more_link', ' <a href="' . get_permalink() . "#more-{$post->ID}\" class=\"more-link\">$more_link_text</a>", $more_link_text ); | |
$output = force_balance_tags($output); | |
} | |
//変更後 | |
if ( $more ) { | |
$output .= '<span id="more-' . $post->ID . '" class="more"></span>' . $content[1]; | |
} else { | |
if ( ! empty($more_link_text) ) | |
$output .= apply_filters( 'the_content_more_link', ' <div class="more-link"><a href="' . get_permalink() . "#more-{$post->ID}\" class=\"more-link\">$more_link_text</a></div>", $more_link_text ); | |
$output = force_balance_tags($output); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment