
Remove WordPress version from JS and CSS files
I recently faced an issue while working on SEO of my blog. I figured that version numbers appended to js and css files is one […]
I recently faced an issue while working on SEO of my blog. I figured that version numbers appended to js and css files is one […]
In order to use WordPress methods directly to pull posts or any other data, “wp-load.php” file from the active WordPress installation is required to be […]
Here is pretty straight forward mysql query to get WordPress post categories. I’ve excluded the default Uncategorized category.
1 2 3 4 |
SELECT wt.*, wtt.taxonomy FROM wp_terms wt inner join wp_term_relationships wtr on wtr.term_taxonomy_id = wt.term_id inner join wp_term_taxonomy wtt on wtt.term_taxonomy_id = wtr.term_taxonomy_id where wt.term_id <> 1 and wtr.object_id = 1 |
“wt.term_id 1″ to exclude Uncategorized Category […]
Recently i got a chance to create a custom widget to display WordPress posts in hierarchical way, first By Year, then by Months and at […]
Copyright © 2019