Custom Post Types This is a new function added to WordPress 3.0. It is a new practical function added by WordPress to narrow the gap with other CMS programs. It is also the weakest link in previous versions of WordPress.
The so-called Custom Post Types are to create new post types and manage them in addition to WordPress normal log posts and pages to display special content.
This function is widely used in overseas CMS type Wordpress themes, and rarely seen in domestic free themes,HotNews TopicIntegrated with this function, they are: bulletin, video, photo album. The reason why there are few similar functions in domestic themes may be the lack of easy to understand Chinese tutorials. There are many English tutorials abroad, but there is a language barrier, so we can only forget about the foreign countries. When we have time, we may summarize and write a Chinese version of the tutorial for the convenience of Chinese designers.
To get to the point, since the type of custom posts is different from normal blog posts, after modifying the fixed link format, these custom post links will not change as you wish, and WordPress does not provide setting options for this by default.This problem is often raised by children's shoes, which has been studied before. It seems that the program file needs to be modified, which is troublesome and not suitable for the public. It can be easily solved by using another powerful function of WordPress - a large number of plug-ins.
After installing and enabling the plug-in, open the setting - fixed link setting page again, and find that the bottom has added“Permalink Setting for custom post type”Options, as shown in the figure below.
Take my HotNews topic as an example. There are three custom article types. Enter the same format as the normal custom link in the text box.
Here is also a reminder: articles of custom type with different themes will not be displayed after changing other themes, including the foreground and background. If you use articles of custom type as the main theme (many foreign themes are the same), you should consider it more, or your hard published log will no longer exist after changing the theme
In addition, we recommend a plug-in that can convert custom article types to common logs:Post Type Switcher
It can facilitate conversion between different types of logs.
Most of the articles on this site are original and used for personal learning records, which may be helpful to you, for reference only!
The blogger should spend your bullshit time cleaning up the CSS and JS files with bloated themes. The most basic things are poorly done, and it's not modest
This can be available. Now the custom fixed links are perfect
yorktwo Tianhe District, Guangzhou City, Guangdong ProvinceeighteenF reply
Brother Bird, can some plug-ins only be referenced like this [wp_xxxxxx]?You must create a new page.Is there any way to refer to the home page or any page?
Ask for help!
Endemic riceone Luzhou City, Sichuan ProvincenineteenF reply
Brother Bird, after using Custom Post Type Permalinks, my album classification is automatically“http://www.runningman-fan.com/gallery/runningman-gallery”Become“http://www.runningman-fan.com/.html/picture/gallery/runningman-gallery”, why is this? Picture articles under album classification are normally converted into html
Just came in through Baidu search.I use Custom Permalinks, a plug-in for changing fixed links, and Multiple Themes, a dual theme plug-in.The problem we found was that the modified pages using Custom Permalinks were displayed using the subtheme. When we logged in on this page, we opened the http page and skipped the rules of https for our entire site.Therefore, although the account is logged in, it still shows the status of not logged in. You need to manually enter or click the link in another site to see the successful login.