In general a function that hooks into the found_posts filter looks like this: add_filter( ‘found_posts’, […]
Tag: posts
Exclude the first ‘n’ number of posts of a tag from home page?
Use case (example): Using a separate, custom query my website’s home page shows 5 featured […]
Display WordPress posts of only one category
I am trying to display WordPress posts of only one category called news on my […]
Change Order of Admin Posts Depending on Meta
In my Admin Panel I have a custom post type of posts – with page […]
How to display related posts by subcategory and not parent category
I’m trying to find a way to display related posts that are in a subcategory […]
how to replace embedded “full” sized images within a post with the “large” ones
There are hundreds of posts having “full” size images already published within post content. Blog […]
how to show single post in a custom template
hi i used the below code to list out the posts in a particular category. […]
Get how many days since last post of the current user
How do I get how long since current user’s last published post? For example: It […]
How to add a new tab to page editor
Anyone knows how to achieve this? It has something to do with meta boxes, but […]
post_name empty after wp_insert_post
I’m writing an external tool that inserts post in wordpress (I’m using the wordpress functions). […]
No More Posts Available.
No more pages to load.