take `the_category()` as an example:

Here is the output of the\_category function in the wordpress loop:

```
    <ul class="post-categories">
        <li>
          <a href="http://example.com/category/another-category/" rel="category tag">
            Another Category
          </a>
       </li>
        <li>
          <a href="http://example.com/category/uncategorized/" rel="category tag">
             Uncategorized
          </a>
        </li>
   </ul>

```

so we need a way to add attributes like some other classes, data attributes and ... to the list so it outputs something like this:

```
<ul id="drop1" class="f-dropdown" data-dropdown-content aria-hidden="true" tabindex="-1">
            <li>
          <a href="http://example.com/category/another-category/" rel="category tag">
            Another Category
          </a>
       </li>
        <li>
          <a href="http://example.com/category/uncategorized/" rel="category tag">
             Uncategorized
          </a>
        </li>
</ul>

```