Title: farazch's Replies | WordPress.org

---

# farazch

  [  ](https://wordpress.org/support/users/farazch/)

 *   [Profile](https://wordpress.org/support/users/farazch/)
 *   [Topics Started](https://wordpress.org/support/users/farazch/topics/)
 *   [Replies Created](https://wordpress.org/support/users/farazch/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/farazch/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/farazch/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/farazch/engagements/)
 *   [Favorites](https://wordpress.org/support/users/farazch/favorites/)

 Search replies:

## Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to enable comments on all posts for all users](https://wordpress.org/support/topic/how-to-enable-comments-on-all-posts-for-all-users/)
 *  Thread Starter [farazch](https://wordpress.org/support/users/farazch/)
 * (@farazch)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/how-to-enable-comments-on-all-posts-for-all-users/#post-1577735)
 * I looked again and found one thing,actually comments on category pages work ok
   i.e it shows comments form even if there r no comments already.
    Problem which
   i mentioned above,i m facing that on my custom pages.Actually i have added a 
   custom page and showed a category in that page like
 *     ```
       $paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
       $args= array(
       	'category_name' => 'My category name',
       	'paged' => $paged
       );
       ```
   
 * and then used
 * `www.mysite.com/?p=$post_id#comments`
 * to show the comment link.When user click on this comment link,it shows the msg
 * “Sorry, no posts matched your criteria.”
 * But when i login with admin,the same page shows comment form.How can i show comment
   form for all users.What i feel is,the way i m doing,there are few global variables
   which r not set properly bt i dont knw the list of those globals and to what 
   value shd i set these globals.
    Here is the link of the site,search with location“
   Planes Dr Indianapolis” and then click on “Review” link on the result locations.
   If for some reason above link doesn’t work,use direct link to comment page
 * [http://www.veztekusa.com/booty/?p=149#comments](http://www.veztekusa.com/booty/?p=149#comments)
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to enable comments on all posts for all users](https://wordpress.org/support/topic/how-to-enable-comments-on-all-posts-for-all-users/)
 *  Thread Starter [farazch](https://wordpress.org/support/users/farazch/)
 * (@farazch)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/how-to-enable-comments-on-all-posts-for-all-users/#post-1577690)
 * where else i have to on this ? i think admin – settings – discussion is the only
   place where we have this comment settings
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [how to enable comments on all posts for all users](https://wordpress.org/support/topic/how-to-enable-comments-on-all-posts-for-all-users/)
 *  Thread Starter [farazch](https://wordpress.org/support/users/farazch/)
 * (@farazch)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/how-to-enable-comments-on-all-posts-for-all-users/#post-1577688)
 * yup,it is allowed here also
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [blank page showing on using method get_post](https://wordpress.org/support/topic/blank-page-showing-on-using-method-get_post/)
 *  Thread Starter [farazch](https://wordpress.org/support/users/farazch/)
 * (@farazch)
 * [16 years ago](https://wordpress.org/support/topic/blank-page-showing-on-using-method-get_post/#post-1539004)
 * When i comment these two lines
 *     ```
       <?php
   
       $post_id_7 = get_post(15);
       $title = $post_id_7->post_title;
   
       ?>
       ```
   
 * then it does print ‘THIS IS A TEST’ as output,so i feel something wrong with 
   these two lines,maybe some global variables r missing.Wat else could b it ?
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [blank page showing on using method get_post](https://wordpress.org/support/topic/blank-page-showing-on-using-method-get_post/)
 *  Thread Starter [farazch](https://wordpress.org/support/users/farazch/)
 * (@farazch)
 * [16 years ago](https://wordpress.org/support/topic/blank-page-showing-on-using-method-get_post/#post-1538867)
 * can u plz tell me why code is not getting executed ? when i disable this code
   and put any echo statement,it does print tht statement,so control is coming to
   this page but for some reason it is not extracting the given post details.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [New Category not showing on blog page](https://wordpress.org/support/topic/new-category-not-showing-on-blog-page/)
 *  [farazch](https://wordpress.org/support/users/farazch/)
 * (@farazch)
 * [16 years ago](https://wordpress.org/support/topic/new-category-not-showing-on-blog-page/#post-1497836)
 * How can i show those categories which doesn’t have any post in it ? I want to
   show all categories which i added from admin side without considering whether
   they have post in it or not.

Viewing 6 replies - 1 through 6 (of 6 total)