Single ID
Single ID
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.
Installation
This section describes how to install the plugin and get it working.
- Upload
single-id.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
- Create single pages.
Faq
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.
Reviews
Changelog
1.0
- Initial version works with single-id.php files