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
- How to list child categories in custom category template?
- How do i upload an image and return the image id?
- How to change _wp_attachment_metadata specific value in SQL?
- Remove Categories and Tags from Admin Dashboard
- Using widget logic I want to show only a widget on the archive page if there are no posts
- Show all posts of sub category in a page like: foo.com/category/subcategory/ using UNCODE Theme
- Replace category titles
- 403 forbidden on one page only
- Direct link to “New post” in specific category?
- Display attachment resolution size
- echo category description in single.php
- How to automatically check multiple categories on new post
- Hide specific category from wp_list_categories
- ow to display the number of posts in a category
- Display Sub-categories or Child Pages of Parent Cat/Page?
- Placing category specific banner/html at top of respective category pages
- How to remove category name for only one category?
- Can a Woocommerce product category URL contain “&”?
- Unable to create pagination for Category.php
- How to get featured image of last post in a category?
- Posts says they are uncategorized but they are not
- Categories Help and video uploads
- Display only children of custom hierachial taxonomy
- Paginations in Category Page Leads to Sample Pages
- Allow a user to ‘subscribe’ to different post categories?
- If on Category Page add “active” class?
- Show category-ID in custom category-list