If in the current WordPress template the announcements are outputed by the_excerpt() function and the excerpt field is not filled, than we can watch the symbol [...]. In order to get rid of this symbol, you would only need to insert next code in the functions.php of your theme. Originally posted 2010-08-06 05:25:36. Republished by [...]
Should you need to replace [...] by link ‘Read More’, you would only need to create next function in ‘popular’ functions.php file. Originally posted 2010-08-06 05:10:43. Republished by Blog Post Promoter
To print out the post with specified field/value we have to find the main loop to display the posts and add query_posts() function, as showed below. Originally posted 2010-08-02 17:11:16. Republished by Blog Post Promoter
There may be a need for a special appearance of the first post (for example, when you need to make a completely different design from the other posts), whether the main page, the archives, search, etc. This problem is solved by adding the special CSS-class with a simple PHP-code. Initially, we have next standard wordpress [...]
Sometimes we have a need to highlight the first post in loop of main page, archive page or search page and apply different style for it. This output can be implemented by using special CSS class and simple php code. Originally we have the regular loop to output our posts: Originally posted 2010-07-30 23:43:55. Republished [...]
Code for inserting your own content to every RSS Feed of WordPress based blog is very simple It can be usefull for inserting ads or banners. Include the code must in functions.php of your theme. Originally posted 2010-07-29 22:50:49. Republished by Blog Post Promoter
If for some reasons we have to exclude one or several categories from RSS, it can be done this way. Insert into functions.php next code. Originally posted 2010-07-29 21:22:10. Republished by Blog Post Promoter
We might have a situation, when we need to display the excerpt with the fixed number of world. To achieve that, create the next function in functions.php of the current theme: Originally posted 2010-07-27 15:47:00. Republished by Blog Post Promoter
Let’s imagine we have to replace in all posts of wordpress the chunk of text at once, or highlite the word, or put the link, etc. To edit every post might take a long time. There is an elegant and simple solution to achieve the task. Originally posted 2010-07-29 00:44:15. Republished by Blog Post Promoter
As you know the number of installed plugins affects the loading blog time. To display most commented posts without any plugin insert next code into template files (index.php, sidebar.php and so on.) Originally posted 2010-07-27 12:32:59. Republished by Blog Post Promoter