Results 1 to 3 of 3
Like Tree1Likes
  • 1 Post By sitebuddy2

Thread: Make small changes to function.php through a child theme.

  1. #1
    sitebuddy2's Avatar
    Join Date
    Aug 2014
    Location
    United States
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Make small changes to function.php through a child theme.

    I want to change the number of images a user can upload. I know that I can do through through modifying the functions.php file.

    I have copied the folder /examples/vantage-child to /themes/vantage-child
    In that folder there are two files: archive-listing.php , functions.php , style.css

    I have added the following line to functions.php and that is the only line in the file.

    define( 'VA_MAX_IMAGES', 10 );


    However the change isn't being reflected by the site.

    What am I missing?

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,873 Times in 1,770 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    sitebuddy2's Avatar
    Join Date
    Aug 2014
    Location
    United States
    Posts
    34
    Thanks
    0
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    dimitris likes this.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: November 26th, 2014, 03:43 PM
  2. Child theme override function problem
    By ncirotto in forum ClassiPress General Discussion
    Replies: 3
    Last Post: April 27th, 2014, 09:58 AM
  3. Dimitris Child theme cannot override function in template-tags.php
    By vitako in forum Help Using Vantage (Legacy)
    Replies: 1
    Last Post: April 14th, 2014, 02:18 PM
  4. Child theme cannot override function in template-tags.php
    By vitako in forum Vantage General Discussion (Legacy)
    Replies: 0
    Last Post: April 13th, 2014, 10:50 AM
  5. How to change app_register_form function in a child theme?
    By cyjambo in forum ClassiPress General Discussion
    Replies: 0
    Last Post: February 3rd, 2013, 07:02 AM