Created
December 27, 2018 20:55
-
-
Save radarin/d6e692c5a35df3e16beb318780925070 to your computer and use it in GitHub Desktop.
Prüft den Anzeigemodus für Wordpres
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 | |
if ( is_category() == true OR is_search() == true ) { the_excerpt(); } else { the_content(); } | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment