- Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236
joan w
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220Hi, I need to increase the default setting in my wordpress from 2MB to 64MB at least to upload mp3’s.
I believe i can do this by adding a code to the theme function – functions.php
“1: Theme Functions File
There are cases where we have seen that just by adding the following code in the theme function’s file, you can increase the upload size:”
the code being –
1 @ini_set( ‘upload_max_size’ , ’64M’ );
2 @ini_set( ‘post_max_size’, ’64M’);
3 @ini_set( ‘max_execution_time’, ‘300’ );I have looked, and i do not know where to copy paste this in the long listing in the functions.php. where should i place it?
I do not have access to the cpanel in the hosting company – as someone else sorts my hosting for me.
please advise me where to copy paste this code in the function.php
i need help with all these questions i have posted the last two days.
thank you, joan
AdvertismentDeprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Deprecated: Function get_magic_quotes_gpc() is deprecated in /var/html/dev/wp/wp-includes/formatting.php on line 4371Notice: Trying to get property 'comment_author_email' of non-object in /var/html/dev/wp/wp-content/plugins/fv-gravatar-cache/fv-gravatar-cache.php on line 236joan w
ParticipantWarning: Cannot modify header information - headers already sent by (output started at /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_langs.class.php:340) in /var/html/dev/wp/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php on line 220now i have stuffed up my site, adding a code and then testing it a few times and it didnt make a difference. and then deleting the code again. i was testing on default twenty twelve. and all gone. so if you happen to go to my website, you wont see anything.
could do with some help here.
joan
You must be logged in to reply to this topic.