I have recently start modifying and editing my own themes, and as a result I am trying to attach a Stylesheet and Script onto a Themes Option page, of which farbtastic is used. However if I just attach it to all the admin pages, the farbtastic breaks the widgets page.
So I am trying to attach the specific Theme Options stylesheet and script pages to the Theme Options Page only.
I have seen a snippet of code in the codex that shows how do so something similar, but it uses $page and when i try to reproduce it, it breaks.
Above is the code that I have, any ideas how to edit it to prevent it attaching to all admin pages,and only to the Theme_Options page that is created?
- The topic ‘Attach a Stylesheet on a Theme Options Page Only’ is closed to new replies.