How do I get the comments section to show up?

if you look in the twentyTwelve theme. you can see how they get the comments. Look in the full-width.php file and you can see this code <?php comments_template( ”, true ); ?> this will call the code to get your comments section. Now you must make sure that your theme has the comments.php. You can … Read more

How do I use CSS or PHP to customize WordPress Form Manager Plugin Table?

many ways to do it, not best but easiest is problably javascript: <script type=”text/javascript”> jQuery(‘.fm-item-cell-country:contains(“USA”)’).addClass(‘americanflag’); </script> from that you edit your css (which I guess you’re more comfortable with), setting property for each class (.americanflag in that case) Hope that help a bit

Stop header code from showing in category page?

You can achieve that by changing the conditional to if ( !is_home() && !is_archive() ) Also consider using if and else if. So your optimized code would be: <?php if ( !is_home() && !is_archive() ) { if ( get_post_type() == ‘pretty-little-liars’ ) { echo ‘<div id=”headerimg”><img src=”http://tv-cafe.com/wp-content/uploads/2013/01/pllbanner.png”></div>’; } else if ( get_post_type() == ‘revenge’ ) … Read more

Recent comments per tagged post?

As Konstantin Kovshenin pointed out in this article, you can get the comments for a specific Category like that: <?php $show_comments = 10; $i = 0; $comments = get_comments(“number=50&status=approve”); foreach ($comments as $comment) { $comm_post_id = $comment->comment_post_ID; if (!has_term( ‘XYZ’, $comm_post_id );) continue; $i++; // Output the comment, author and whatever you need // I’ll … Read more

Passing user meta through comment form

If you look in your theme’s comments.php file, you should see a call to wp_list_comments. If that has a callback parameter– something like this array( ‘callback’ => ‘twentyeleven_comment’ )— then your theme has its own comment display function. Find that function. It is probably in function.php but no promises. If not, you need to make … Read more

Trying to put a search page on site

You form action value is wrong. It should be home_url(). WordPress will pick the search template automatically then. The search field has to use the name s: <input type=search name=s> Otherwise WordPress will not recognize the request as a search request. The error happens, because you included the functions.php somehow withut using the automatic by … Read more

disabling emails received by admins every time a new user signs up (function not working)

You need to implement your function earlier than you are. It seems that the “real” wp_new_user_notification() (from wp-includes/pluggable.php) is getting created before yours is. To test, remove the if ( ! function_exists( ‘wp_new_user_notification’ ) ) : from your code. You should be getting an error. You could create a plugin: //Plugin Name: blahblah function wp_new_user_notification() … Read more

Multiple widgets in wordpress

Try to generate your div to have a value that makes clear what kind of content it loads, for example: <div class=”social-count” role=”facebook”></div> <div class=”social-count” role=”twitter”></div> Then, via jQuery, change them by that value, for example: $(‘.social-count[role=”facebook”]’).html(count); $(‘.social-count[role=”twitter”]’).html(count);