Tag Archive: code

How to exclude categories in wordpress recent posts widget?

Two different Recent Posts Widgets

Sometimes you may need to exclude some categories from wordpress recent posts widget. But unfortunately wordpress has given no option to do it in default recent posts widget. Then how can you control the recent posts widget? Well, everything is possible if you know how to play with wordpress ;-). Here is a small php …

Continue reading »

Permanent link to this article: http://www.prasannasp.net/how-to-exclude-categories-in-wordpress-recent-posts-widget/

How to display code in WordPress post

wp-syntax button on visual editor

When you try to display HTML, php or any other code in wordpress blog posts, it executes the code instead of displaying it. So you’ll see the implementation of your code in the post. Even <code> or <tt> tags will not help you to display the exact code in the post. Then how can you …

Continue reading »

Permanent link to this article: http://www.prasannasp.net/how-to-display-code-in-wordpress-post/

Page 1 of 11

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.