Dynamic content ignoring the <!--more--> tag?

Hi!

I have a custom field with some text on a CPT. I also have a looper that is supposed to display only a part of that text. If this was a Gutenberg post, then the Read More element would do its job. Dynamic content doesn’t show text beyond its position.

However this is a standard text editor and the <!--more--> tag is supposed to do the same thing. Still, it gets ignored and the content of the entire field is displayed.

Could you make this work?

Thanks!

Hey @Misho,

I’m sorry but I’m not sure how to replicate the issue you described. Would you mind providing more context or details and show some screenshots and URL of the page having the issue?

Thanks.

Hi, Sure. Here are more details:

If we place the Read More element in Gutenberg after the first paragraph for example, then everything before the Read More element (i.e. the first paragraph) will be treated as the Excerpt, or the summary. So when we drop this into the looper: {{dc:post:excerpt}}, we see that first paragraph even if the real “Excerpt” field is not filled out.

The same should be when we use the plain text editor. It has the <!--more--> tag, which is supposed to do the same. It should mark up the spot, up to which the content is considered to be the Excerpt.

However, if we do that, {{dc:post:excerpt}} will return this:

image

So it isn’t working the way it should.

Is there any chance that you could make it working?

Thanks!

Hi @Misho,

Can you please provide login credentials for your site along with the page URL where you have set up this structure? Please add the following details in the secure note.

– WordPress Site URL & Login URL
– WordPress Admin username/password

To create a secure note, click the key icon underneath any of your posts.

Thanks

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