Jump to content


Photo
- - - - -
Resolved

Overide Site Options in child theme?

child theme

  • Please log in to reply
3 replies to this topic

#1 benmaru

benmaru

    Newbie

  • Members

  • 8 posts
  • LocationHouston, Texas
  • Framework Version:DMS
  • Country: Country Flag

Posted 01 October 2012 - 08:53 PM

I see config file for Site Options

Please Login or Register to see this Hidden Content


Is there a way to overide or add more fields to Site Options from child theme (by NOT touch Pagelines core file)?

Thanks

#2 Evan Mattson

Evan Mattson

    Super Member

  • Members

  • 206 posts
  • LocationAnn Arbor, MI
  • Framework Version:latest stable & beta releases
  • Country: Country Flag

Posted 02 October 2012 - 01:21 AM

Yes, there are filters which allow you to add in your own option tabs, or modify others. That level of customization is probably outside of the scope of this forum though :)

Unfortunately, at the time there really aren't good (read: any) developer docs for the option api. The best thing you can do is just start digging into the code and figuring it out!

#3 benmaru

benmaru

    Newbie

  • Members

  • 8 posts
  • LocationHouston, Texas
  • Framework Version:DMS
  • Country: Country Flag

Posted 02 October 2012 - 07:05 AM

Thanks

Please Login or Register to see this Hidden Content



I just dig into code and figure myself :)

Here some example for who might need. Put it in child theme functions.php

Please Login or Register to see this Hidden Content



#4 Danny

Danny

    Is Awesome!

  • Moderators
  • 15084 posts
  • LocationManchester, UK
  • Country: Country Flag

Posted 02 October 2012 - 10:39 AM

The topic was marked as resolved.





Also tagged with one or more of these keywords: Resolved, child theme