Hallo,
ich betreue für einen Freund eine WP-Seite. Webhoster ist 1&1 (nicht von mir ausgesucht).
Für die Erstellung eines Newsletters nutze ich das Plugin "Newsletter".
Ich habe Probleme mit dem double-opt-in Anmeldeverfahren für den Newsletter. Der Bestätigungslink führt zu einer Fehlermeldung.
Der Entwickler des Plugin möchte das error.log einsehen.
1&1 stell dieses nicht standardmäßig zur Verfügung, aber man kann das irgendwie mit PHP einbauen.
Erklärt wird das hier:
http://hilfe-center.1und1.de/homepage-entwi…gs-a782432.html
Meine PHP-Kenntnisse sind allerdings weniger als rudimentär.
Ich frage mich jetzt, wo ich diese Datei genau ablegen muss und wie ich dann in der Praxis an die gewünschten Infos komme?
Könnt Ihr mir das auf "für-Dummies-Niveau" erklären?
Danke.
Gruß Kai
Beiträge von fideu
-
-
immer noch da
Hallo,
ich bin, glaube ich, nach dieser Anweisung vorgegangen, habe aber immer noch "Posted in Kategorie" unter dem Artikel auf der Startseite stehen.
Die functions.php sieht jetzt am Ende wie folgt aus:
[COLOR=blue]function twentyten_posted_on() {[/COLOR]
[COLOR=blue]}[/COLOR]
[COLOR=blue]endif;[/COLOR]
[COLOR=blue]if ( ! function_exists( 'twentyten_posted_in' ) ) :[/COLOR]
[COLOR=blue]/**[/COLOR]
[COLOR=blue]* Prints HTML with meta information for the current post (category, tags and permalink).[/COLOR]
[COLOR=blue]*[/COLOR]
[COLOR=blue]* @since Twenty Ten 1.0[/COLOR]
[COLOR=blue]*/[/COLOR]
[COLOR=blue]function twentyten_posted_in() {[/COLOR]
[COLOR=blue]// Retrieves tag list of current post, separated by commas.[/COLOR]
[COLOR=blue]$tag_list = get_the_tag_list( '', ', ' );[/COLOR]
[COLOR=blue]if ( $tag_list ) {[/COLOR]
[COLOR=blue]$posted_in = __( 'This entry was posted in %1$s and tagged %2$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );[/COLOR]
[COLOR=blue]} elseif ( is_object_in_taxonomy( get_post_type(), 'category' ) ) {[/COLOR]
[COLOR=blue]$posted_in = __( 'This entry was posted in %1$s. Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );[/COLOR]
[COLOR=blue]} else {[/COLOR]
[COLOR=blue]$posted_in = __( 'Bookmark the <a href="%3$s" title="Permalink to %4$s" rel="bookmark">permalink</a>.', 'twentyten' );[/COLOR]
[COLOR=blue]}[/COLOR]
[COLOR=blue]// Prints the string, replacing the placeholders.[/COLOR]
[COLOR=blue]}[/COLOR]
[COLOR=blue]endif;[/COLOR]
[COLOR=#0000ff][/COLOR]
[COLOR=black]Bin in Sachen php ziemlich planlos. Was kann ich noch ändern/löschen, um das "Posted in" weg zu bekommen?[/COLOR]
[COLOR=black][/COLOR]
[COLOR=black]Danke für Eure Hilfe.[/COLOR]
[COLOR=black][/COLOR]
[COLOR=black]Gruß Kai[/COLOR]