Support » Fixing WordPress » How do I enable extra Screen Options for a new template?

  • We have a template in our WordPress theme and when editing a page associated with that theme, we have numerous Screen Options, I think they are custom post types, see screen shot:

    http://awesomescreenshot.com/00d47jxy0e

    I have duplicated the template, renamed it, and uploaded it to improve its layout. But when I edit any Page using this new template file, the Screen Options are reduced. It’s like the Screen Options are associated by template name. But I cannot find a link in the code – could it be in the database somewhere? Here is the Screen Options when some are missing:

    http://awesomescreenshot.com/0e747jz1a8

    Hope someone can help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi wilsonf1,

    You haven’t provided quite enough information about your site to be able to know for sure what’s going on, but I’ll take a educated guess.

    Are you running the Advanced Custom Fields plugin? If so, you’re able to add field groups to specific page templates, so renaming the template would get the exact behaviour you’re seeing.

    If this is the case, you can modify the logic under the Custom Fields menu in the Dashboard.

    Hope this leads you in the right direction

    The fact that you have “Products” under screen options on the working template file leads me to believe you’re using an ecommerce or shopping cart plugin…..is this correct?

    Many of those types of plugins are coded to work with a specific template in order to display products and product-options, so the plugin is likely not recognizing YOUR custom template.

    If this is the case, you should post your question in the support forum for the plugin, they should be able to help you customize a template to work with the plugin.

    Thread Starter wilsonf1

    (@wilsonf1)

    Shawn! 10/10 mate for guessing that one. I found the Custom Fields link down the left and bam it’s all sorted!

    Here’s a little screen shot to show what I had to do. Simply a new rule.

    http://awesomescreenshot.com/04447yxq0b

    Thanks again!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How do I enable extra Screen Options for a new template?’ is closed to new replies.