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 »

getting static homepage to display posts


  #1  
Old Jun 25, 2013, 03:21 PM
thynne.j1
 
7 posts · Feb 2013
Hi,

I have a static homepage with a customer template but I would like to display some dynamic content - most recent 3 news items and most recent featured pages

I have added the BFA_loop code from the index.php file which obviously calls the postformat sub template but this just adds the content that is written on the static page again as I assume it looks at the page as to establish any categories to be displayed

Is it possible to create another sub template (already done this) but have it display posts from a specific category and also specify the number of posts (and any other useful query based stuff such as data ranges etc

thanks!

James
  #2  
Old Jun 25, 2013, 04:14 PM
juggledad's Avatar
juggledad
 
23,597 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
why not add a dynamic widget area and then use a plugin to display the latest posts?
  #3  
Old Jun 26, 2013, 02:04 AM
thynne.j1
 
7 posts · Feb 2013
Managed to get it to do sort of what I want using the display posts shortcode plugin but was wanting the format to look like the montezuma them with how it displays the featured image, excerpt and date on the index.php page

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Either a way to display blog posts instead of static pages moaa Page & Category Menu Bars 3 Nov 17, 2011 07:50 PM
PHP code to display posts from certain categories on homepage sradhey Center area post/pages 1 Apr 1, 2011 04:48 PM
Can you have a Static Homepage & Posts? jkfly4 Center area post/pages 1 Mar 12, 2011 08:37 AM
Display the posts within a catagory as my Homepage bloggersmarket Page & Category Menu Bars 1 Apr 15, 2010 07:46 AM


All times are GMT -6. The time now is 09:34 AM.


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