Modify “Recent Comments” List in WP-Admin
There doesn’t seem to be a hook/filter available to control comments displayed in the widget. You might have to create new dashboard widget for this as new plugin or as part of themes function.php
There doesn’t seem to be a hook/filter available to control comments displayed in the widget. You might have to create new dashboard widget for this as new plugin or as part of themes function.php
Theme Options should use the edit_theme_options permission, not the manage_options permission. The former is the permission intended for editing Theme options; the latter is the permission intended for editing site options.
I’m not sure if this is what you’re looking for but it has worked for me in the past: http://wordpress.org/extend/plugins/wordpress-access-control/ You may have to modify it to allow members to check the box but it’s a start.
If the slug exsit WordPress will add a number to the end. For example if you had two post named “test” you would get “test” and “test-1” Hope that helps
You could make use of add_query_arg() and remove_query_arg() here. For example http://yourdomain.com/?country=india&institute=pune-university would show results of Pune University in India. You could add s=symbiosis to search in the filtered results too. Basically this url would help you out -> http://codex.wordpress.org/Function_Reference/add_query_arg
You can achieve that in many ways , but providing that you use a relatively new wordpress, you should use the_post_thumbnail(). you define it in functions.php , like so : add_theme_support( ‘post-thumbnails’ ); //thumnails set_post_thumbnail_size( 150,230, true ); // defaultpost thumbnails add_image_size( ‘your-custom-name-2’, 400, 9999 ); // some size thumbnail add_image_size( ‘your-custom-name-2’, 400, 300,false ); … Read more
I just wanted to post the solution here instead of deleting just in case this ever helps anyone else. The problem was this 1 small function I had tucked away in a setting file… /** * change number of posts shown per page in admin area */ function admin_pagination(){ global $wp_query; $per_page = 5; $wp_query->query(‘showposts=”. … Read more
this is the problem, starting at line 46: $args = array( ‘post_type’ => ‘post’ ); $post_query = new WP_Query($args); if($post_query->have_posts() ) { while($post_query->have_posts() ) { $post_query->the_post(); //stuff endwhile; endif; you’re not using the original query for the page, which contains just posts from the current category, and you’re replacing it with a new query that’s … Read more
As it turned out I learned something quite useful and should have stopped back to post the answer here. After quite a lot of searching I found 2 articles: http://www.teknocat.org/blog/web-dev…-scaling-quirk which linked to: http://www.defusion.org.uk/archives/…iphone-safari/ To summarize: there’s a size-limit for background images/graphics that will be properly rendered by iphones/pads. Widths and heights can vary but … Read more
Code Available here which is written by chrisguitarguy