In Progress

php code to show latest worpdress posts on page

I'm sure this is dead simple for someone who knows wordpress code well (which I don't).

I want to list the latest 10 posts on a wordpress page in date order (most recent first) and associate some code from a review script with each entry.

I almost have it working but I'm also getting the comments and leave a comment input field associated with the earliest post - neither of which I want.

Can someone help me by providing the right code? I'm probably just calling the data ion the wrong way.

I've uploaded the code I'm currently using on the wordpress page.

Thanks in advance.

Skills: PHP, WordPress

See more: review of the code, m&a associate, first code, worpdress, php code, ion, data entry associate, comment a code, code review, c code review, leave comment php script, field php, wordpress show post, list code, wordpress order field, wordpress show post page, wordpress input page, order posts, wordpress php working, comment code, simple php wordpress, calling data list, code entry, wordpress data input, php simple order

About the Employer:
( 13 reviews ) Guildford, United Kingdom

Project ID: #581656

Awarded to:


Hi, I am interested.

$30 USD in 1 day
(38 Reviews)

8 freelancers are bidding on average $31 for this job


Hello, Can help you right away. Please select me and we can start. Thanks Neeraj

$30 USD in 0 days
(36 Reviews)

Ready to start. Please check PMB for more info. Thanks

$30 USD in 1 day
(47 Reviews)

pls,check pm . WP expert here

$30 USD in 0 days
(9 Reviews)

Please check PM. Thanks,

$30 USD in 0 days
(16 Reviews)

Hello! please check my pmb. Thank you

$30 USD in 0 days
(11 Reviews)

i can do the work

$30 USD in 2 days
(0 Reviews)

Hi WP Guru is here, Check PMB for detail. Regards

$40 USD in 1 day
(0 Reviews)