Reply To: Show random fullscreen slideshow slides?



That works.

However, it only works if I make that change directly to the original parent theme’s includes/featured/supersized.php.

When I tried copying over supersized.php to my child theme’s includes/featured directory, my ‘rand’ modification was ignored and it still called ‘menu_order’ in the parent includes/featured/supersized.php file.

Apparently to get a child theme override, one needs to include the following statement:

require_once( get_stylesheet_directory(). '/my_included_file.php' );

This is according to the WP codex. However, the codex doesn’t specify where to put this require_once.

Any ideas on how I can get my child includes/featured/supersized.php file to override the parent version?

Thanks in advance!