Category post doesn't show the Caption

Plz check this URL https://tarekrabaa.com/topics/issues/

It starts with a summary different than the original post itself. Instead of the URL i put on start image it takes only the text on the UR of the post https://tarekrabaa.com/issues/البرقية-المنقولة-303/.

plz i need your support

rgds

Meanwhile I change the Excerpt Length to 2 until solving this problem of caption

I removed the caption and all the customization i have done.

The caption is causing problems.

Hi there,

Thanks for writing in.

What captions you’re currently referring? Is it HTML based? Yes, it will look different as Wordpress will generate an excerpt from it where some content is different as they can’t be included.

Thanks!

yes. HTML based.
I put a photo in the beginning of the post with caption.
[caption id="attachment_855" align="alignright" width="150"]<a href="https://tarekrabaa.com/من-أنا/" target="_blank" rel="noopener"><img src="https://tarekrabaa.com/wp-content/uploads/2018/04/tarekrabaa1.jpg" alt="طــارق الربعــة" width="150" height="84" class="wp-image-855 size-full" /></a> <a href="https://youtu.be/tRcMAwK8K1Q" style="color: #ffd700;">طــارق الربعــة</a>[/caption]

Hi there,

I see, I think that’s normal as Wordpress strip out contents related to HTML and shortcodes to generate some plain text. Which is sometimes it display different content in the excerpt depending in the order of the added content.

Thanks!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.