Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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, 02: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 02:37 AM.
  #2  
Old Mar 15, 2013, 04:35 AM
juggledad's Avatar
juggledad
 
23,765 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, 08: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 11:30 AM
[SOLVED] Post excerpts include thumbnail and post picture mkellam Center area post/pages 2 Jun 15, 2011 01:43 PM
Main Post Page-1 primary post...4 mini highlights Mande Center area post/pages 1 Feb 16, 2011 09:09 PM
remove post preview from main page dpace32 Header configuration & styling 3 Aug 24, 2010 12: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 05:18 PM


All times are GMT -6. The time now is 12:14 AM.


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