Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Trying to properly indent a theme I wondered if it would be possible to create a new line "\n" directly after <?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'mytheme')); ?>?

Edit:

At the person who did a -1 on this topic, could you perhaps explain which part of

This question does not show any research effort; it is unclear or not useful (click again to undo)

I didn't follow?

share|improve this question
add comment

1 Answer 1

up vote 1 down vote accepted

Why not just do:

<?php the_content(__('Continue reading <span class="meta-nav">&rarr;</span>', 'mytheme')); echo "\n"; ?>

That?

share|improve this answer
    
Hi @asko, I'd like to have that, yes. But it's currently giving me this error: <b>Parse error</b>: syntax error, unexpected T_ECHO in <b>/home/mysite/public_html/wp-content/themes/mytheme/loop.php</b> on line <b>24</b><br /> –  Cor van Noorloos Jan 9 '12 at 17:53
    
Sorry about that, code was missing a ";". It's fixed now, try again. –  Asko Jan 9 '12 at 17:56
    
You're right. And... I'm a dumb for also not noticing :) Much appreciated! –  Cor van Noorloos Jan 9 '12 at 18:07
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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