Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

> [PHP]problem z wordpressem, pomocy pliss
dtpmac
post
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 5.09.2017

Ostrzeżenie: (0%)
-----


Witam wszystkich w wordpresie po instalacji nowego motywu mam coś takiego:

Parse error: syntax error, unexpected T_FUNCTION in /home2/domwese/public_html/wp-content/themes/weddingreval/inc/functions/wordpress-override.php on line 142


a tu linia 142 do 149

add_filter( 'body_class', function( $classes ) {
switch (get_post_type()) {
case 'post':
$extra_body_class = 'single-news-page';
break;

case 'teammember':
$extra_body_class = 'single-team-page-area';

podpowiedzcie co z tym dalej plisssss (IMG:style_emoticons/default/smile.gif)
Go to the top of the page
+Quote Post

Posty w temacie
- dtpmac   [PHP]problem z wordpressem   5.09.2017, 18:43:21
- - nospor   Jaka wersje php masz?   6.09.2017, 08:28:12


Reply to this topicStart new topic
2 Użytkowników czyta ten temat (2 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Aktualny czas: 3.10.2025 - 18:13