• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2662

Original Genesis Tutorials & 5000+ Guaranteed Code

Snippets

  • Support
  • Newsletter
  • Videos
  • Log in

Premium Member? - Request custom code

4 Ways To Add a Text Link On Single Entries Back To The Taxonomy Term Archive Its Assigned To

This tutorial provides 4 different code snippets which you can use to add :

  1. Custom text ( unlinked, before your back link )
  2. A link back to the taxonomy term archive page the single CPT entry is assigned to.

The code snippets also enable you to print ( output ) the taxonomy term name and/or link on archive pages types for CPT’s and other taxonomies including category and tag archive pages.

Here’s a look at the output for the 4 code snippets :

Link To Taxonomy Term Archive Page

In this screenshot, you can see the 4 links all with text before the link which all link back to the taxonomy term archive, as seen in the video demo. In this case, the term is named Type One however the code will dynamically add the links using your term name.

You can use any one of these 4 snippets in any Genesis hook position

Demo Video #

Shows 4 links added using 4 different methods to link single entries back to their respective taxonomy term archive pages,

Tested using the Infinity Pro and Genesis Sample child themes by StudioPress.

Installation Steps #

There’s 3 steps :

Register for full access

Custom Post Type Taxonomy Terms

Reader Interactions

Comments

  1. Lauren Keswick says

    September 24, 2019 at 7:38 am

    Got it-This works great- thank you!

    Log in to Reply

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

PHP Code

template_include

get_body_class

if else

array

class_exists

foreach

sprintf

add_action

printf

variable

Advertise · WPEngine · Genesis · Log in

  • How Premium Membership Works
  • Sign Up
  • Support
  • Subscription Details/Invoice
  • Tagged Tutorials
  • Access-Download Problems