Snippet: Custom Listing Post Type Slug

This snippet lets you change the default listing post type slug which is by default ‘listing’.

Read here to find out about how to add code snippets to your site.

After this snippet has been added it would be required to re-save your permalink settings from WP-Admin > Settings > Permalinks. This is necessary in order to get the required htaccess file rewritten and to finally make the new redirections work.

Was this article helpful? Yes · No