Created
February 10, 2015 16:04
-
-
Save akinayturan/52a421ec1b5e8b93c5e9 to your computer and use it in GitHub Desktop.
WP ~ Yazı Uzunluğunu Otomatik Sınırlama
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 | |
//WP ~ Yazı Uzunluğunu Sınırlama //epfarki.com | |
add_filter('excerpt_length', 'my_excerpt_length'); | |
function my_excerpt_length($len) { return 60; } | |
?> |
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 the_excerpt(get_the_title(). ' yazisinin devamini okuyun »'); ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment