Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [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
nospor
post
Post #2





Grupa: Moderatorzy
Postów: 36 557
Pomógł: 6315
Dołączył: 27.12.2004




Jaka wersje php masz?
Go to the top of the page
+Quote Post

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: 23.08.2025 - 00:48