• i have created a filter to insert a <br> after a bang! or : in titles, but apparently wpt encodes titles, making the <br> appear as text.

    i can see in wp-content/plugins/wptouch/themes/bauhaus/default that the_title() is escaped in links in attachment.php:
    <a href="<?php echo esc_url( $next_attachment_url ); ?>" title="<?php echo esc_attr( get_the_title() ); ?>" rel="attachment">
    but not in page-content.php: <h1 class="post-title heading-font"><?php the_title(); ?></h1>
    or post-loop.php: <h2 class="post-title heading-font"><?php the_title(); ?></h2>
    so wtf?

    The page I need help with: [log in to see the link]

  • The topic ‘titles are html escaped’ is closed to new replies.