Zitat: „weiter“-lesen

Das Label kann im Editor oder auch in der content.php geändert werden.
<?php the_content(‚weiterlesen‘);?>

Text vertikal zentrieren

line_height:

auf Elementhöhe setzen.

eigene CSS-Klasse im Menü

Unter Ansicht anpassen CSS aktivieren

feste Breite CSS

Um Inline-Elementen eine feste Breite zuzuweisen, macht man es zum Block-Element:
display:block;

Blogseite

Funktioniert noch nicht, leider.

Inhalt

Browse: Home / Reference / Functions / the_content()

the_content( string $more_link_text = null, bool $strip_teaser = false )

Display the post content.

Contents

Parameters

$more_link_text

(string) (Optional) Content for when there is more text.

Default value: null $strip_teaser

(bool) (Optional) Strip teaser content before the more text.

Default value: false

Top ↑

More Information

If the quicktag <!–more–> is used in a post to designate the “cut-off” point for the post to be excerpted, the_content() tag will only show the excerpt up to the <!–more–> quicktag point on non-single/non-permalink post pages. By design, the_content() tag includes a parameter for formatting the <!–more–> content and look, which creates a link to “continue reading” the full post.Notes about <!–more–> :

  • No whitespaces are allowed before the “more” in the <!–more–> quicktag. In other words <!– more –> will not work!
  • The <!–more–> quicktag will not operate and is ignored in Templates where just one post is displayed, such as single.php.
  • Read Customizing the Read More for more details.

Top ↑

Source

File: wp-includes/post-template.php

« Vorherige Seite Nächste Seite »