[wp-trac] [WordPress Trac] #45159: Embed template not loaded with certain custom post types
WordPress Trac
noreply at wordpress.org
Wed Oct 24 10:00:33 UTC 2018
#45159: Embed template not loaded with certain custom post types
----------------------------+-----------------------------
Reporter: pampfelimetten | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Embeds | Version: 4.9.8
Severity: normal | Keywords:
Focuses: |
----------------------------+-----------------------------
We use a handfull of different custom post types. The internal embeding
works fine for most, showing the iframe with the abstract, page logo, etc.
But with some it doesn't work, it only shows the post title.
The only major difference I found, is, that the falling cpt has the
special rewrite setting with_front set to false.
I traced it back, the problem is, that it isn't even calling the embed.php
template in the theme directory, it is failing before.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45159>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list