Skip to content

Instantly share code, notes, and snippets.

@Perun
Last active December 18, 2015 22:38
Show Gist options
  • Select an option

  • Save Perun/5855523 to your computer and use it in GitHub Desktop.

Select an option

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:
<?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