add field comment [duplicate]
If you want to do it inside your theme, use functions.php. Else make a new plugin with this code on it and install it.
If you want to do it inside your theme, use functions.php. Else make a new plugin with this code on it and install it.
I’m guessing you mean the WordPress Admin bar which shows in the header of the logged in user page? Can you get the user to login and check that they haven’t disabled this under the User > My Profile menu option Also you might like to check out this plugin which allows you to switch … Read more
I don’t know of a way to do that short of creating your own comment tracking system. Probably the easiest way to use WordPress’s functionality would be to make a “projects” custom post type and use custom fields to store product information like the id etc. This would allow commenting on each product and you … Read more
I had this same issue. I logged the request URI and discovered that the additional call was for a file that didn’t exist (that’s what I get for copying and pasting a bunch of code from one project to another). I created a file at the expected name and location, and the additional call to … Read more
Providing this will work if it’s all on the same server. This is the PHP I use at the top of non-wordpress site. define(‘WP_USE_THEMES’, false); require(‘/home/sites/example.co.uk/www/wp/wp-load.php’); Obviously you just need to put your server path to the wp-load.php file. Just write your news query and loop it should feed in the content to your non-wordpress … Read more
From codex – you should be able to use taxonomy-service-category.php template to display service-category posts.
Try removing the filter after your query, so it does not affect other queries around your page. //.. your loop… endwhile; wp_reset_query(); remove_filter( ‘posts_where’, ‘filter_where’ );
I am not seeing you registering the widget in this code. For inside of a theme: register_widget(‘WP_Widget_Mood’); For inside of a plugin: add_action( ‘widgets_init’, create_function(”, ‘return register_widget(“WP_Widget_Mood”);’) );
Looks like I was missing ‘paged’ => get_query_var(‘paged’) in the initial query.
OK, this turned out to be really simple, flexible and awesome. Your single.php: <div class=”post-body”> <?php the_content(); ?> <div class=”post-pagination”> <?php wp_link_pages(‘before=<p>&after=</p>&next_or_number=number&pagelink= %’); ?> </div> </div> Your script.js: $(document).ready(function(){ jQuery(‘.post-pagination a’ ).live(‘click’, function(e){ e.preventDefault(); var link = jQuery(this).attr(‘href’); jQuery(‘.post-body’).load(link + ‘ .post-body ‘, function(){ jQuery(‘.post-pagination p’).show(); }); return false; }); }); Your post markup: <img … Read more