Hi,
ich habe das Problem, dass die Zahlungsarten bei mir auf der Seite "zur Kasse" doppelt angezeigt werden.
Weiß Jemand woran das leigen könnte bzw. hatte das Problem schon einmal?
https://shop.kellerfenster-24.de/zur-kasse/
Beste Grüße
Um schreiben oder kommentieren zu können, benötigen Sie ein Benutzerkonto.
Sie haben schon ein Benutzerkonto? Melden Sie sich hier an.
Jetzt anmeldenHier können Sie ein neues Benutzerkonto erstellen.
Neues Benutzerkonto erstellenHi,
ich habe das Problem, dass die Zahlungsarten bei mir auf der Seite "zur Kasse" doppelt angezeigt werden.
Weiß Jemand woran das leigen könnte bzw. hatte das Problem schon einmal?
https://shop.kellerfenster-24.de/zur-kasse/
Beste Grüße
Habe es mit anderen Browsern probiert und den cache ebenfalls gelöscht. Daran liegt es leider nicht.
Hallo,
ich möchte eine einzelne Seite mit einem Passwort schützen. Leider wird die Passworteinstellung von wordpress völlig ignoriert und die Seite ist ohne Passwort aufrufbar. Nun suche ich nach Fehlerquellen wieso der Passwortschutz ignoriert wird. Hat Jemand eine Idee woran das liegen könnte?
Beste Grüße
Tom
Hallo,
vielen Dank für Deine Antwort. Ich habe die Möglichkeit von Stackoverflow schon probiert, leider ohne Erfolg. Der code bleibt bestehen :-( Ich habe mein Theme mal nach der Stelle des Excerpts durchsucht. Hier steht folgender Code:
[COLOR=#303336][FONT=inherit]$content [/FONT][/COLOR][COLOR=#303336][FONT=inherit]=[/FONT][/COLOR][COLOR=#303336][FONT=inherit] empty[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]options[/FONT][/COLOR][COLOR=#303336][FONT=inherit][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'style'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]])[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]?[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit](![/FONT][/COLOR][COLOR=#303336][FONT=inherit]empty[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$post[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]post_excerpt[/FONT][/COLOR][COLOR=#303336][FONT=inherit])[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]?[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
$post[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]post_excerpt [/FONT][/COLOR][COLOR=#303336][FONT=inherit]:[/FONT][/COLOR][COLOR=#303336][FONT=inherit] $thesis[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]api[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]trim_excerpt[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$post[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]post_content[/FONT][/COLOR][COLOR=#303336][FONT=inherit]))[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]:[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
get_the_excerpt[/FONT][/COLOR][COLOR=#303336][FONT=inherit]();[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
echo
[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]"$tab<div class="post_content post_excerpt"[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit](![/FONT][/COLOR][COLOR=#303336][FONT=inherit]empty[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit]-[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
[/FONT][/COLOR][COLOR=#303336][FONT=inherit]>[/FONT][/COLOR][COLOR=#303336][FONT=inherit]options[/FONT][/COLOR][COLOR=#303336][FONT=inherit][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'class'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]])[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]?[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]' '[/FONT][/COLOR][COLOR=#303336][FONT=inherit].[/FONT][/COLOR][COLOR=#303336][FONT=inherit] trim[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$thesis[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]api[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]esc[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]options[/FONT][/COLOR][COLOR=#303336][FONT=inherit][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'class'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]]))[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]:[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]''[/FONT][/COLOR][COLOR=#303336][FONT=inherit]),[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'"'[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit](![/FONT][/COLOR][COLOR=#303336][FONT=inherit]empty[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$schema[/FONT][/COLOR][COLOR=#303336][FONT=inherit])[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]?[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]' itemprop="description"'[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]:[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]''[/FONT][/COLOR][COLOR=#303336][FONT=inherit]),[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]">\n"[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
apply_filters[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]_class[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] isset[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]options[/FONT][/COLOR][COLOR=#303336][FONT=inherit][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'read_more_show'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]][/FONT][/COLOR][COLOR=#303336][FONT=inherit]
[/FONT][/COLOR][COLOR=#303336][FONT=inherit][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'show'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]])[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]?[/FONT][/COLOR][COLOR=#303336][FONT=inherit] wpautop[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$content[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#101094][FONT=inherit]false[/FONT][/COLOR][COLOR=#303336][FONT=inherit])[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]:[/FONT][/COLOR][COLOR=#303336][FONT=inherit] $content[/FONT][/COLOR][COLOR=#303336][FONT=inherit]),[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#858C93][FONT=inherit]#wp[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]"$tab</div>\n"[/FONT][/COLOR][COLOR=#303336][FONT=inherit];[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
[/FONT][/COLOR][COLOR=#101094][FONT=inherit]if[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]isset[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]options[/FONT][/COLOR][COLOR=#303336][FONT=inherit][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'ellipsis'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'show'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]])[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]||[/FONT][/COLOR][COLOR=#303336][FONT=inherit] isset[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit]->[/FONT][/COLOR][COLOR=#303336][FONT=inherit]options[/FONT][/COLOR][COLOR=#303336][FONT=inherit][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'read_more_show'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]][[/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'show'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]]))[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#303336][FONT=inherit]{[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
remove_filter[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'excerpt_more'[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] array[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'more'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]),[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]1[/FONT][/COLOR][COLOR=#303336][FONT=inherit]);[/FONT][/COLOR][COLOR=#303336][FONT=inherit]
remove_filter[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'thesis_trim_excerpt'[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] array[/FONT][/COLOR][COLOR=#303336][FONT=inherit]([/FONT][/COLOR][COLOR=#303336][FONT=inherit]$this[/FONT][/COLOR][COLOR=#303336][FONT=inherit],[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]'more'[/FONT][/COLOR][COLOR=#303336][FONT=inherit]),[/FONT][/COLOR][COLOR=#303336][FONT=inherit] [/FONT][/COLOR][COLOR=#7D2727][FONT=inherit]100[/FONT][/COLOR][COLOR=#303336][FONT=inherit]);
[/FONT][/COLOR]
[COLOR=#303336][FONT=inherit]Vielleicht weiß Jemand wie ich den code hier ergänzen bzw. umbauen kann, um shortcodes zu entfernen. Ich freue mich über Antworten!
[FONT=Verdana]Danke![/FONT][/FONT][/COLOR][COLOR=#303336][FONT=inherit]
[/FONT][/COLOR]
Hi,
ich verwende das Plugin "Shortcodes by angie makes". Es funktioniert gut und ich verwende es um Blogbeiträge zu layouten. Leider habe ich das Problem, dass der code der verwendeten Shortcodes in den Excerpts der Blogbeiträge angezeigt wird z.B. http://www.save-nature-group.de/projekte-in-der-natur
Kennt Jemand eine Möglichkeit, wie ich den code der shotcodes verstecken kann, sodass dieser in den ecerpts nicht mehr zu sehen ist?
ich freue mich über Hilfe!
Viele Grüße
Tom
Hat Jemand ne Lösung für dieses Problem? Hab ebenfalls eine Seite bei der permalinks mit Zahlen bei Bilderupload erstellt werden...
https://de.wordpress.org/support/topic/…ert-nicht-mehr/
Freue mich über Lösungsansätze.
Viele Grüße
Hallo,
ich würde gern Blogbeiträge in der gleichen Kategorie oder mit den selben Tag als slideshow unter Artikeln zeigen (so wie auf der Seite: https://www.doctor-catch.com/de/angelknoten…-grinner-knoten).
Kenn Jemand ein Plugin was sowas leistet?
Viele Grüße
Tom
Hat hier keiner eine Idee? Oder geht das nicht?
Viele Grüße
Hallo,
ich möchte gern alle Subkategorien auf der darüber liegenden Eltern-Kategorie ausgeben. Dafür verwende ich folgenden Code:
$has_children = (bool)(get_category_children(intval(get_query_var('cat'))));
if (is_category() AND $has_children) { wp_list_categories('title_li=&child_of=' . intval(get_query_var('cat'))); }
Dies funktioniert bei einer Subkategorie ganz gut. Wenn ich jedoch Eine Elternkategorie eine Subkategorie und eine SubSubkategorie habe, werden auf der Elternkategorie die Sub und die SubSubkategorie ausgegeben. Ich möchte jedoch, dass auf der Elternkategorieseite nur die Subkategorie angezeigt wird und auf der Subkategorieseite die Subsubkategorie. Ist sowas möglich? Freue mich über Hilfe!
Viele Grüße Tom
Hallo Daniel!
vielen Dank für Deine Antwort und Lösung! Stimmt, die if-Anweisung in die Funktion zu packen macht mehr Sinn ;-) Ich probier es aus! Vielen Dank für die Hilfe!
VG
Tom
Hallo Daniel,
danke für Deine Antwort.
ja, es muss natürlich is_single() heißen. Gibt es denn eine Möglichkeit wp_enqueue_script() nur für bestimmt post types (in meinem Fall Blogposts) zu verwenden. Könnte es ja dann auch mit der if-Anweisung machen, würde dann so aussehen:
[COLOR=#0000BB][FONT=monospace]<?php [/FONT][/COLOR][COLOR=#007700][FONT=monospace]if ([/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]is_single[/FONT][/COLOR][COLOR=#007700][FONT=monospace]([/FONT][/COLOR][COLOR=#007700][FONT=monospace])): [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>
[/FONT][/COLOR][COLOR=#303336]add_action[/COLOR][COLOR=#303336]([/COLOR][COLOR=#7D2727]'wp_enqueue_scripts'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#7D2727]'test'[/COLOR][COLOR=#303336]);[/COLOR][COLOR=#303336]
[/COLOR][COLOR=#101094]function[/COLOR][COLOR=#303336] test[/COLOR][COLOR=#303336]()[/COLOR][COLOR=#303336]{[/COLOR][COLOR=#303336]
wp_enqueue_script[/COLOR][COLOR=#303336]([/COLOR][COLOR=#7D2727]'external-script'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#7D2727]'//a.teads.tv/page/58207/tag" async="true"'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#303336] array[/COLOR][COLOR=#303336](),[/COLOR][COLOR=#7D2727]'3'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#101094]true[/COLOR][COLOR=#303336]);[/COLOR][COLOR=#303336]
[/COLOR][COLOR=#303336]}
<?php [COLOR=#007700][FONT=monospace]endif; [/FONT][/COLOR][COLOR=#0000BB][FONT=monospace]?>
[/FONT][/COLOR][/COLOR]bin mir aber mit der Script-Anweisung [COLOR=#303336]wp_enqueue_script[/COLOR][COLOR=#303336]([/COLOR][COLOR=#7D2727]'external-script'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#7D2727]'//a.teads.tv/page/58207/tag" async="true"'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#303336] array[/COLOR][COLOR=#303336](),[/COLOR][COLOR=#7D2727]'3'[/COLOR][COLOR=#303336],[/COLOR][COLOR=#101094]true[/COLOR][COLOR=#303336]); nicht sicher, ob die richtig ist??
Viele Grüße[/COLOR]
Hallo,
ich möchte gern ein Script von einem Drittanbieter nur auf Post-Seiten laden. Dafür habe ich ins template folgenden Ausdruck geschrieben
<?php if (is_page('home')): ?>
<!--home page custom JS-->
<script src="//a.teads.tv/page/58207/tag" async="true"></script>
<?php endif; ?>
Wie bekomme ich das Script jetzt noch in den Footer? als vor das schließende bodytag </body>??
ich freue mich über Antworten
Hallo,
vielen Dank für Deine Antwort! ich bin mit der Wordpress-Seite nur auf eine andere Domain auf dem gleichen Server umgezogen. Also müsste die Codierung doch stimmen? Oder kann man das für jede einzelne DB einstellen?
Hallo,
ich bin mit einer Wordpress-Seite so wie immer ungezogen. Diesmal habe ich überall dort wo eigentlich ein Absatz ist, oder der Inhalt zu ende ist ein /r/n/ stehen oder aber auch mehrere /r/n/r/n
Weiß Jemand wie das zu Stande kommt und wie ich diese Zeichen entfernen kann?
Ich freue mich über Hinweise
VG Tom
das wäre wohl das einfachste gewesen... Jetzt habe ich es doch hin bekommen mit folgendem php-Ausdruck:
<?php $url = "http://%22.%24_server['PHP_SELF'].$_SERVER['REQUEST_URI']?>
Danke!
Viele Grüße
Hallo,
ich möchte gern einen Button auf meiner Webseite integrieren, der auf die aktuelle Seite (wo er sich befindet) verlinkt. Dafür muss ich als Linkpfad irgendwie den Slug der aktuellen Seite per php übergeben. Also so in etwa:
<div class="button"> <a href="Ffad zur aktuellen Seite mit php" class="btn btn-info">Filter zurücksetzen</a></div>
Weiß Jemand wie man das per PHP macht?
Viele Grüße
hat wunderbar funktioniert :-) Danke!
Hallo, vielen Dank für die Antworten!
helix: ja, die Liste kommt im Post-Content vor. Hab grad mal im Seitenquelltext geschaut. Dort habe ich folgendes gefunden:
<article id="post-2059" class="post-2059 post type-post status-publish format-standard hentry category-karriere">
Also könnte ich dann z.B. die Liste per CSS entsprechend ansprechen:
ul.category-karriere {}
Viele Grüße
Hi,
ich möchte gern für einen Listentyp (<ul>), welcher für eine bestimmte Wordpresskategorie genutzt werden soll, eine separate CSS Klasse verwenden (ul.kategorieklasse). Ist sowas einfach möglich? Wo und welchen Code müsste man dafür verwenden?
Ich freue mich über Antworten.
Viele Grüße
Tom
stimmt, es wurde bei Klick dem Untermenüpunkt "Gewerbe" eine andere Klasse zugewiesen... Nun funktioniert es! Danke für die Hilfe!