How to show archive title instead of first post of custom post type When you create a template of your custom post type for the archive data, you might need to display archive title. But by default first post title comes up. To solve this type of problem WordPress has a function named post_type_archive_title() .… Continue reading WordPress Trips and Tricks – Part 1
Month: February 2022
How to change custom post type slug without loosing data
Sometime it happens, that at first we create custom post type, register taxonomy and insert some data for that custom post type. After moving forward, then we realise that, we need to change the slug for that custom post type. There might be some reason for this. Whatever the reason is, when we change the… Continue reading How to change custom post type slug without loosing data