Suppose I have this HTML →

 <div class="author-category">
      <ul>
          <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>
      </ul>
 </div>

I tried this code, but this is code is not able to pull any categories →

  • <a target=_blank rel="nofollow" href="ID ); ?>" title="name ?>">name ?>

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 on a given Post


Solution:

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: