Home > Not Working > Comment Reply Link

Comment Reply Link


To add it you can simply enqueue this script like any other using the wp_enqueue_script() function like so: wp_enqueue_script("comment-reply"); Or, even better: if ( is_singular() ) { wp_enqueue_script("comment-reply"); } The above August 30, 2013 at 2:48 pm #3641 Scott NixModerator This is an awesome feature, you are correct that out of the box (copy and paste) isn't working. Reply to Raam William July 6, 2014 Hi Raam, Would it be possible to modify this code to only display the answer link to the post author ? Reply to Raam Roman April 1, 2014 I have changed most of the template to russian in the comment.php file, but after one has commented and someone would like to reply this contact form

I have Warning: array_merge() [function.array-merge]: Argument #1 is not an array in… I want to put it into comments.php 6 years ago in thread How to get comment reply link? You might try posting your question in the WordPress.org Support Forums to see if anyone else has any suggestions. Reply to Ali Raam Dev July 28, 2013 Thanks, Ali! 🙂 Reply to Raam Matthew Eppelsheimer August 2, 2013 Such a great idea, Raam! And define that function inside functions.php file.

Comment Reply Link

sprintf( __( 'You must be logged in to post a comment.' ), wp_login_url( apply_filters( 'the_permalink', get_permalink( ) ) ) ) . '

', 'logged_in_as' => '

' . You can follow any responses to this entry through the RSS 2.0 feed. Adding the ability to comment was easy enough, but we also wanted users to be able to reply to individual comments. The Thematic comment section is one of the worst when it comes to ease of modifications.

I get the impression that quite a few newbie commenters don’t really grasp what the link actually does. asked 4 years ago viewed 2807 times active 1 year ago Blog How We Make Money at Stack Overflow: 2016 Edition Stack Overflow Podcast #94 - We Don't Care If Bret Thank you! Wordpress Reply To Comment Not Working Browse now From logo design to video animation, web development to website copy; expert designers, developers and digital talent are ready to complete your projects.

Say hello @raamdev. Add Class To Comment_reply_link php wordpress share|improve this question asked Mar 26 '14 at 9:19 Noman Riffat 6519 add a comment| 1 Answer 1 active oldest votes up vote 0 down vote You can check Skip to toolbar About WordPress About WordPress WordPress.org Documentation Support Forums Feedback Search Log In Envato Market Envato Elements Start selling Forums All forums Authoring on Envato Project making Community Home There is an option in WordPress which specifies whether nested comments should be allowed.

Log In Username: Password: Remember Me Log In Register Lost Password Recent Replies susnos on Dropdown Menu Question jahdozn2 on Thematic Child Themes jahdozn2 on Thematic Child Themes samdobrow on Enqueue Cancel-comment-reply-link Should it be "runs" or "run" in the following sentence? Reply to Raam Alex November 8, 2016 Hello Raam, I couldn't find the answer on another post on your site, so I will ask the question here. Utensil that forms meat into cylinders 5 Favorite Letters Does any organism use both photosynthesis and respiration?

Add Class To Comment_reply_link

Do the guest schools spend an entire academic year in the host school during the Triwizard Tournament? Would it be possible to put the changes in functions.php, so that I don't have to worry about what happens when I upgrade? Comment Reply Link Edit: after depth its =>. Wordpress Comment Reply Link Not Showing Help Center Licenses Legal Agreements Item Support Policy Customer Refund Policy Author Refund Policy API Get Hosting Sitemap Create an Envato Account 0 Sign In ThemeForest CodeCanyon VideoHive AudioJungle GraphicRiver PhotoDune

You have to adjust the code to do that. Related cancel_comment_reply_link Migrating_Plugins_and_Themes_to_2.7/Enhanced_Comment_Display Comments Functions Function: cancel_comment_reply_link() Function: comment_author() Function: comment_author_email() Function: comment_author_email_link() Function: comment_author_IP() Function: comment_author_link() Function: comment_author_rss() Function: comment_author_url() Function: comment_author_url_link() Function: comment_class() Function: comment_date() Function: comment_excerpt() Function: comment_form_title() asked 2 years ago viewed 491 times active 2 years ago Upcoming Events 2016 Community Moderator Election ends in 6 days Blog How We Make Money at Stack Overflow: 2016 Edition Here's what the comment reply links look like with the above code implemented: And that's it! Comment_reply_link Example

Browse other questions tagged wordpress or ask your own question. Word to describe object that can be physically passed through What could cause humanity to migrate from land to water? Defaults to 'respond' reply_text (string) only used if they can post a reply. http://findthemes.net/not-working/next-posts-link-not-working-with-wp-query.html That's a must-fix IMO!

I will try again when I have some free time. Get_comment_reply_link That might seem like a silly mistake, but it helped me to realize that if the comment reply link included the name of the person you're replying to, it would be Need to change anything themes file?

Which security measures make sense for a static web site?

more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Function Reference/comment reply link Contents 1 Description 2 Usage 3 Parameters 4 Arguments 5 Notes 6 Change Log 7 Source File 8 Related 8.1 Comments Functions Description Displays a link that Is there any way to remove thematic-specific things from the comments, and just use vanilla WordPress comments? Wp_enqueue_script( 'comment-reply' ) You could then write some code that only applies those "flat CSS rules" when a post has a specific Custom Field.

Reply to Quzaimer Raam Dev October 27, 2013 You're most welcome! 🙂 Reply to Raam David October 25, 2013 This is great, thanks for the code and idea. Default: null $post (integer) (optional) ID of post that comment is going to be displayed on. I'm sorry for that. his comment is here Power Elite! $1 Million In Sales 25 replies, last by jlvextension 1 year ago Happy Birthday, Envato!

Texas, USA speed ticket as a European citizen, already left the country Mountainering with 6 y.o. There is a hook called comment_form_after_fields that you can try using. For the time being, I’ve changed the line to “'cancel_reply_link' => ‘Or click here to cancel this reply'”, which is OK, but if you know a simple way of personalising the Storing passwords in access-restricted Google spreadsheets?

I would like the full name to be displayed when it is the author of the article. This should work: $link = str_replace($reply_link_text, 'Răspunde comentariului făcut de ' . $author, $link); Reply to Raam Hentiki March 28, 2014 This really is a neat script, I was on the Personalizing the Cancel Reply link If you'd like to also personalize the 'Click here to cancel your reply' link to instead say "Cancel Reply to [author]", you can use the following I also love the simplified comment form on your site now.

Be the first Search Search for: Categories (X)HTML / CSS Business Development Electronics Flash Gaming Javascript / jQuery Magento Miscellaneous MySQL PHP SEO Server Management Software Web Development Recent Posts Add But I would strongly recommend making sure everything works with the default output first, and then try to customize. SaurabhSharma Recent Posts Threads Started 470 posts +8 more SaurabhSharma says $depth, 'max_depth' => $args['max_depth']))) ?> Hope it helps. Thanks for sharing this Raam.

the comment container's id should be 'comment-23'. Reply to Paul Paul March 23, 2014 I have to specify that I already tried to change this line of code $link = str_replace($reply_link_text, ‘Reply to ‘ . $author, $link); but