farazch
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: how to enable comments on all posts for all usersI 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#commentsto 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 pageForum: Fixing WordPress
In reply to: how to enable comments on all posts for all userswhere else i have to on this ? i think admin – settings – discussion is the only place where we have this comment settings
Forum: Fixing WordPress
In reply to: how to enable comments on all posts for all usersyup,it is allowed here also
Forum: Fixing WordPress
In reply to: blank page showing on using method get_postWhen 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
In reply to: blank page showing on using method get_postcan 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
In reply to: New Category not showing on blog pageHow 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.