I have published a code snippet on how to display ads below post title yesterday. Today I will show you on how to display adsense or any ads in the post footer or end of post without using any plugin.
There is a simple WordPress snippet which displays adsense or any other ads below WordPress post title.
When you split your WordPress posts in multiple pages, and if you have set RSS feeds to display full text, then your RSS feeds will only display the content of the first page of the post (i.e nextpage tag).
By default, WordPress automatically add paragraph tags to the content and the excerpt, using the wpautop() function. If you need to automatically add some <p> tags to any text, you can use this function to do it.
If you allow user registration on your WordPress blog or website, how to display the 4 latest registered users? Here is a simple and efficien tcode snippet to do it.
You may have seen a custom message displayed on the WordPress website login page,How about adding a custom text to WordPress login page ? You may want to know.
WordPress adds a lot of stuff through wp_head() hook included in most WordPress themes. Most of these stuff I would consider unnecessary. As for me, I like to keep things simple, clean.Here’s a quick code snippet to clean up the wp_head() easily without using a plugin.
If for some reason you don’t like to see any widgets,like as “plugins” and “other news” dashboard widget, just head over to the top where it says”Screen Option”,then simply un-tick the ones you don’t like.
Do you remember when I shown you How to get the first link from the post content? Today, I’m going to let you know how you can easily grab first image from the post and display thumbs on your blog homepage.