How to convert my comment.html to comment.php
How to convert my comment.html to comment.php
How to convert my comment.html to comment.php
You have to setup fb application and config plugin with your app key. Here http://wordpress.org/extend/plugins/facebook-comments-for-wordpress/installation/ is info how. Here is screenshot: paste key in first input box as in picture. And just a friendly advice, use built in WordPress comments, believe me they work so much better. Fb comments – been there, done that, it … Read more
If you want to get rid of threading completely you can control it in Settings > Discussion > Other comment settings > Enable threaded (nested) comments. If you want to keep functionality and markup, but change it visually you would need to do that via CSS, which (as per comment on your question) is not … Read more
I don’t know Medium.com but sitepoint.com use WordPress so the answer to your question is quiet obvious: YES, there is a way to implement that in wordpress. You should make other types of questions. I think this the implementation used by sitepoint is here: https://github.com/sitepoint/highlight-wordpress
I believe you want is_user_logged_in if(is_singular(‘debate’) && is_user_logged_in()) { // … } (Note: is_singular is misspelled in your code.)
Yes, you have to calculate page views. Do not use plugin as it needs a small piece of code. Below code will increase pageviews and will store in post meta. Use this code in single.php or loop-common. if( is_single() ) { /* Increase post view count by 1 */ $post_view_count = get_post_meta($post_id, ‘view_count’, true); if( … Read more
Hook it in from your child themes functions file or add the template tag to a front-page.php file Untested add_action(‘loop_end’,’disqus_front_page_after_loop’); function disqus_front_page_after_loop() { if (is_front_page() && function_exists( ‘comments_template’ ) ) { comments_template(); } } Change the loop_end hook to another WordPress or theme specific hook. If using the template tag, you might want to try … Read more
Try this. You were missing the tags and the “type” attribute for the tag. The php tag at the bottom echo’s the result that was input in the textarea. Read this http://www.w3schools.com/html/html_forms.asp it should help you get started. <div class=”font-wrap”> <div class=”wrapper”> <form action=”” method=”post”> <textarea name=”comment” id=”comment” class=”talk-bubblecomment” tabindex=”4″ placeholder=”Enter comment…”></textarea> <p class=”sign-in”> Post … Read more
To hide with CSS, add this to your theme’s style.css, or the Additional CSS section of the customizer. .logged-in-as { display: none; } Or, to remove from the template completely, add this to your theme’s, or preferably a child theme’s, functions.php file: add_filter( ‘comment_form_logged_in’, ‘__return_empty_string’ );
Solved. Just for completeness I add a rule to the web.config file : <rule name=”WordPress Rule 2″ stopProcessing=”true”> <match url=”^([_0-9a-zA-Z-]+/)?(wp-comments-post.*)” ignoreCase=”false” /> <action type=”Rewrite” url=”{R:2}” /> </rule>