Add link to text within the article of a dynamic post?

Hi. Is it possible to add a link to the text within the article of a dynamic post?

Hello Paul,

Thanks for writing in!

1.) If you are using the {{dc:post:the_excerpt}} to display the dynamic post, any links inserted in the post content will be strip off because the excerpt will only display plain text.

And if you are using the {{dc:post:the_content}} to display the dynamic post content, then any links or html codes inserted through the WP Editor will be displayed.

2.) If you want to display a read more next to the excerpt, you may use something like this in a Text element:

{{dc:post:excerpt fallback="No excerpt"}} 
<a href="{{dc:post:permalink}}">For more read here </a>

Hope this helps.

Hi @ruenel. That info is helpful. I’m using Advanced Custom Fields Text Area to generate the text content… and the link. {{dc:acf:post_field field =“success_post_content”}}.

should I be adding something different?

Hello Paul,

If you are using the ACF Text Area, it might not display the links especially if the ACF return value only allows plain text.

Please provide us access to your site so we can investigate your ACF field and your element settings in the builder. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
- Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

Best Regards.

Thank you @ruenel. A secure note has been added.

Hello Paul,

The link were strip off because your column itself is already a link. Change it to a DIV HTML tag instead.

Be advised that the HTML <a> tag cannot be nested. That means that if the entire column is a link, any link added to a Text, Headline or Button element will be strip off.

Best Regards.

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