0

I have created some custom taxonomies in the function.php. Once a user selects a taxonomy the site displays a list with all full articles related to the custom taxonomy.

How can I display only the Title of the articles once a user selects a custom taxonomy?

1 Answer 1

0

In the Wordpress Loop all you have to do is show the title only

https://developer.wordpress.org/themes/basics/the-loop/

<?php the_title(); ?>
1
  • Thanks, I thought of something like this. There is not something like: if($taxonomy){ loop through posts }. How do I know when a user has selected a taxonomy (and expects a list with the related content)?
    – Foo
    Aug 31, 2017 at 19:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.