Passing inputs from one column to the Other within a post

You can use jquery to accomplish this or javascript, without looking at your code I would hazard a guess at what is required, this might take some effort. Some things you will need to think about include how you are going to retrieve the lyrics, i.e. are you going to get the information from another … Read more

Sort by site/blog column in Multisite

I tried to solve this issue before. Taking a second look at it, we can alter the sites list using the query filter hook. Supposing our custom sort URL is http://example.com/wp-admin/network/sites.php?orderby=site_category add_action( ‘plugins_loaded’, function() { global $pagenow; if( is_super_admin() && ‘sites.php’ == $pagenow && isset( $_GET[‘orderby’] ) && ‘site_category’ == $_GET[‘orderby’] ) add_filter( ‘query’, ‘b5f_filter_site_query’ … Read more

How to customize categories panel?

First you have to find the right action to hook into. I find it by look into class-wp-posts-list-table.php the columns is in an array so you just have to find the right key and unset it by php-function unset. Here is a example that removes all of the columns: function wpse_111473_remove_category_columns( $defaults ) { unset( … Read more

WordPress make Grandparent and great grandparent filterable in custom columns

So after reading through the codex, I came across the pre_get_posts hook, and I decided to try changing the query with it, which worked for me. Not sure if it is the best way though. For anyone that is interested here is what I did: add_action(‘pre_get_posts’, ‘get_grandchildren’ ); function get_grandchildren() { if ( isset( $_GET[‘child_of’] … Read more

Loop Split two Columns

How can one split a loop via WP_Query into two columns without having to work with two loops These would be possible with if conditional. and it is possible that for example in the left side those posts of category “A and B” and in the right side those posts of category “C and D … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)