Tag: wp tips

Shortcode to display content for Mobile or Desktop visitors only

Did you know that WordPress has a mobile detect function already. In this post we will show you how you can use wp_is_mobile function to create a simple shortcode to hide certain parts of your posts from mobile visitors or the other way.

Bootstrap fixed navbar fix for WordPress admin bar

When you are using Bootstrap fixed navbar on your themes, it will be hidden under admin bar of WordPress. This is because of fixed positioning of two elements are same. If you are not using admin bar, it is easy to fix, because you can hide admin bar from your own user profile. But other […]

Speed up your website using .htaccess file

.htaccess is a magic file that tells apache to how to serve files in a directory. It is the most common also the best way to speed up your website. One of the most important factor in page loading speed, is that

HOWTO: Display WP search term in searchbox

There are many great themes in the WordPress universe. But most of them need some fix to offer the best user experience. In this post, I will show you how to easily display WordPress search term in your blog search box.

How to fix common RSS feed errors in wordpress

WordPress plugins & themes sometimes may break down your xml structure. XML is so strict that it doesn’t accept any space, tabs or blank lines in it’s first line. In this post i will show you how to easily fix common RSS Problems with wordpress.

How to disable wordpress admin bar

WordPress 3.1 brings a new feature called wordpress admin bar. That’s a bar displayed on top of your site when you log in and it gives you quick access to general admin actions. I’m sure they will add an option to hide it soon. Until then, here is how to hide it manually.

SEO Tip: Highlight nofollow links for authors in WordPress

Hyperlinking is a tradition in blogging, but in Search Engine Optimization, every external link is a dangerous trap. As google says too many links are bad for you, on the other hand, too few is boring. So while linking to external sites you need to be careful, as it can affect your page ranking and […]

Change thumbnail crop position in WordPress

WP crops thumbnails from the middle. What if you needed top parts of your images?

Adding “nofollow” option to WordPress add link page

With default wordpress add link page you are not allowed to type into the rel input box. Since nofollow is popular now one of my clients requested this option to be added to the add link feature.

HowTo: Add header widget areas to WP

Widgets are certainly one of the best features in wordpress. It is all customizable and it is so easy to use. It all started with vertical sidebars but i believe all-widget themes will be so popular with the release of wordpress 3.0 which brings user navigation menus to the wordpress widgets.

the_widget : the way to use a widget whereever you like

Since 2.8, WordPress allows us to use widgets in our templates. This made creating websites easier as well as creating professional themes. Now we can use any widget in our headers, footers or our page templates even if we don’t have a sidebar there.