Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Frank63

    (@frank63)

    Guten Abend.

    Keine Hilfe? Niemand eine Idee? Vielleicht vereinfache ich meine Frage etwas.

    Mein Theme “Lovecraft” ersetzt bei den automatischen Auszügen (die ersten 50 Worte des Beitragstextes) mit Hilfe des obigen Codes “[…]” durch einen Link “Lesen Sie weiter”.

    Ich m?chte gern das gleiche Verhalten, wenn ich das Feld “Auszug” im Editor des Beitrages manuell, das hei?t, auch mit deutlich weniger Inhalt fülle. Der Link “Lesen Sie weiter” sollte unter dem vollst?ndigen manuell erstellten Auszug generiert werden.

    Vielen Dank!

    Thread Starter Frank63

    (@frank63)

    … found this code. It will probably have something to do with the renewal of the button “Read more” or?

    if ( ! function_exists( 'lovecraft_excerpt_more' ) ) :
        function lovecraft_excerpt_more( $more ) {
            $link = sprintf( '<p><a href="%1$s" class="more-link">%2$s</a></p>',
                esc_url( get_permalink( get_the_ID() ) ),
                /* translators: %s: Name of current post. */
                sprintf( esc_html__( 'Continue reading %s', 'lovecraft' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
                );
            return ' &hellip; ' . $link;
        }
        add_filter( 'excerpt_more', 'lovecraft_excerpt_more' );
    endif;

    Hello and good evening.
    What should the code in the functions.php in the child theme be if the tags are not to be shown in all archive previews?

    Thank you very much

    Kind regards

    Thread Starter Frank63

    (@frank63)

    Hello,

    thank you for your answer. Unfortunately, the CSS code has no effect on the menu display.

    Kind regards

Viewing 4 replies - 1 through 4 (of 4 total)