Modern Web Development

Welcome to

A blog, focused on Laravel, WordPress, Webdesign and LAMP server administration.


Increase Upload Size

To increase the PHP / Apache file upload size, you may use one of the following snippets

#1 Theme or Plugin

@ini_set( 'upload_max_size' , '64M' );
@ini_set( 'post_max_size', '64M');
@ini_set( 'max_execution_time', '300' );

#2 php.ini

memory_limit = 100M
upload_max_filesize =...

Custom Header Image

To configure a custom header image using the Genesis Framework, you can use this snippet:

add_theme_support( 'genesis-custom-header', array( 
  'width' => 960, 
  'height' => 100 
) );

You may also use the WordPress built-in custom-header, that allows to configure some more things: