Archives for Custom Post
How to get child pages of a page in WordPress
Sometime while working in WordPress we need to fetch all child pages of a parent page. As we know that WordPress have the concept of child and parent pages. So, here we are discussing how to to achieve this. First…
Change featured image box title for custom post types
Sometimes we need to change the title of metabox which is for our featured image section for ant particular post types. Generally we create post types to manage different types of posts in wordpress. So, in this situation we want…
how to delete uncategorized category from posts
As we all know uncategorized is a default category working for wordpress posts. As we talk about the original behavior of wordpress posts, then we know that if we are not assigning any category to our post then it will automatically…
Solution to ReferenceError: ajaxurl is not defined
Sometimes we face "ReferenceError: ajaxurl is not defined" while working with ajax in wordpress. Ajax will not work in this case and we will get this error while checking console by inspecting our browser. Simple solution to resolve this issue…
How to order wordpress post by custom field date
As we know that the sorting of wordpress default posts are according to the published date. Sometimes we create a new post type as per our requirements and those post type are called custom post types in wordpress terminology. So,…
Search custom post according to title
Sometime's we need to fetch some posts of a custom posts types according to the title. Here, we are discussing the situation where we need to fetch the posts of a custom post type which is similar to the title…