Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter bschnure

    (@bschnure)

    I was able to do it by editing wp-includes/link-template.php. I changed:

    $link = '<a rel="shortlink" href="' . esc_url( $shortlink ) . '" title="' . $title . '">' . $text . '</a>';

    to

    $link = '<a rel="shortlink" href="' . esc_url( $shortlink ) . '" title="' . $title . '">' . $shortlink . '</a>';

    I don’t like having to edit core files to do this kind of stuff, since you always have to remember to make the changes again whenever you upgrade.

    Is there an easier way to do this in a cleaner fashion using the_shortlink()?

    Thread Starter bschnure

    (@bschnure)

    There must be some new reference to ‘single-post.php’ in WordPress that didn’t exist previously.

    I changed the name of my default post template from ‘single-post.php’ to ‘default-post-template.php’ and all of my category post templates now display properly.

    Weird.

Viewing 2 replies - 1 through 2 (of 2 total)