• Skip to header
  • Skip to content
open navigation
  • Home
  • Testimonials
  • Contact
  • Portfolio
    • Web Design
    • Logo Design
    • Web Archives
  • Web Hosting
  • About/FAQs
  • Blog
.Christina Creative Design

menu

open navigation
work with me(727) 537·6182

Add Custom Post Types and Taxonomy Terms to WordPress link selection

  • Twitter
  • LinkedIn
  • Facebook

Share

Post Navigation

Beware of Hosting owned by a parent company: Endurance International Group (EIG)

Fast and Free WordPress Database migration without losing serialized data

When you add a link in the WordPress editor, the default is posts, pages, and single posts of custom post types. If you want to link to an archive page of a custom post type, or link to a taxonomy term (a category for example), then you would need to visit that page and grab the url from the browser bar and paste in the url (that’s one way of doing it).

With this code you add to your child theme functions file or a functions plugin, the links to CPT archives and terms are included. If you want to exclude a taxonomy, as I have done by excluding the ‘tag’ and ‘media_category’, you can do that too. See the gist below. Happy whipping WordPress into shape so you don’t have write or explain things.

Copyright © 2026 · Christina Arasmo Beymer. All Rights Are Reserved. | Custom / Bespoke Clean WordPress Theme.

open navigation
work with me(727) 537·6182
Go to top