i can not find what’s wrong here, the site works but accessing the dashboard or tablepress brings up the parse error.
thank you for any help
jorge
that is in my child functions.php:
<?php
add_action( ‘wp_enqueue_scripts’, ‘my_theme_enqueue_styles’ );
function my_theme_enqueue_styles() {
wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ );
}
/* show only posts from category id 7 i.e. leistungssport on homepage */
function mts_include_category_homepage($query ) {
if ( $query->is_home() && $query->is_main_query() ) {
$query->set( ‘cat’, ‘7’ );
}
}
add_action( ‘pre_get_posts’, ‘mts_include_category_homepage’ );
?>
Website: discgolfviva.ch/sdgv2017