最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

plugins - Custom post type's posts are not showing anywere but in xml sitemap

programmeradmin0浏览0评论

I don't use any cache plugin. Custom post type's posts are only showing in xml sitemap but not showing in other places on the site, until I "open each new post url manually" or "use a third-party online tool to open each new post url manually" or "just open new post's source code url directly in incognito window". All these 3 things works and makes the post visible on site.

I think its easy to fix this but I didn't found any solution to this. Any idea to fix this?

Thanks

I don't use any cache plugin. Custom post type's posts are only showing in xml sitemap but not showing in other places on the site, until I "open each new post url manually" or "use a third-party online tool to open each new post url manually" or "just open new post's source code url directly in incognito window". All these 3 things works and makes the post visible on site.

I think its easy to fix this but I didn't found any solution to this. Any idea to fix this?

Thanks

Share Improve this question edited Aug 19, 2019 at 5:28 proseosoc asked Aug 18, 2019 at 16:25 proseosocproseosoc 1176 bronze badges 1
  • What's the code you used to register the post type? Where else are you expecting them to appear? – Jacob Peattie Commented Aug 19, 2019 at 7:51
Add a comment  | 

1 Answer 1

Reset to default 1

There are several tutorials like this one from WPBeginner that tell you how to create, then display a custom post type. You may need to create templates, and decide where and how they will display.

You could list them as menu items, then use that menu in a sidebar using widgets.

You could also use a plugin like Display Custom Post to list them in a more graphical way.

Good luck!

发布评论

评论列表(0)

  1. 暂无评论