![]() |
can a picture of the post be displayed on the main page?
for instance, the post structure is one picture, then a lot of word
what should I do if I want the picture(not excerpt word) showed in the front page followed by "read more"? I guess I should modify the <?php bfa_excerpt( 55, ' ...' ); ?> But I am not sure which I should use to replace this one I am not native English speaker. Thanks. by the way, the picture is linked, not uploaded locally , will that be a problem? also, it would be great if the size of the picture displayed on front page can be re-sized. |
the easiest way would be to edit the post and put the <img....> in 'the excerpt' section of the editor - if you don't see this option, click on the 'Screen Options' tab up towards the top right of the window.
Next go to mto->Sub Templates->postformat.php and change the line HTML Code:
<?php the_excerpt( 55, ' ...' ); ?> HTML Code:
<?php bfa_excerpt( 55, ' ...' ); ?> HTML Code:
<?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?> |
thanks for the quick advice.
|
All times are GMT -6. The time now is 04:35 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.