Hallo zusammen,
ich habe ein Problem mit unserer Seite.
Ich wollte die Erscheinung der Kategorien abändern indem die Beschreibung angezeigt wird. Habe dementsprechend gegoogelt und auch eine "Lösung" gefunden. Daher habe ich diesen Code in das Plug In "Snippets" eingefügt:
[COLOR=#0E2A32][FONT=Open Sans][COLOR=#FF2500]<?php[/COLOR] [COLOR=#006600]if[/COLOR] [COLOR=#011A99]([/COLOR][COLOR=#0433FF]![/COLOR]is_paged[COLOR=#011A99]())[/COLOR] [COLOR=#011A99]{[/COLOR][COLOR=#FF2500]?>[/COLOR][/FONT][/COLOR]
[COLOR=#FF9900][FONT=Open Sans][COLOR=#FF2500]<?php[/COLOR][COLOR=#006600]if[/COLOR][COLOR=#011A99]([/COLOR][COLOR=#000000] category_description[/COLOR][COLOR=#011A99]()[/COLOR][COLOR=#011A99])[/COLOR][COLOR=#0433FF]:[/COLOR]// Show an optional category description [COLOR=#FF2500]?>[/COLOR][/FONT][/COLOR]
[COLOR=#0E2A32][FONT=Open Sans][COLOR=#011A99]<div class=[/COLOR][COLOR=#0433FF]„archive-meta“[/COLOR][COLOR=#011A99]>[/COLOR][COLOR=#FF2500]<?php[/COLOR] [COLOR=#006600]echo[/COLOR] category_description[COLOR=#011A99]()[/COLOR]; [COLOR=#FF2500]?>[/COLOR][COLOR=#011A99]</div>[/COLOR][/FONT][/COLOR]
[COLOR=#FF2500][FONT=Open Sans]<?php[COLOR=#006600]endif[/COLOR][COLOR=#000000]; [/COLOR]?>[/FONT][/COLOR]
[COLOR=#FF2500][FONT=Open Sans]<?php[COLOR=#011A99]}[/COLOR]?>[/FONT][/COLOR]
Nun erhalte ich jedoch diese Fehlermeldung:
Parse error: syntax error, unexpected ':' in /www/htdocs/w0158c31/travelwithsandraanddaniel.com/wp-content/plugins/code-snippets/php/snippet-ops.php(384) : eval()'d code on line 3
Ich kann nun nichts mehr machen. Wie lässt sich das Problem auf dem ftp Server beheben?
Danke schon einmal für eure Hilfe & liebe Grüße
Sandra