Results 1 to 4 of 4

Thread: Child Theme: override the variables

  1. #1
    Thread Starter
    Senior Member einstein's Avatar
    Join Date
    Nov 2011
    Location
    Italy
    Posts
    140
    Thanks
    9
    Thanked 7 Times in 5 Posts

    Child Theme: override the variables

    I'm going to build my first Classipress Child. I understood how to override functions (hope!), but how to override variables?
    For example, I want to change the values of feed variables shown in functions.php:
    PHP Code:
    $app_rss_feed 'http://feeds2.feedburner.com/appthemes';
    $app_twitter_rss_feed 'http://twitter.com/statuses/user_timeline/appthemes.rss';
    $app_forum_rss_feed 'http://www.appthemes.com/forum/external.php?type=RSS2'
    But if I create my functions.php file inside my child theme and assign a different RSS feed value to these variables... nothing happens.
    So, which is the right way to change variables?

  2. #2
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,000
    Thanks
    115
    Thanked 107 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    The search button. Your new best friend.
    - Dubya

  3. #3
    Thread Starter
    Senior Member einstein's Avatar
    Join Date
    Nov 2011
    Location
    Italy
    Posts
    140
    Thanks
    9
    Thanked 7 Times in 5 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,000
    Thanks
    115
    Thanked 107 Times in 93 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    The search button. Your new best friend.
    - Dubya

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Child Theme question regarding Core theme Updates
    By roadking in forum Report ClassiPress Bugs
    Replies: 5
    Last Post: March 23rd, 2012, 05:29 PM
  2. Override Function in Core Theme
    By Leongelis in forum ClassiPress General Discussion
    Replies: 3
    Last Post: March 21st, 2012, 11:14 PM
  3. Creating child theme, Modifying classipress theme
    By kajaja in forum ClassiPress General Discussion
    Replies: 2
    Last Post: September 29th, 2011, 11:28 AM
  4. Artisteer/existing theme to child theme it on classipress
    By jpartner in forum ClassiPress General Discussion
    Replies: 3
    Last Post: October 30th, 2010, 12:06 PM
  5. Child Theme - logout redirection to default theme issue
    By cgervereau in forum ClassiPress General Discussion
    Replies: 3
    Last Post: September 1st, 2010, 01:48 AM