Beiträge von maxe
-
-
-
Irgendwo in einem Template muss ja der div class="entry-content" stehen, das Template musst du suchen.
Ich hab gerade mal schnell in die single.php geschaut, dort findet folgender Aufruf statt:
get_template_part( 'template-parts/content', 'single' );Also musst du in die template-parts/content-single.php gucken :wink:
Aber bitte ins Child übernehmen, sonst macht das Child keinen Sinn. Die single.php kannst du aus dem Child dann wieder löschen.
-
Problem 2. der Code steht oben. Was anderes ist im Quelltext auch nicht zu sehen.
Klar sieht man mehr im Quelltext, z.B. sämtlichen HTML Code, die CSS Media-Queries etc.
Aber wir müssen dir nicht helfen, ich fühl mich da keineswegs gezwungen. -
Eine Frage habe ich noch wie baue ich das Google Captcha (reCaptcha) da noch mit rein .
Dafür sollte es auch Plugins geben, z.B. https://de.wordpress.org/plugins/google-captcha/
-
da scheint dann ein Plugin quer zu schlagen, deaktiviere mal wp-js-about-visitor
Edit: Was erhoffst du dir von dieser wp-content-copy-protection?? Über die Entwicklungskonsole des Browser kommt jeder in den Quellcode.
-
auf https://lutz-bathe.de/test/ sehe ich zumindest jetzt auch den Hinweis auf die Kommentare.
-
-
wo sollen denn die Kommentarfunktion erscheinen, wenn kein Beitrag da ist???
-
Im von dir genannten Link sehe ich noch gar keine Beiträge.
-
Vielen Dank für die Antworten. Ich habe gegoogelt nach der "REST-API" und habe Folgendes probiert:
- [B]Pluging Disable REST API
und nachdem das nicht geholfen hat
Du hast es wohl falsch verstanden. CF7 läuft mit [size=12]deaktivierte [/SIZE]REST API [size=12]nicht[/SIZE] mehr. -
Normalerweise ist es die index.php o. ä. die dann header und footer etc. holt.
Da hast du recht, get_header() und get_footer() fehlen dann gänzlich. Die Frage ist, was genau hat der TE im Header/Footer drin stehen. Vielleicht auch leer, von daher keine sichtbaren Auswirkungen :confused:
-
am einfachsten über das "Zusätzliche CSS" mit:
.sticky-post{display:none} -
Ungetestet so:
PHP
Alles anzeigen<?php /** * The template for displaying comments. * * The area of the page that contains both current comments * and the comment form. * * @package storefront */ /* * If the current post is protected by a password and * the visitor has not yet entered the password we will * return early without loading the comments. */ if ( post_password_required() ) { return; } ?> <section id="comments" class="comments-area" aria-label="<?php esc_html_e( 'Post Comments', 'storefront' ); ?>"> <?php $args = apply_filters( 'storefront_comment_form_args', array( 'title_reply_before' => '<span id="reply-title" class="gamma comment-reply-title">', 'title_reply_after' => '</span>', ) ); comment_form( $args ); ?> <?php if ( have_comments() ) : ?> <h2 class="comments-title"> <?php printf( // WPCS: XSS OK. esc_html( _nx( 'One thought on “%2$s”', '%1$s thoughts on “%2$s”', get_comments_number(), 'comments title', 'storefront' ) ), number_format_i18n( get_comments_number() ), '<span>' . get_the_title() . '</span>' ); ?> </h2> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through. ?> <nav id="comment-nav-above" class="comment-navigation" role="navigation" aria-label="<?php esc_html_e( 'Comment Navigation Above', 'storefront' ); ?>"> <span class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'storefront' ); ?></span> <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'storefront' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'storefront' ) ); ?></div> </nav><!-- #comment-nav-above --> <?php endif; // Check for comment navigation. ?> <ol class="comment-list"> <?php wp_list_comments( array( 'style' => 'ol', 'short_ping' => true, 'callback' => 'storefront_comment', ) ); ?> </ol><!-- .comment-list --> <?php if ( get_comment_pages_count() > 1 && get_option( 'page_comments' ) ) : // Are there comments to navigate through. ?> <nav id="comment-nav-below" class="comment-navigation" role="navigation" aria-label="<?php esc_html_e( 'Comment Navigation Below', 'storefront' ); ?>"> <span class="screen-reader-text"><?php esc_html_e( 'Comment navigation', 'storefront' ); ?></span> <div class="nav-previous"><?php previous_comments_link( __( '← Older Comments', 'storefront' ) ); ?></div> <div class="nav-next"><?php next_comments_link( __( 'Newer Comments →', 'storefront' ) ); ?></div> </nav><!-- #comment-nav-below --> <?php endif; // Check for comment navigation. endif; if ( ! comments_open() && '0' != get_comments_number() && post_type_supports( get_post_type(), 'comments' ) ) : ?> <p class="no-comments"><?php esc_html_e( 'Comments are closed.', 'storefront' ); ?></p> <?php endif; ?> </section><!-- #comments --> -
gib mal einen Link zu deinem Blog, hab gerade keine Lust mir extra 2015 zu installieren.
-
ich hab es zwar noch nie getestet ... aber theoretisch sollte es nur mit header, footer und style laufen, da so ja eine komplette html-Page generiert wird. Die index dient ja nur für den Inhalt (im Mittelteil), wenn diese nicht existiert, gibt es halt auch keinen Inhalt im Mittelteil.
-
dein letzter Code zeigt es richtig. Der erste Code war falsch, da dort falsch kommentiert wurde.
-
ja genau, so hatte ich es ja auch beschrieben:
Ich meine durch das Autosave wird immer nur EINE Revision angelegt und bei erneutem Autosave überschrieben.
-
Zitat aus dem Codex:
ZitatAutosaves are stored as a special type of revision; ... When reviewing revisions, autosaves are clearly marked.
-
Ich meine durch das Autosave wird immer nur EINE Revision angelegt und bei erneutem Autosave überschrieben. Wie sonst soll so ein Autosave realisiert werden...