How to retain comment text on comment form after login/registration?
How to retain comment text on comment form after login/registration?
How to retain comment text on comment form after login/registration?
create comment box in woo-commerce shop order [closed]
comment form args are not translatable (customized comment form)
You should return the div element as a variable, like $subscribe=”<div>…</div>”; return $subscribe; By doing echo function, the output is sometimes on top.
Assign author to comment from post edit page
First, you will need to go into the comments template file and use get_post_type() to check if the post type is reviews. Then check if the user is logged in using is_user_logged_in(). If they are not logged in display message: “You must be logged in to post a comment.” If they are logged in, display … Read more
You can do this using jQuery. First of all, you need to add your script into your functions.php function my_theme_scripts() { wp_enqueue_script( ‘my-great-script’, get_site_url() . ‘/js/my-great-script.js’, array( ‘jquery’ ), ‘1.0.0’, true ); } add_action( ‘wp_enqueue_scripts’, ‘my_theme_scripts’ ); Then, in your file (my-great-script.js), you will have to have something like this: jQuery( “.form-submit” ).click(function(event) { if( … Read more
You can use CSS, either in a separate CSS file like this: .wpd-custom-text{ color: #f44242; font-family: “Times New Roman”, Times, serif; font-size: 15px; font-weight: 900; } or inline like this: <div class=”wpd-custom-text” style=”color:#f44242; font-family: ‘Arial’, ‘Helvetica’, sans-serif; font-size: 15px; font-weight: 900;”>the comment added here is by the author and my website doesn’t have any take … Read more
Add a default WP comment form to forum template
Insert page comment form into a modal