Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

can a picture of the post be displayed on the main page?


  #1  
Old Mar 15, 2013, 03:21 AM
hellside
 
4 posts · Mar 2013
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.

Last edited by hellside; Mar 15, 2013 at 03:37 AM.
  #2  
Old Mar 15, 2013, 05:35 AM
juggledad's Avatar
juggledad
 
23,576 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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>' ); ?>
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 17, 2013, 09:27 PM
hellside
 
4 posts · Mar 2013
thanks for the quick advice.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to Remove Post date from Main page and Single Page? techyleakz Montezuma Theme 2 Mar 6, 2013 12:30 PM
[SOLVED] Post excerpts include thumbnail and post picture mkellam Center area post/pages 2 Jun 15, 2011 02:43 PM
Main Post Page-1 primary post...4 mini highlights Mande Center area post/pages 1 Feb 16, 2011 10:09 PM
remove post preview from main page dpace32 Header configuration & styling 3 Aug 24, 2010 01:52 PM
All Posts showing on main page. How can I get only certain post on main NoLimit24_FJ Forum How-To 1 Sep 22, 2009 06:18 PM


All times are GMT -6. The time now is 08:48 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.