
How to load WordPress posts using WP_Query
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 […]
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 […]
There is very simple way to pull instagram feeds from any account using “file_get_contents” method of PHP. Here is the demo of the script in […]
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 […]
One simple way to read multiple lists within same web is to enumerate all lists and read data if your required list is found while […]
In the following code sample you can see how you can easily merge PDF files into one. It creates a new document and then adds […]
In the following code sample you can see how you can easily merge PDF files into one. It creates a new document and then adds […]
Copyright © 2021 | WordPress Theme by MH Themes