Support » Plugin: A-Z Listing » Show taxonomy, but link to post

  • I have been trying to figure this out for a few hours now: each post on my blog has it’s own category (person’s name) — is it possible to output each category, but link directly to the post, rather than the category?

    I think like:
    [a-z-listing display=”terms” taxonomy=”category” post-type=”post” hide-empty-terms=”true”]

Viewing 1 replies (of 1 total)
  • Plugin Author Dani Llewellyn

    (@diddledan)

    Hi,

    At the moment the best way to achieve this is to copy the template from the plugin at wp-content/plugins/a-z-listing/templates/a-z-listing.php into your theme or child theme at wp-content/themes/<your-theme>/a-z-listing.php and customise line 57 to output the correct link instead of $a_z_query->the_permalink().

    I’m unsure the exact PHP you need to add, however.

Viewing 1 replies (of 1 total)
  • The topic ‘Show taxonomy, but link to post’ is closed to new replies.