1642 readersWP Minify integrates the Minify engine into your WordPress blog. Once enabled, this plugin will combine and compress JS and CSS files to improve page load time.
WP Minify grabs JS/CSS files in your generated WordPress page and passes that list to the Minify engine. The Minify engine then returns a consolidated, minified, and compressed script
3429 readersIf you have posts that include the nofollow attribute on links, you may at some point decide to remove them. By default, WordPress doesn’t insert nofollow attributes in post content, but there are a variety of plugins that will insert nofollow into all links in post content. Or perhaps you have been manually adding nofollow
6041 readers
PHP
add_filter('nav_menu_css_class', 'my_css_attributes_filter', 100, 1);
add_filter('nav_menu_item_id', 'my_css_attributes_filter', 100, 1);
add_filter('page_css_class', 'my_css_attributes_filter', 100, 1);
function my_css_attributes_filter($var) {
return is_array($var) ? array_intersect($var, array('current-menu-item')) : '';
}
Visit wpsnipp.com for details on how to setup this WordPress snippet. Share this post. Facebook | StumbleUpon | Delicious | Tweet It | Digg This | DesignBump-It | DesignPoke-it
-
2407 readersLots of posts on WPShout are art directed, so you may wish to view this in your browser.The functions.php file is one of the most useful files in your theme. If you’re developing lots of themes, the chances are you’ve got some sort of framework either that you use yourself or is published by a
4608 readers
Suppose is a theme suitable for all type of business. This theme is a combination of classic, minimal and modern elements. It comes with a lot of HTML Shortcodes, jquery plugins (tabs, accordion, sliders…) and with ability to edit the design very easy. Changing only a few lines of code you
100 readers
Megabox is a theme suitable for all type of business. It comes with a lot of HTML Shortcodes, jquery plugins (tabs, accordion, sliders…) and with ability to edit the design very easy. Changing only a few lines of code you can give a new look to your template. Also it has
17523 readersOver the millions of websites available, some are true tools for us web developers. In this article, I have compiled 10 extremely useful sites for web developers, that should definitely be added to your bookmarks.Like CatsWhoCode? If yes, don't hesitate to check my other blog CatsWhoBlog: It's all about blogging!10 sites developers should have in
1893 readersOften in blogging, you hear: "Content is king". This is true, but this isn't the only factor of a quality blog. Design is one of those other factors, and so is loading time. In this article, let's have a look at how you can easily speed up your blog.Have you checked out the highly recommended
948 readersA neat way to spice up your WordPress search page is to highlight search terms within your search results. I’ve seen some tutorials on the net on how to do this, but I haven’t found one that highlights both title and post content and is a drop-in modification for WordPress. Today I will bring you
2144 readersCoding a WordPress theme or plugin can seem to be an easy task at first, but if you want to produce work that is more professional, you have to worry about things such as internationalization and security. In this article, I'm going to show you the best practices I have learned in 3 years of