• blog at corienbennink.nl/blog

    I’d like a <br /> tag in between a php script line, if that is possible.

    In between “this entry was posted on Day/Date/Year” and ” You can follow”.

    code from single.php that needs to be adjusted:

    <?php
    					printf(__('This entry was posted on %1$s ', 'elegant-grunge'), get_the_time(__('l, F jS, Y', 'elegant-grunge')), get_the_time());
    					if ( count(($categories=get_the_category())) > 1 || $categories[0]->cat_ID != 1 ) {
    						// printf(__('and is filed under %s', 'elegant-grunge'), join(', ', array_map(create_function('$item', 'return $item->cat_name;'), get_the_category(', '))));
    					}
    					_e('. ', 'elegant-grunge');
    					printf(__('You can follow any responses to this entry through the <a href="%s">RSS 2.0</a> feed.', 'elegant-grunge'), get_post_comments_feed_link());
    					?>
  • The topic ‘break br in php line code’ is closed to new replies.