Suppose I have this HTML →

 <div class="author-category">
          <li><a href="">CATEGORY 1</a></li>
          <li><a href="">CATEGORY 2</a></li>
          <li><a href="">CATEGORY 3</a></li>
          <li><a href="">CATEGORY 4</a></li>
          <li><a href="">CATEGORY 5</a></li>

Now I want to run a loop so that I can fetch categories, but the constraint is that the categories should be fetched only for the author of that Post.

Read more here: Publish Categories for a particular Author


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: