Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Montezuma Theme (http://forum.bytesforall.com/forumdisplay.php?f=53)
-   -   can a picture of the post be displayed on the main page? (http://forum.bytesforall.com/showthread.php?t=19894)

hellside Mar 15, 2013 02:21 AM

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.

juggledad Mar 15, 2013 04:35 AM

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, ' ...' ); ?>
to
HTML Code:

                <?php bfa_excerpt( 55, ' ...' ); ?>
you may also want to get rid of the line
HTML Code:

        <?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>

hellside Mar 17, 2013 08:27 PM

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.