[COLOR=#232323][FONT=Arial]Hallo zusammen,[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]bei mir ist ein schwerwiegendes Problem beim Aktualisieren des Themes "Vantage" auf die Version 1.5.5 aufgetreten.[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]Beim Versuch, in der functions.php den folgenden Code zu ergänzen (um ältere Beiträge auf der Beitragsseite "unsichtbar" zu machen):[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
function exclude_category_home( $query ) {[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]if ( $query->is_home ) {[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]$query->set( 'cat', '-4' );[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]}[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]return $query;[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]}[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]add filter( 'pre_get_posts', 'exclude_category_home' );
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]tritt diese Fehlermeldung auf - und zwar auch nach Löschen des o.g. Codes:[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]Parse error: syntax error, unexpected '{' in /homepages/10/d190848022/htdocs/app190848041/wp-content/themes/vantage/functions.php on line 544[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]Zeile 544 der functions.php lautet folgendermaßen (habe noch einen Screenshot mit den Zeilen darüber bzw. darunter erstellt - vielleicht hilft es weiter):
[/FONT][/COLOR]
[COLOR=#232323][FONT=Arial]
Leider kann ich im Moment weder die functions.php aktualisieren noch sonst irgendetwas im Backend von WordPress machen. Es wird jedesmal o.g. Parse error angezeigt.
Der Zugriff via FTP auf die Daten ist ebenfalls nicht möglich, habe es mit Filezilla und Dreamweaver versucht.
Hier noch die Infos zur Website:
http://ev-kirche-nabern.de
WordPress-Version 4.6.1
Theme: Vantage
gehostet bei 1&1
Plugins (aktiv): 1and1-Wordpress-Wizard, Akismet, Count-per-Day, Hide-Title, Limit-Login-Attempts, ML-Slider, My Custom CSS, Pressware Image Widget, Search and Replace, SI Contact Form, SiteOrigin Panels, Tablepress, UpdraftPlus, WordPress Importer, Hide Pages, Multibyte Patch
Über eine schnelle Hilfe wäre ich sehr dankbar!!! Bin leider ein php-Dummie, sorry...
Herzliche Grüße
[/FONT][/COLOR]