
CUSTOM POST TYPE AND PERMALINK
Since WordPress 3.0 we can make make make use of of of Custom Post Types as well as we can conclude your own sorts of calm – it’s some-more similar to pages than posts! Thereby we can make make make use of of of automatically a Permalink make up of your WordPress installation. That means, if we emanate a code brand new post type, we can make make make use of of of Permalinks.
But a Permalinks usually work if we reconstruct a Rewrite Rules of WordPress – that’s given most users primarily have problems with it. If we emanate a code brand new post sort we substantially get a 404 if we open this page given WordPress doesn’t know a URL-structure in your Permalinks given we didn’t emanate a Rewrite Rules again.
The easiest approach is to protected a Permalink make up in your settings again. Alternatively we can embody in your Plugin or Theme a duty flush_rewrite_rules(). This enables to emanate a Rewrite Rules again.
Related posts:
- First Impressions of Custom Post Type
- Custom Fields in your Feed
- WordPress 3.0 Custom Background Support
- Sort Posts With The Help Of Custom Fields
- Create Your Own WordPress Login Design
Thanks for subscribing a feed! Sponsor a WP Engineer Blog as well as get your code in front of multiform hundred users per day!
© WP Engineer Team, All rights indifferent (Digital Fingerprint: WPEngineer-be0254ce2b4972feb4b9cb72034a092d)
View post:
Custom Post Type as well as Permalink




.gif)
.gif)
.gif)
