Tagged Questions
0
votes
0answers
14 views
Display recent commented post above new submitted post
I have a list of all posts that are commented on a particular day. If someone comments a post, I want it to put that one above the other posts, even if they are submitted on a more recent date...
How ...
-3
votes
0answers
13 views
Facebook comments box on all posts [closed]
Can someone please help, i want to integrate my site with facebook comments box below my posts like on this site "http://www.wholesalinghouses101.com/". what plugin they are using, i have tried many ...
0
votes
3answers
46 views
Show comment number per author per day
Is this possible? I've never seen it used, but I need it... I want to show for each author (if they are logged in) on their own profile page, the amount of comments they have posted today. If the day ...
0
votes
2answers
41 views
How to output comments number of a post per day?
I have a question about the comment numbers in a post... For now, I can output the total number of a comment inside a post outside the loop. That's cool enough, but I want to get show the comment ...
2
votes
1answer
30 views
Can't show comments count per post outside loop
How can I show the amount of a comment per post outside the loop? I tried this in a function already:
' . get_comments_number . ' , but that outputted the text "array" on the screen... What do I have ...
0
votes
1answer
19 views
If post exists, make it a comment in existing post with same name?
Is it possible to make a comment out of a post that already exists (with the same name). For example, if the post 'Hello World' exists and a users posts another 'Hello World' post, it should make the ...
0
votes
1answer
45 views
Enable comments for post when comments meta box removed
I've hit the issue described in '11:
"Enable comments for post with comments meta box removed" and I'd like to ask for your help to adapt the mentioned there code to the current wordpress version.
I ...
0
votes
0answers
44 views
Display all posts a registered user comment on
I found this plugin/code which shows recent comments of a particular user in WordPress.
How can i display a list of all posts a registered user comment on?
I need to display posts titles rather than ...
0
votes
1answer
49 views
wp_query select if have comments
I previously asked and accepted a similar question here:
wp_query and comment_parent - select only posts with top level comments
So I'm trying to use wp_query to select only posts that have comments. ...
0
votes
2answers
98 views
One comment per user email per post
i have this code to limit the comments per user.
<!-- #only one comment -->
<?php global $current_user,$post;
$args = array('user_id' => $current_user->ID,'post_id' => ...
0
votes
1answer
59 views
How to allow logged in users to post anonymously
I've been searching and searching for a while now to see if there's a way to allow people who are logged into my BuddyPress site to make a post on the activity section as "anonymous" or as their ...
1
vote
1answer
41 views
Including new Javascript only after a comment is made
I am looking to call a new javascript function only after a new comment has been made by a user. Specifically, I want to include new javascript on the resulting page of the page reload after ...
0
votes
1answer
41 views
Customizing Comments on Posts
I have implemented custom code for generating comments on post page using callback function in functions.php.
function MYTHEME_comment($comment, $args, $depth) {
$GLOBALS['comment'] = $comment; ...
0
votes
1answer
63 views
Display the first post's comments of category in comments.php template
I want the display the comments from first post of the category only.
Example;
Category
- Post 1 (2 comments)
- Post 2 (1 comments)
- Post 3 (5 comments)
If I am reading the Post 2 or Post 3, I ...
0
votes
0answers
87 views
Buddypress notification on post comment reply
I have one question. Is it possible to make when, someone reply to comment, the author of parent comment to recieve notification in buddypress. For example, if I reply to user comment in notifications ...
0
votes
2answers
105 views
How to update wp_posts with just the returned comment count from wp_comments (SQL GROUP BY)
I am doing a special migration from someone's custom CMS to a WP installation. I successfully got the posts and comments migrated into their respective tables. Now I need to get the comment count ...
0
votes
1answer
53 views
2 tick boxes appearing below comments
In my site I have two tick boxes appearing above each other underneath the comments section.
I have tried disabling pingbacks etc.
How do I remove these?
example - ...
5
votes
1answer
67 views
Allow variable amount of comments before pagination
There is an option in the admin settings allowing you to define how many comments should be listed before creating a new page for the next ones. I would like to have the same number of comments for ...
2
votes
1answer
120 views
Hide comments awaiting moderation from user who submitted the comments
This is a strange one. I host a website that is primarily for children. All posts are moderated. Users are required to enter a user name and location (State), but are not required to be registered ...
1
vote
2answers
39 views
how to find user ids of all commenters in a post
Is there a function in wordpress that grabs all the users(user ids) who have commented on a post? I have the post id available.
1
vote
0answers
55 views
Display posts with comments closed, with pagination?
i'm using a custom query, which needs to display all posts with closed comments.
I have this
<?php $the_query = new WP_Query('showposts=-1'); ?>
<?php while ($the_query -> have_posts()) ...
0
votes
4answers
113 views
Custom setup of wordpress comments that are displayed
I have setup in admin to have 5 comments per post display, which is what I want, and newest at the top.
But the problem is when a 6th comment is made it is the only one displayed and you can read ...
1
vote
2answers
69 views
Posts vs. Pages
Okay so I've spent the last few weeks (on my spare time outside of work) creating a site for a client with a custom built theme. This is my first use of wordpress and the site can be seen here at ...
1
vote
1answer
107 views
Display comments of users on single page
I don't know if i can explain this..
I want to create a Page where the comments of specific user is listed. like this format...
User Name
Post Tilte
- comment
- comment
...
0
votes
1answer
93 views
How to detect for a fragment identifier in a URL? [closed]
For those who don't know, an example of a fragment identifier commonly used in a WordPress context is a link to a particular comment - wordpress/?p=34#comment-11.
The theme I am developing hides ...
1
vote
1answer
30 views
Email entire post contents
We're a small newspaper with our archives put into a localhost WordPress web server in-house. I'm looking for some sort of plugin that might allow the reporters to, say, click a button that would ...
0
votes
1answer
71 views
How to display a certain template element only for posts published within certain time range?
I recently migrated a blog from sub.domain.com to blogs.domain.com/sub/. Because I'm using Facebook comments, all the posts published before April 25 need to reference sub.domain.com/blog-entry-title ...
1
vote
2answers
185 views
How can I allow editors to leave comments on posts that have not yet been published?
On my NFL football blog all users are allowed to make blog posts. New registrants are given contributor status. When users make a post it is reviewed by an editor, then the editor schedules the post ...
7
votes
2answers
453 views
How to make comments work for a post loaded per Ajax?
I am currently loading a single post using ajax. While the post loading works ok, I cannot get the comments to load. Here is my code:
My javascript to load the post:
<script>
...
1
vote
1answer
409 views
Query get post,how to add comment box
Hello I have a query that gets a post with id=x and it works but it leaves out the comment box.
Is there a way to add "get comment box" to the query?
<?php
$post_id = 104;
$queried_post = ...
0
votes
1answer
123 views
How to get post id of last approved comment?
Can you help me with something simple?
How can I get the post id of the last approved comment? I want to assign it to a variable.
Thanks so much in advance!
1
vote
1answer
326 views
Comments are assigned to wrong or related post
This issue is driving me nuts since weeks :(( Please help me.
The comments are assigned to related posts and are visible on other posts also.
For ex.
The page redirects to post "Sports" when I post ...
0
votes
2answers
50 views
Admin moderates ALL comments (including post author)
I have comments enabled on my custom post type page, which works well but I need the admin to moderate all comments before they are published.
At the moment the post author whose level is ...
1
vote
0answers
71 views
How to return an array of posts with the comments template intact for each post [closed]
Has anyone run across a way to build a page of posts that includes the comments and discussion form(s) for each post inline with the list?
I tried this a few ways today and found it quite difficult.
...
0
votes
1answer
714 views
How to display comments and comment form on custom post type?
Is it possible in wordpress to display comments and comment form on custom post type, and how to do that?
Thanks in advance.
1
vote
2answers
1k views
Comments not showing in custom post type - Wordpress
I've created a custom post type, and i want to display and allow comments.
I have this in function.php :
// Add Custom Post Types
add_action( 'init', 'thm_post_types' );
// Add Custom Post ...
2
votes
2answers
543 views
modify all posts of a category to “no comments allowed”
I'm looking for a way to modify all posts of a certain category to be "no comments allowed" without going into each post settings, one by one, and modifying manually.
Perhaps a MySQL statement?
...
1
vote
1answer
116 views
WordPress Comment posting problem
I am getting trouble with WordPress comment posting.
As per my WP setting there is no approval needed to display the comments under blog after posting.
Most of the comments posted display immediately. ...
0
votes
2answers
388 views
Why is WordPress redirecting users to random posts after commenting?
After commenting on one of my posts, WordPress redirects me to another random post. Only after, when checking the previous post, I can see that my comment was posted. Still, why is WordPress sending ...
0
votes
2answers
1k views
How to implement a WordPress comments function?
I have loop, wich create news feed, it looks like:
(part of news template)
News.php
<div id="content">
<div class="scrollArea">
<?php ...
0
votes
1answer
37 views
What do comments with […] mean?
I get a bunch of comments that simply repeat the title with '[...]'.
ie:
[...] Some cool post title [...]
Is this spam or is wordpress doing something wrong? I have the akismet plugin enabled.
0
votes
1answer
294 views
Crossposting from WP to Blogger with comments
I know that there is a way to crosspost from WP to Blogger but I am curious if there is a way to essentially mirror WP blog on Blogger completely, in other words crosspost both posts and comments?
0
votes
2answers
249 views
Permalink structure and dedicated comment pages
I want to edit my permalink structure so that individual post URLs are structured like this...blog.com/p1, blog.com/p2, blog.com/p523, etc
I also want to edit my permalink structure so that comment ...
0
votes
1answer
108 views
What do these phpMyAdmin errors mean on my WordPress databaes?
I'm getting 3 very similar phpMyAdmin errors on one of my WordPress databases.
More than one INDEX key was created for column `comment_approved`
More than one FULLTEXT key was created for column ...