Customize a WP_Posts_List_Table class

Whenever you find apply_filters() or do_action in the core files, you’ll have an entry point. If not, jQuery is never enough. And case it’s not enough, some heavy trickery is always available.

WordPress: Getting “Newer Posts” and “Older Posts” links on a Specialized Page Template

You can achieve this using WP_Query as shown in the following code. To know more information on this visit this page. <?php $paged = ( get_query_var( ‘paged’ ) ) ? get_query_var( ‘paged’ ) : 1; $the_query = new WP_Query( ‘posts_per_page=5&paged=’ . $paged ); if ( $the_query->have_posts() ) : // the loop while ( $the_query->have_posts() ) … Read more

Get images uploaded to this post in popup on editor screen

The post object is already available when you are editing a post. if you need it just call global $post; There is also a handy little core function that does this for you, get_attached_media() // Get the images uploaded to the post $images = get_attached_media( ‘image’ );

Removed and Reinstalled WordPress, Redirect Broken now

change this line in your index.php on root from require(‘./wordpress/wp-blog-header.php’); to require(‘./wdps/wp-blog-header.php’); then make an .htaccess file on root like this: # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /wdps/ RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /wdps/index.php [L] </IfModule> # END WordPress

remove_filter excerpt_more from a plugin class

The priority value has to match on remove_filter. I am guessing that it does not. Try: remove_filter( ‘excerpt_more’, ‘twentyten_auto_excerpt_more’ ); Or find add_filter( ‘excerpt_more’, ‘twentyten_auto_excerpt_more’ and check the priority, then make it match.

WordPress get number of categories

This is untested, but I think it should work. Multiple categories will result in the category__in query var containing an array of the queried categories- if( isset( $wp_query->query_vars[‘category__in’] ) && count( $wp_query->query_vars[‘category__in’] ) > 1 ){ echo ‘multiple categories queried’; }

Menu administration, how to allow special charachters

What kind of special characters do you need to put? I never used this field in WordPress, so I’m not sure of what I am saying, but maybe it works like in HTML, which needs you to use entity codes for letters like à, é, è, etc. Here’s a link to a list of entity … Read more