Can’t create child themes. “Stylesheet is not readable.”

The template name needs to match exactly the directory name of the parent theme, and you need a functions.php file in the child theme folder. IE: /* Theme Name: Twenty Fifteen Child Template: twentyfifteen */ …or just use this plugin: https://wordpress.org/plugins/child-theme-configurator/ and look at the child theme it creates to learn how to do it.

Related Posts: Changing Function For Posts Per Page

I have gone through your code and found that the function longform_the_related_posts displays 8 related posts. This function is defined in functions.php of parent theme and called in single.php. Thus, to override the function, follow below steps – 1. Create another function that displays 4 related posts in functions.php of child theme. (As you have … Read more

Different themes on one site

You probably are over complicating things for yourself. You can use the template_include filter for that add_filter( ‘template_include’, ‘wpse_206394_template’, 99 ); function wpse_206394_template( $template ) { if ( template should be blabla ) { $new_template = locate_template( array( str_replace(‘.php’,’-blabla.php’,$template) ) ); if ( ” != $new_template ) { return $new_template ; } } return $template; … Read more

I want to edit it on my laptop as a child theme and transfer the files to my server. I don’t know how

You’ve got a few hefty questions there so I’ll point you in the right direction. Run wordpress locally. You need MAMP (for mac) or WAMP (for windows). It’ll work just like your live site but the files will be on your computer. More info: https://codex.wordpress.org/Installing_WordPress_Locally_on_Your_Mac_With_MAMP Make a child theme for your site. This will allow … Read more

using wp enqueue style to create a CSS file specifically for a page template

If “/styledtwentyfifteen” is your child directory then that’s included by get_stylesheet_directory_uri() (of which bloginfo(‘stylesheet_directory’) is an alias) so you should leave it out on registering: function register_more_stylesheets() { wp_register_style( ‘stylesheet_name’, get_stylesheet_directory_uri() . ‘/background-slider-template.css’ ); } Similarly with is_page_template() you only need the file name (relative to the template directory), and if you register a style … Read more