Documentation talk:UBC Content Management System/Shortcodes/link with content
|Thread title||Replies||Last modified|
|Replacement for [the_excerpt] ?||3||16:07, 17 September 2015|
Thanks for building this workaround. Can you tell me if nesting [the_excerpt] within the loop will result in the same issues as the other template tags?
If so, is there a workaround for that? I have a custom layout that displays the content of the excerpt field.
[the_excerpt] will work as long as you're not using it within html attributes.
Here's the code I'm working with:
[loop query="posts_per_page=1&category_name=top-story"] <article class="latest-story">[image_with_src img_size="large"] <h4>[link_with_content]</h4> [the_excerpt] </article> [/loop]
Will those 'article' tags cause problems?