Archived

This topic is now archived and is closed to further replies.

  • 0

Latest Posts on Home Page

Question

Posted · Report post

Hey guys. So I was looking at this site : http://mailchimp.com/ , and would like to imitate the way the latest posts are shown on the homepage. I would like to create a section for drag and drop so I can put the latest posts on the homepage, say 5 like in the above example. I have tried to use Simon's example I was given from Danny, but notice it refers to Platform and I wasn't sure where I would put the section and assume it is different. I tried to use array and set 5 last posts and specify a given category I would like to show, but I was presented with 500 Server Error so assume I am doing something majorly wrong, as well as likely placing it in the wrong place. I moved it to /wp-content/plugins/pagelines-sections and it looks something like this http://screencast.com/t/raAjKM3l . My php is nothing short of tragic so I apologise for that. Thanks for your help guys!

Share this post


Link to post
Share on other sites

11 answers to this question

Posted · Report post

Thanks so much for that Simon. So where exactly does it need to go, page line plugins or in my base theme? both locations seem to results in server 500 error :/

Share this post


Link to post
Share on other sites

Posted · Report post

You can achieve the look you're going for by going to Site Options > Blog and Posts > Blog Post Layout Mode and selecting Magazine Layout Mode and then proceed from there to perform the customizations. My PHP is tragic, too, but if you find yourself overwhelmed, you can hire a pro: http://pagelines.com/pros

Share this post


Link to post
Share on other sites

Posted · Report post

Where exactly are you putting the code? Are you putting it in the functions.php file?

Share this post


Link to post
Share on other sites

Posted · Report post

its a section, plugins/pagelines-sections/some-random-folder/section.php

Share this post


Link to post
Share on other sites

Posted · Report post

I can get the post 'excerpts' on the homepage that way can I? I have tried to do what you have mentioned but fail to see any settings in that section for adding say 5 post excerpts to the homepage. I have ticked the single post pages to include post excerpts but not really sure what that has changed. thanks

Share this post


Link to post
Share on other sites

Posted · Report post

Your php is lacking functions, post it to http://paste.pagelines.com and i will take a quick look.

Share this post


Link to post
Share on other sites

Posted · Report post

You see the Simon??s response is better that mine ;)

Share this post


Link to post
Share on other sites

Posted · Report post

@batman No worries :)

Share this post


Link to post
Share on other sites