PHP Web Solutions

Hi, I have created this blog for sharing the technical & professional knowledge with needy professionals. I am writing blogs in php, wordpress, joomla, drupal, javascript, jquery, and mysql. I am php web developer and I always try to share latest contents with you.

Friday, 9 January 2015

How to Display Comments on Home Page of a WordPress Site

 I have just put $withcomments = "1"; before comments_template() function.
<?php  
$withcomments = "1"; 
comments_template(); 
 ?>
Posted by Gufran Hasan at 04:12
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest

No comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments (Atom)

My Profile

My photo
Gufran Hasan
View my complete profile

Blog Archive

  • ►  2019 (2)
    • ►  May (1)
    • ►  March (1)
  • ►  2016 (4)
    • ►  March (1)
    • ►  February (2)
    • ►  January (1)
  • ▼  2015 (8)
    • ►  October (1)
    • ►  May (1)
    • ►  February (1)
    • ▼  January (5)
      • Tutorial on install, setup and getting started in ...
      • How to Display Comments on Home Page of a WordPre...
      • How to Get Different Themes on Different WordPress...
      • How to import .sql file in mysql database using php
      • How to display Posts in lightbox with pagination I...
  • ►  2014 (15)
    • ►  December (15)
Picture Window theme. Powered by Blogger.