Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Child Theme for functions.php

Home / Forums / Ascend Theme / Child Theme for functions.php

This topic is: Resolved
[Resolved]
Posted in: Ascend Theme
June 1, 2017 at 6:55 am

Good afternoon,

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

<?php
//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:

wp-content/themes/ascend_premium_child/functions.php

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,
Peter

  • The forum ‘Ascend Theme’ is closed to new topics and replies.