Single ID

Plugin Banner

Single ID

by Gezim Basha

Download
Description

If you ever need to customize the layout of a category post, you may use the plugin to reference the category by its ID and you will be able to customize the page. This plugin will let you create single-id.php pages on the theme directory which ultimately get rendered when the specific category has been queried.

This section describes how to install the plugin and get it working.

  1. Upload single-id.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Create single pages.

Why isn’t my page showing?

Double check that your single-id.php is actually refering to a cat id. For example if your cat id is 5, then single-5.php should do the job. Also make sure the file resides on the theme’s root directory, that is alongisde its fellow single.php.

If that doesn’t help, try enabling WP_DEBUG on your wp-config.php and read the errors. If any problems show up, either post them on the support forums and I’ll do my best to help, or see what you can do to solve it.

1.0

  • Initial version works with single-id.php files
Back to top