WordPress Category Based Image with Custom URL

Assign custom images and URLs to WordPress categories. Display category images automatically or with a shortcode using an easy-to-manage category image plugin.
2 min read

Assign an image and custom URL to each WordPress category, and display the category image automatically or using a shortcode. This plugin helps you set images for each category individually and display them wherever needed.

The category image to appear after the middle paragraph instead of before the content

Example

If your post has 6 paragraphs:

Paragraph 1
Paragraph 2
Paragraph 3
[ CATEGORY IMAGE ]
Paragraph 4
Paragraph 5
Paragraph 6

For 5 paragraphs:

Paragraph 1
Paragraph 2
Paragraph 3
[ CATEGORY IMAGE ]
Paragraph 4
Paragraph 5
  • Category image
  • Manually entered custom Category URL
  • Image click opens URL in a new tab
  • target="_blank" + rel="noopener noreferrer"
  • Automatic category image before post content is also clickable
  • [category_image]
  • [category_image link="yes"]
  • https://xorbeo.com/category/plugin/
  • Falls back to the normal WordPress category URL if custom URL is empty

Install

1. Go to Categories

  • Login to WordPress Admin
  • Go to Posts → Categories

2. Add/Edit Category

  • Click Add New Category, or click Edit on an existing category.

3. Add Category Image

  • Find Category Image
  • Click Select Image
  • Select an image from the Media Library
  • Click Use This Image

4. Add Custom URL

  • Find Category URL
  • Enter your custom URL.

Example:

https://example.com/my-custom-page/
5. Save Category
  • For a new category → click Add New Category
  • For an existing category → click Update

6. Add Image Using Shortcode

In your post/page, add:

[category_image]
7. Use Large Image
[category_image size="large"]
8. Make Image Clickable

To make the image open your custom Category URL in a new tab, use:

[category_image size="large" link="yes"]
9. Automatic Display

You do not need to add the shortcode if you want the image automatically before the post content.

The plugin automatically uses:

[category_image size="large" link="yes"]

Plugin