WordPress.org

Forums

Custom Post Template
default css class (1 post)

  1. niosus
    Member
    Posted 1 year ago #

    Hey,

    The plugin is working perfectly, but I do have one feature request. Right now a css class gets added when using a custom post template, but nothing gets added when the default template is used. This makes it very hard to target ONLY the default template in css without completely changing all the classes on the page.

    Maybe add a "post-template-single-php" class on default posts? It should only take 1 extra line in the body_class function (line 85) in custom-post-templates.php .

    Thanks for this great plugin!

    http://wordpress.org/plugins/custom-post-template/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Custom Post Template
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic