Navigation überspringen

[Closed] Display Featured Image of Parent Post – Returns Unknown

This support ticket is created vor 4 years, 12 months. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Zeitzone des Unterstützers: America/Jamaica (GMT-05:00)

Dieses Thema enthält 1 reply, hat 2 Stimmen.

Zuletzt aktualisiert von Shane vor 4 years, 12 months.

Assistiert von: Shane.

Author
Artikel
#2081761

Tell us what you are trying to do?
I am trying to use a shortcode to display a featured image of an article post that is parented to a product. I am able to properly pull the parent post Title and Excerpt, but when I try to pull the image I get Unknown as a returned value. Here is the shortcodes I am using.

Title:
<h2>[wpv-post-link item="@featured-post.parent"]</h2>
[Returns:]
<h2>versteckter Link</h2>

Post Text
<p>[wpv-post-excerpt item="@featured-post.parent" length="45" count="word" more="..."]</p>
[Returns:]
<p>Best Management Practice for how to identify and effectively control yellow nutsedge (also known as nutgrass or watergrass).</p>

Post Image:
versteckter Link
[Returns:]

#2081907

Shane
Unterstützer

Sprachen: Englisch (English )

Zeitzone: America/Jamaica (GMT-05:00)

Hi April,

Thank you for getting in touch.

Can you send me a screenshot of the elements on the backend so that I can see how you've added them to the page's template ?

It would appear that the shortcode isn't rendering correctly when nested.

Thanks,
Shane

The topic ‘[Closed] Display Featured Image of Parent Post – Returns Unknown’ is closed to new replies.