Category Archives: wordpress

How to display posts in the wordpress front page

I searched on internet for different solution, then I found one pleasant for my website. First of all I modified the style.css file to define a nice list in HTML. #MyList {     margin-bottom: 20px; } the I added the following PHP code in front-page.php: <center><h2><font color=#051A23>RECENT POSTS … </font></h2> <br> <ul id=”MyList”> <?php query_posts(‘showposts=3’);… Read More