How to export tag counts to excel?

Please note that this stack is more focused on development, asking for ready–made solutions like plugins isn’t considered in scope. From perspective of native functionality and power user perspective you can sort tags by count in WP admin interface. You can also tweak how many tags are displayed via Screen Options (top right of page). … Read more

Trying to insert a row from a Plugin

insert is not a static method. So you can’t call it like this: wpdb::insert(/*…*/). You’ll need to do something like: global $wpdb; $wpdb->insert(/*…*/); Or create your own instance: $db = new wpdb(‘dbuser’, ‘dbpassword’, ‘dbname’, ‘dbhost’); // change these! $db->insert(/*…*/);

Head Code for Custom Taxonomy

In this case you just need a conditional tag inside of the wp_head action. Placing the following on your functions.php will solve the problem: add_action( ‘wp_head’, ‘q166556_taxonomy_head’ ); function q166556_taxonomy_head(){ // Conditional for Taxonomy archives and posts that have any term from the taxonomy `store` if ( ! has_term( ”, ‘store’ ) && ! is_tax( … Read more

Uncaught TypeError: number is not a function [closed]

Try this: <script type=”text/javascript” charset=”utf8″> jQuery(function($){ $(‘img’).each( function() { var mySrc = $(this).attr( “src” ); $(this).wrap( ‘<a href=”‘+mySrc+'” class=”link”></a>’ ); }); }) </script>

how do i set an image for a category in admin panel

Before questioning please search for the available resources. I’ve found two available plugins: Categories Images – WP Plugins WPCustom Category Image – WP Plugins I personally used the first one, and grabbed the necessary code from the plugin to implement my own version, and it worked perfectly.

customize functionality of share buttons under each blog post [closed]

Okay so this will be your jQuery code. <script type=”text/javascript”> $(document).ready(function() { $(‘.thumbup’).on(‘click’, function(){ $(this).parents(‘.entry’).find(“.hidden-like”).toggle(); }); }); </script> But to use it, you will have to change couple of IDs in classes or you can also add classes with IDs. You can not use ID as you wish. The id attribute specifies a unique id … Read more

Show page name in browser

Your title is being set by something in your theme or a plugin attaching to the wp_title filter. You can further filter this value or override it entirely by using the same hook and a different priority that executes later. // add a filter at priority 999 so it will presumably run last add_filter( ‘wp_title’, … Read more