Last active
December 18, 2015 22:38
-
-
Save Perun/5855523 to your computer and use it in GitHub Desktop.
Auszüge (Excerpts) auch auf statischen Seiten (Pages) in WordPress. Siehe auch http://www.perun.net/2012/12/03/wordpress-auszuege-excerpts-von-seiten/. Folgenden Code in die functions.php des jeweiligen Themes eintragen:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Excerpts auf Seiten | |
add_post_type_support('page', 'excerpt'); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment