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 »

[SOLVED] How much post in main page

Old Jun 26, 2014, 07:45 AM
10 posts · Apr 2014
I was hesitating whether to show the whole Posts on the main page or not. I changed subtemplate postformat.php from the_excerpt to the_content.

But I am not quite satisfied with the result, because my youtube videos are hidden in the main page and I think no one would click the button "read more" to actually view the video. Is there a way to show the video in the_excerpt in the main page ?

Or maybe manually decide whether selected posts are showing the whole content or the excerpt ?

I forgot my page address : www.projektowaniebim.pl

Last edited by Szymon9; Jun 26, 2014 at 12:07 PM.
Old Jun 26, 2014, 12:37 PM
juggledad's Avatar
23,614 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
I would suggest creating a virtual sub-template called 'postformat-video' as a copy of the 'post format.php' sub template.

then change the line
HTML Code:
	<?php bfa_thumb( 620, 180, true, '<div class="thumb-shadow"><div class="post-thumb">', '</div></div>' ); ?>
HTML Code:
	<?php the_excerpt(  ); ?>
next edit the post, create a manual excerpt and set the post format to 'video'
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
Old Jun 30, 2014, 05:57 AM
10 posts · Apr 2014
Thank you. It worked


content, excerpt, post

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
can a picture of the post be displayed on the main page? hellside Montezuma Theme 2 Mar 17, 2013 08:27 PM
How to Remove Post date from Main page and Single Page? techyleakz Montezuma Theme 2 Mar 6, 2013 11:30 AM
Main Post Page-1 primary post...4 mini highlights Mande Center area post/pages 1 Feb 16, 2011 09:09 PM
[SOLVED] How do I set post length on main page? Canuck Center area post/pages 2 Aug 24, 2010 07:15 AM
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 06:40 AM.

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