I posted a short how to add extra fields to categories and once you have that done you can link the attachment using the attachment URL or the ID of the attachment.
Related Posts:
- get_post_meta not working on category.php
- How to link images of one WP site to another WP site?
- remove links from images using functions.php
- Woocommerce get category image full size
- Disable image attachment links
- How to add classes to images based on their categories?
- Category links suddenly started giving 404 errors
- How can I get a different image size, if all I have is the link?
- How to add a rel attribute to images that contains their categories?
- Attachment page per category
- How to run WP_Query to retrieve attachments to posts only from a particular category?
- Any way to assign Post Categories and Tags to Links?
- Display the featured image from the last post
- Is it possible to select and edit the way the most recent post from a certain category is displayed on the page?
- Set the default category of an attachment
- How to enable category hierarchy for links?
- Add Image Size for one Media Category Only
- Extract image url associated to a category
- Retrieve Image from Media Library by it’s category
- Show category images on single product page and product overview page
- Combining post categories and link categories?
- Displaying a full post instead of a slug per category?
- Class active for Archive link – looped out
- Why do my categories redirect?
- Remove product category placeholder image (Woocomerce)
- Get category url in loop
- Change thumbnail image depending product category
- Get attachments for posts that belongs to a specific category
- category image taxonomy
- How to limit number of attachments
- Older entries link within category page
- Style category link depending on category ID
- Random Featured Image Based on Category
- Get paged category link programmatically
- Category images are not displaying in WordPress
- Link To Child Category For A Post
- How do you use the featured image of the most recent post in a category as the background image
- Need to echo category id in multi-dimensional array
- How to not display a category post on blog page?
- Change categories count to include media attachments
- Link from navbar to categories
- Category view with contents of [gallery]s shown
- javascripts files not linking to my category slugs?
- wp_insert_link not working
- How to add image for all posts associated to specified category?
- How to display WooCommerce category image in my category page banner as a background?
- How to list posts from a sub-category that is listed in a parent category (more details below)?
- How to make product image inherit from category image
- How to display categories image in loop homepage WordPress
- Change background image page header overlay for each category
- Image Upload Custom Form Field for Category and Custom Taxonomy
- Show Subcategory Name Instead of Parent Category
- Link For Portfolio Categories
- Icon images across multiple categories
- Multiple if statements with else for get_the_category [closed]
- How get all media from a posts category by db?
- Media Categories as Classes on WordPress Gallery Shortcode
- How to relocate images
- In a shared site, how to get products in a category from one site to another?
- How to get the link of all categories
- Display one post on category.php: Wrong featured image
- Surround uploaded image link with div
- Category page with gallery for each post
- Image menu showing categories in page
- Featured image for links and categories
- Categories as selectable links on submission form
- Displaying categories and subcategories without link
- Get all first images of posts in same category
- Add category image before post title on homepage
- how do i set an image for a category in admin panel
- How to get category slug link? ( include parent categories)
- How to create a photo gallery that can be filtered by the image categories
- Images as Categories
- Disable Category Link
- Getting the first parent of a hierarchical term
- Why is my sub-category template showing the wrong posts
- How the posts and categories connected each other in wp 4.1.1?
- Theme for subcategories
- Hide a category of posts from main blog, and only show in category view
- Display category title and three latest post inside the category
- ACF no print data [closed]
- How to restrict the amount of categories/post tags/terms for a post type post
- WP_Query – using category__and when one of the categories is 0
- More efficient way to list posts by category [duplicate]
- Same menu for different taxonomies to reach different content
- Multiple categories for one menu item?
- How to link a PDF file to a category URL
- Adding a block with query in homepage
- How to get category id’s which are added in main menu?
- Query posts by views on category page
- How to Sync Menu, Widgets and other masters from Main Website to its Sub Site
- How to schedule categories?
- Template for product-category page [closed]
- Using categories with pages
- Show next post in same category but start from the latest
- Tags Instead of Category
- Show category meta in loop on homepage
- How set all posts in wordpress in one category
- Add Date & Author Meta to Category Archive Page
- A dropdown with checklist