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 »

[SOLVED] How much post in main page

Old Jun 26, 2014, 08: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 01:07 PM.
Old Jun 26, 2014, 01:37 PM
juggledad's Avatar
23,765 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, 06: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 09:27 PM
How to Remove Post date from Main page and Single Page? techyleakz Montezuma Theme 2 Mar 6, 2013 12:30 PM
Main Post Page-1 primary post...4 mini highlights Mande Center area post/pages 1 Feb 16, 2011 10:09 PM
[SOLVED] How do I set post length on main page? Canuck Center area post/pages 2 Aug 24, 2010 08: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 06:18 PM

All times are GMT -6. The time now is 11:33 AM.

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