Quantcast
Channel: Display list of most used tags in the last 30 days - WordPress Development Stack Exchange
Browsing all 6 articles
Browse latest View live

Answer by Parsa for Display list of most used tags in the last 30 days

It worked, But I think performance isn't good.global $wpdb;$limit = 10;$sql = "SELECT ID FROM $wpdb->posts WHERE $wpdb->posts.post_type = 'digi_posts' AND $wpdb->posts.post_status = 'publish'...

View Article



Answer by maza23 for Display list of most used tags in the last 30 days

I think the get_tags->count does not really count the tags in a range. I have implemented this solution, please let me know if this works for you:global $wpdb;$term_ids = $wpdb->get_col(" SELECT...

View Article

Answer by Travis Pflanz for Display list of most used tags in the last 30 days

The problem was that the SQL query code was getting the term_taxonomy_id, not the actual tag ID.I added an additional INNER JOIN using the term_taxonomy table to get the term_id. This seems to work,...

View Article

Answer by onetrickpony for Display list of most used tags in the last 30 days

This query should help you get you the term IDs used by posts from the last 30 days:SELECT DISTINCT term_taxonomy_id FROM $wpdb->term_relationships INNER JOIN $wpdb->posts ON $wpdb->posts.ID =...

View Article

Answer by Rajeev Vyas for Display list of most used tags in the last 30 days

You can limit tags using "number" parameter... $tags = get_tags( array('orderby' => 'count', 'order' => 'DESC','number'=>28) );For reference to get_tags function read...

View Article


Image may be NSFW.
Clik here to view.

Display list of most used tags in the last 30 days

I am looking for a way to display the most used tags over the last 30 days. I am no coder, but I have come up with this mashup to display a list of the most used 28 tags (preference to fit my theme). I...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images