WordPress Resources -1-

WordPress Resources -1-
1. Include WordPress Template Files In Your Theme 2. WordPress Query Arguments 3. How to change the “posts” label to “articles” 4. Easy WordPress pagination without plugins 5. Protect your WordPress site with .htaccess 6. 10 Best HTML5 Audio Players 7. Useful WordPress Tools, Themes and Plugins 8. 20 Free and Premium WordPress Newspaper Themes ...

Ellipses

Ellipses
Sometimes, the excerpt function just does not cut it and you might think to yourself, I wish I could replace those […] three dots with something more useful. Well, worry no more… Just add this code to your functions.php and change the ellipses to whatever you wish. [php] function trim_excerpt($text) { return rtrim($text,'[…]’); } add_filter(‘get_the_excerpt’, ...

Excerpt length – how to change

Excerpt length - how to change
It can be very annoying when you are creating a theme, when the excerpt function [with a default word count of 55], controls how you structure a layout. Luckily, there are ways of getting around this. Probably the most easy of all, simply add the following code to your functions.php file and change the amount ...