1
votes

I have a custom post type in WordPress. I would like to be able to create a link to it from the WYSIWYG editor. When creating a link, my custom post type does not appear under Add a link to content from your website.

Any thoughts?

2

2 Answers

0
votes

A custom post type will not show as a page link because you have not created a page for the CPT.

Your custom post type url would be http://website.com/?post_type

0
votes

I have the same problem. I use Polylang also, but my CPT is language-independent. If I set them to a language, then they appear in the link-search.