<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Add authors to a dropdown list in CMS Development</title>
    <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046468#M40783</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/832699"&gt;@RAnderson91&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, this is exactly what I meant!&lt;/P&gt;</description>
    <pubDate>Thu, 26 Sep 2024 15:57:20 GMT</pubDate>
    <dc:creator>Teun</dc:creator>
    <dc:date>2024-09-26T15:57:20Z</dc:date>
    <item>
      <title>Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046299#M40774</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm relatively new to HubSpot development. I'm creating a custom module that would allow users to add a curated list of authors to a page, working almost like a team members page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've found a piece of code that adds all the authors to a page (see below), however I want the user to be able to add authors via a repeater and customise the order they are in.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{{ blog_authors("default", 250) }}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;{% set my_authors = blog_authors("default", 250) %}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;ul&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{% for author in my_authors %}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;li&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt; &lt;SPAN&gt;href&lt;/SPAN&gt;&lt;SPAN&gt;=&lt;/SPAN&gt;&lt;SPAN&gt;"{{ blog_author_url(group.id, author.slug) }}"&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN&gt;{{ author }}&lt;/SPAN&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;li&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;{% endfor %}&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN&gt;ul&lt;/SPAN&gt;&lt;SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I also found this article (&lt;A href="https://community.hubspot.com/t5/CMS-Development/Multiple-authors-for-blog/m-p/701150#M30700" target="_blank"&gt;https://community.hubspot.com/t5/CMS-Development/Multiple-authors-for-blog/m-p/701150#M30700&lt;/A&gt;) that allows users to add a second author to a blog post, but I couldn't figure out how to adapt it to work in a custom module.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I realize we could use something like HubDB to create this, but the idea would be that you could click a link and it would take you to the authors page and see all the posts they have created.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Any help is greatly appreciated.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 26 Sep 2024 10:22:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046299#M40774</guid>
      <dc:creator>RAnderson91</dc:creator>
      <dc:date>2024-09-26T10:22:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046359#M40777</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Welcome to HubSpot development! It sounds like you have a great idea for a custom module to curate a list of authors. To achieve this, you can use HubSpot's custom modules with repeaters to allow users to add and order authors as needed. Here’s a step-by-step guide to help you implement this:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Create a Custom Module:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Go to the Design Manager and create a new custom module.&lt;/LI&gt;&lt;LI&gt;Add a repeater field to the module. This will allow users to add multiple authors and customize their order.&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Add Fields to the Repeater:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Within the repeater, add fields for the author’s name and any other relevant information. You can use a HubL variable to store the author’s data.&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;Fetch and Display Authors:&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Use HubL and the repeater to fetch and display the authors on your page. Here’s a sample code snippet to get you started:&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;html&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;{% set authors = module.authors %} &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;ul&amp;gt; {% for author in authors %} &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;li&amp;gt; &lt;SPAN class=""&gt;&amp;lt;&lt;SPAN class=""&gt;a &lt;SPAN class=""&gt;href=&lt;SPAN class=""&gt;"{{ author.author_url }}"&amp;gt;{{ author.author_name }}&lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;a&amp;gt; &lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;li&amp;gt; {% endfor %} &lt;SPAN class=""&gt;&amp;lt;/&lt;SPAN class=""&gt;ul&amp;gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;In the Design Manager, your repeater field would look something like this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;json&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;Copy code&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;SPAN class=""&gt;{ &lt;SPAN class=""&gt;"label"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"Authors"&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"name"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"authors"&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"type"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"module_field_group"&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"children"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;[ &lt;SPAN class=""&gt;{ &lt;SPAN class=""&gt;"label"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"Author Name"&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"name"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"author_name"&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"type"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"text" &lt;SPAN class=""&gt;}&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;{ &lt;SPAN class=""&gt;"label"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"Author URL"&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"name"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"author_url"&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"type"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;"url" &lt;SPAN class=""&gt;} &lt;SPAN class=""&gt;]&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;"repeatable"&lt;SPAN class=""&gt;: &lt;SPAN class=""&gt;&lt;SPAN class=""&gt;true &lt;SPAN class=""&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;OL&gt;&lt;LI&gt;&lt;STRONG&gt;&lt;STRONG&gt;Link to the Author’s Page:&lt;/STRONG&gt;&lt;/STRONG&gt;&lt;UL&gt;&lt;LI&gt;Ensure each author’s URL points to their dedicated author page, where you can list all their posts.&lt;P&gt;For example, on my site &lt;A href="https://bermudaunicorn.com/" target="_blank" rel="noopener"&gt;NFT&amp;nbsp;I used a similar approach to manage and display a curated list of authors. Each author has a dedicated page, and users can easily navigate to see all posts created by a specific author.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;By setting up your custom module this way, users will be able to add, order, and link to authors dynamically. If you need more advanced features, you might also consider using HubDB, but for many cases, a repeater field in a custom module should suffice.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Thu, 26 Sep 2024 12:36:29 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046359#M40777</guid>
      <dc:creator>sshah218</dc:creator>
      <dc:date>2024-09-26T12:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046421#M40780</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/832699"&gt;@RAnderson91&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;One way you can achieve this, is creating a repeater field in your module where you allow the user to store the slug of the authors they want to display.&lt;BR /&gt;In your code, you can then filter out all the authors you want to display based on the values you have stored in the repeater field:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set my_authors = blog_authors(group.id, 250) %}

&amp;lt;ul&amp;gt;
{% for author_to_display in module.authors_to_display %}
  {% set author = my_authors|selectattr('slug', 'eq', author_to_display.slug) %}
  {% if author %}
    &amp;lt;li&amp;gt;&amp;lt;a href="{{blog_author_url(group.id, author.slug)}}"&amp;gt;{{author}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
  {% endif %}
{% endfor %}
&amp;lt;/ul&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;The code above assumes that you create a repeater field inside your module call 'authors_to_display' with a single-line text field called 'slug'.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 14:46:35 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046421#M40780</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2024-09-26T14:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046436#M40782</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response, here are some screenshots of how I have set it up, is this correct?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="authors-1.jpg" style="width: 999px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/127911i3A343C52E8D3BDB9/image-size/large?v=v2&amp;amp;px=999" role="button" title="authors-1.jpg" alt="authors-1.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="authors-2.jpg" style="width: 507px;"&gt;&lt;img src="https://community.hubspot.com/t5/image/serverpage/image-id/127912i9C448A948ED71025/image-size/large?v=v2&amp;amp;px=999" role="button" title="authors-2.jpg" alt="authors-2.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 15:13:59 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046436#M40782</guid>
      <dc:creator>RAnderson91</dc:creator>
      <dc:date>2024-09-26T15:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046468#M40783</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/832699"&gt;@RAnderson91&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, this is exactly what I meant!&lt;/P&gt;</description>
      <pubDate>Thu, 26 Sep 2024 15:57:20 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046468#M40783</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2024-09-26T15:57:20Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046850#M40788</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for confirming, am I correct in assuming that this could be adapted to include grabbing things like the author image, bio, etc?&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 08:24:38 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046850#M40788</guid>
      <dc:creator>RAnderson91</dc:creator>
      <dc:date>2024-09-27T08:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046851#M40789</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/832699"&gt;@RAnderson91&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;That should already be available in the author variable:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set my_authors = blog_authors(group.id, 250) %}

&amp;lt;ul&amp;gt;
{% for author_to_display in module.authors_to_display %}
  {% set author = my_authors|selectattr('slug', 'eq', author_to_display.slug) %}
  {% if author %}
    {% set image = author.avatar %}
    {% set name = author.display_name %}
    &amp;lt;li&amp;gt;&amp;lt;a href="{{blog_author_url(group.id, author.slug)}}"&amp;gt;{{author}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
  {% endif %}
{% endfor %}
&amp;lt;/ul&amp;gt;&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 08:28:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1046851#M40789</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2024-09-27T08:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1047018#M40793</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/101258"&gt;@Teun&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the updated code, though I've noticed that the name is outputting the name of the widget and not the author, along with not being able to output the avatar. I also noticed that the author url is merely the link to the current page.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;{% set my_authors = blog_authors(group.id, 250) %}&lt;/P&gt;&lt;P&gt;&amp;lt;ul&amp;gt;&lt;BR /&gt;{% for author_to_display in module.authors_to_display %}&lt;BR /&gt;{% set author = my_authors|selectattr('slug', 'eq', author_to_display.slug) %}&lt;BR /&gt;{% if author %}&lt;BR /&gt;{% set image = author.avatar %}&lt;BR /&gt;{% set name = author.display_name %}&lt;BR /&gt;&amp;lt;li&amp;gt;&lt;BR /&gt;&amp;lt;a href="{{blog_author_url(group.id, author.slug)}}"&amp;gt;{{author}}&amp;lt;/a&amp;gt;&lt;BR /&gt;&amp;lt;img src="{{ image }}" /&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;{{ name }}&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;/li&amp;gt;&lt;BR /&gt;{% endif %}&lt;BR /&gt;{% endfor %}&lt;BR /&gt;&amp;lt;/ul&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can see the result here&amp;nbsp;&lt;A href="https://45411996.hs-sites.com/team" target="_blank" rel="nofollow noopener noreferrer"&gt;https://45411996.hs-sites.com/team&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 13:42:02 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1047018#M40793</guid>
      <dc:creator>RAnderson91</dc:creator>
      <dc:date>2024-09-27T13:42:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add authors to a dropdown list</title>
      <link>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1047169#M40797</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.hubspot.com/t5/user/viewprofilepage/user-id/832699"&gt;@RAnderson91&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Are you displaying this on a website page? If so, the code needs to be a bit different. Can you try the following?&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;{% set my_authors = blog_authors('default', 250) %}

&amp;lt;ul&amp;gt;
{% for author_to_display in module.authors_to_display %}
  {% set author = my_authors|selectattr('slug', 'eq', author_to_display.slug) %}
  {% if author %}
    {% set image = author.avatar %}
    {% set author_name = author.display_name %}
    &amp;lt;li&amp;gt;&amp;lt;a href="{{blog_author_url('default', author.slug)}}"&amp;gt;{{author_name}}&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;
  {% endif %}
{% endfor %}
&amp;lt;/ul&amp;gt;&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 27 Sep 2024 17:50:07 GMT</pubDate>
      <guid>https://community.hubspot.com/t5/CMS-Development/Add-authors-to-a-dropdown-list/m-p/1047169#M40797</guid>
      <dc:creator>Teun</dc:creator>
      <dc:date>2024-09-27T17:50:07Z</dc:date>
    </item>
  </channel>
</rss>

