Home Forums Ascend Theme Child Theme for functions.php

This topic is: resolved
Posted in: Ascend Theme  
  • June 1, 2017 at 6:55 am #147424

    Good afternoon,

    I’ve created a child theme for functions.php and added the following code which we often use to limit uploads:

    //Add your custom functions here.

    add_filter( 'upload_size_limit', 'wpse_163236_change_upload_size' );
    function wpse_163236_change_upload_size()
    return 1000 * 1024;

    The path to functions.php is:


    For some reason it has no effect and I’m wondering if there is something I’ve not done as I have only created child themes with Virtue.

    Thank you,

    Sorry, this forum is for Premium customers only. Please Login to continue

    If you are using a free theme you can access support on wordpress.org by searching for the free theme and using the support tab.