Make custom page look exactly as homepage

Need more info please. You can copy and rename the file something like page-template.php and add a page template header. //* Template Name: Your Page Template Name or You could rename the file home.php and pre_get_posts to control which category of posts it displays: function my_home_category( $query ) { if ( $query->is_home() && $query->is_main_query() ) … Read more

Adding Query to Custom Page Template

On some servers, errors in PHP code cause 500 errors. I can’t test your code right now, but since you said the error only happens when you use your new page template this is most likely. Yes, it’s really annoying to just have a blank page and not even have a clue of what went … Read more

Template administration Error after WP 4.8 update

This is a generic PHP question, but simple to answer. The problem is most likely caused by PHP 7. Simply change the line: $callback[0]->$callback[1](); to $callback[0]->{$callback[1]}(); This is because $callback[0]->$callback[1](); means $callback[0]->{$callback[1]}(); in PHP5, while it means ($callback[0]->$callback)[1](); in PHP7. Take a look into this page to know the details about the change.