So, I’ve got a custom post type created through ACF called “Series.” I created a layout for those “Series” post types, which you can see in action here.
On this layout, as you can see, there is a header, including the title of the series and the author of the series (as chosen on the “Series” post type), I can select this using the dynamic content of {{dc:author:display_name}}
. This works as expected.
Underneath, I have a section that contains a row with a looper provider (Dynamic Content => {{dc:acf:post_field field="posts"}}
), which loops through an ACF repeater field called “posts”, in which I’ve selected all posts that I want to be a part of this series. This provider is consumed by a column.
Inside of this column, I’ve got another div with a looper provider (Dynamic Content => {{dc:looper:field key="post"}}
) that loops through the actual details of the post objects themselves. This provider is set to consume itself.
Inside of this “post” item, I was wanting to create a condition on my author headline element as follows “String: {{dc:author:display_name}}
is not {{dc:author :display_name}}
.” I want the first DC to be referring to the series author and the second to refer to the post author.
My idea is that if the author of the series is not the same as the author of the post, to hide the author name, because it is redundant.
Does that make sense?