0

I have WP 3.6 running on my server. After playing around with it, I noticed that it's not very intuitive to add comments to a status update;

enter image description here Guess how?

After some thought, I have decided I would like for it to look more like this:

enter image description here

Or some variation thereof

The click to show/leave comments text is simply appended on the end of the existing Status on... link.

I've dug around in the PHP files, but can't seem to figure out how to make this simple change. Is there a file somewhere that dictates what strings to display?

Any ideas?

0

Open up the /wp-content/themes/twentythirteen/functions.php file and change the line

$format_prefix = ( has_post_format( 'chat' ) || has_post_format( 'status' ) ) ? _x( '%1$s on %2$s', '1: post format name. 2: date', 'twentythirteen' ): '%2$s';

to

$format_prefix = ( has_post_format( 'chat' ) || has_post_format( 'status' ) ) ? _x( '%1$s on %2$s - show/leave comments', '1: post format name. 2: date', 'twentythirteen' ): '%2$s';

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.