Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Wordpress: Looking for a free way to implement "Latest Posts" on homepage. (Blog on different page)
New Posts  All Forums:Forum Nav:

Wordpress: Looking for a free way to implement "Latest Posts" on homepage. (Blog on different page)

post #1 of 3
Thread Starter 
Hi there,

I'm building a site for a client and I'm having a bit of trouble figuring out how to implement a "Latest Posts/News" section on the homepage.

The homepage is mostly static, that is, the page isn't in the "Pages" menu in the WP admin panel. I've coded the index page manually and I've made a different page for the blog as the client requested. All the blog posts will be on the blog page which is not the homepage. smile.gif

However, the client also wants a section in the middle of the landing page where only the latest 4 posts will be featured. This wouldn't be a big problem if the client didn't want different styles for said sections. That is, the Blog page has a standard style as you would see on most wordpress sites, posts will be in order from most recent to oldest and there will be a sidebar. But on the homepage section with the latest 4 posts, the client requested that the design will have 4 big photos (featured images) with a small part of the post and a ""Read More" button under the posts. These are meant to show up as 2x2 grid.

I've been looking around for an easy way to do this, but none of the plugins/widgets I've stumbled on seem to be what I'm looking for. Can someone point me to a good plugin/widget that I can do this with, and of course that I could customize to the design given to me by the client. So essentially, I'm looking for a customizable latest posts plugin/widget or a tutorial on how to code this from scratch.

All help will be appreciated! Thanks smile.gif
ZA_PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6750 @ 3.4Ghz GA-P35 DS3L PNY 8800GT 512MB 2 x 2GB GSkill @ 1020Mhz 
Hard DriveOSMonitorKeyboard
2.04TB (2 caviars) W7/Ubuntu 2 x 22" Envision MadCatz STRIKE 3 
PowerCaseMouseAudio
650W CM Real Power Antec 900 Razer Copperhead Fatal1ty Headset 
  hide details  
Reply
ZA_PC
(13 items)
 
  
CPUMotherboardGraphicsRAM
E6750 @ 3.4Ghz GA-P35 DS3L PNY 8800GT 512MB 2 x 2GB GSkill @ 1020Mhz 
Hard DriveOSMonitorKeyboard
2.04TB (2 caviars) W7/Ubuntu 2 x 22" Envision MadCatz STRIKE 3 
PowerCaseMouseAudio
650W CM Real Power Antec 900 Razer Copperhead Fatal1ty Headset 
  hide details  
Reply
post #2 of 3
Couldn't you get the posts from an RSS feed and then display them as you like?
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
Core I7
(13 items)
 
  
CPUMotherboardGraphicsRAM
I7 920 rev. D0 @ 4.26Ghz EVGA X58 SLI EVGA GTX 285 OCZ XMP 3x2Gb (pc3 12800) 
Hard DriveOptical DriveOSMonitor
Western Digital Caviar Black 640Gb x 2 LG GH22LS30 openSuse 12.1 x64 HP F2105 
PowerCase
CORSAIR 850TX Cooler Master ATCS 840 
  hide details  
Reply
post #3 of 3
I just saw your post and I am about to leave for work, but you can code the posts wherever you would like it to showup on your index.php page. Have a look at this page for reference and maybe it will get you started:

http://codex.wordpress.org/Function_Reference/wp_get_recent_posts

When I get off work today I will be able to respond better if you still need help.

P.S. with the read more you can look at this page and it gives pretty good instructions on how to add a read more link:

http://codex.wordpress.org/Function_Reference/the_excerpt

I hope this helps.
Main Rig
(13 items)
 
BOINC
(15 items)
 
E5-26XX V2 2P
(12 items)
 
CPUMotherboardGraphicsGraphics
Intel 3770K MSI Z77 MPower MSI R7970 Lightning MSI R7950 Twin Frozr 
RAMHard DriveCoolingOS
G. Skill Trident seagate Baracuda Custom Liquid windows 7 64bit 
MonitorKeyboardPowerCase
ASUS VE248 Microsoft Wireless Corsair HX1000 Cosmos S 
Mouse
Microsoft Wireless 
CPUMotherboardGraphicsGraphics
Q9550 2.83Ghz @ 4.0Ghz 1.328v Gigabyte EP45T-DS3R Ati Radeon hd 6970 Sapphire HD 7970 
RAMHard DriveOptical DriveCooling
Corsair XMS3 seagate Baracuda LG Blu-Ray RW rosewill air cooler 
OSMonitorKeyboardPower
Windows Pro 64-Bit none Micosoft Wireless OCZ 1000w 
CaseMouse
Antec 900 Microsoft Wireless 
CPUCPUMotherboardGraphics
Xeon E5-26XX V2 2.3-2.7Ghz 10core/20 thread Xeon E5-26XX V2 2.3-2.7Ghz 10core/20 thread SuperMicro x9DAi EVGA GTX 580 
RAMRAMHard DriveCooling
G.SKILL Ripjaws X Series 8GB (4 x 2GB) 240-Pin ... G.SKILL Ripjaws X Series 8GB (4 x 2GB) 240-Pin ... Patriot 16gb Flash drive Hyper 212+ evo 
CoolingOSPowerCase
Hyper 212+ evo Ubuntu 12.04 OCZ Z series 1000w gold Fractal design define xl 
  hide details  
Reply
Main Rig
(13 items)
 
BOINC
(15 items)
 
E5-26XX V2 2P
(12 items)
 
CPUMotherboardGraphicsGraphics
Intel 3770K MSI Z77 MPower MSI R7970 Lightning MSI R7950 Twin Frozr 
RAMHard DriveCoolingOS
G. Skill Trident seagate Baracuda Custom Liquid windows 7 64bit 
MonitorKeyboardPowerCase
ASUS VE248 Microsoft Wireless Corsair HX1000 Cosmos S 
Mouse
Microsoft Wireless 
CPUMotherboardGraphicsGraphics
Q9550 2.83Ghz @ 4.0Ghz 1.328v Gigabyte EP45T-DS3R Ati Radeon hd 6970 Sapphire HD 7970 
RAMHard DriveOptical DriveCooling
Corsair XMS3 seagate Baracuda LG Blu-Ray RW rosewill air cooler 
OSMonitorKeyboardPower
Windows Pro 64-Bit none Micosoft Wireless OCZ 1000w 
CaseMouse
Antec 900 Microsoft Wireless 
CPUCPUMotherboardGraphics
Xeon E5-26XX V2 2.3-2.7Ghz 10core/20 thread Xeon E5-26XX V2 2.3-2.7Ghz 10core/20 thread SuperMicro x9DAi EVGA GTX 580 
RAMRAMHard DriveCooling
G.SKILL Ripjaws X Series 8GB (4 x 2GB) 240-Pin ... G.SKILL Ripjaws X Series 8GB (4 x 2GB) 240-Pin ... Patriot 16gb Flash drive Hyper 212+ evo 
CoolingOSPowerCase
Hyper 212+ evo Ubuntu 12.04 OCZ Z series 1000w gold Fractal design define xl 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Web Coding
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Web Coding › Wordpress: Looking for a free way to implement "Latest Posts" on homepage. (Blog on different page)