Category: Wordpress
-
Setting default values to options fields array in WordPress
Lets say you are working on a plugin/theme having numerous option fields in admin setings, but you want to initialize them with default values. Not setting them with default values, can lead the wordpress debugger to throw, undefined index which is nasty. Careful that you are not storing the values in database, but only in…
-
How to dynamically change stylesheet colors in WordPress
Lets say you are implementing a color picker in wordpress options page, but you want to dynamically change colors or background for your header, menu or a link. Here is how to do it correctly and its unbelievably simple in wordpress. Just add a hook to wp_head and look at the code snippet below. function…
-
Tutorial: How to add color picker to wordpress options page?
It is very easy to add colour picker with just 10 lines of code on the fly. I am gonna teach you how to use Iris colour picker to the input box in your wordpress options page. I am going to keep this very simple and short and i will not go deep on creating wordpress…
-
How to add Google fonts to WordPress theme?
Normally you would add multiple google fonts in wordpress theme, just like stylesheet in header.php like this.. <link href=’http://fonts.googleapis.com/css?family=Abel|Alegreya+Sans’ rel=’stylesheet’ type=’text/css’> But wait, there is a correct and proper way to do it in wordpress, by writing a hook code in functions.php file, just few lines… function google_font_styles() { wp_register_style(‘ggl-fonts’,’http://fonts.googleapis.com/css?family=Abel|Archivo+Narrow’); wp_enqueue_style( ‘ggl-fonts’); } add_action (‘wp_enqueue_scripts’,’google_font_styles’);…
-
How to hide admin bar in wordpress?
If you don’t like the admin bar sitting on top of your wordpress blog, all you have to do is open functions.php and put this line show_admin_bar(false); Thats it! Your admin bar on the top of the blog will disappear.
-
Cant install wordpress with bluehost through Mojo marketplace?
Has anybody noticed this? The wordpress installation is a complete failure with mojo marketplace and all i get when installing a new version of wordpress is our server is not accessible and is responding with a 404 response code. #3N8O3A3C4C8E6S1S The items listed above must be resolved in order to successfully install. If you need…
-
50+ Powerful WordPress Themes from Themeforest
Themeforest has some powerful and stunning wordpress themes with which you can build powerful web portals, you cant imagine with wordpress which can be used for news, magazines, wedding, food, restaurants, church, jobs, travel, ecommerce or personal blogs. These themes have well known features like.. Clean responsive multipurpose theme, Unlimited sliders, 100+ shorcodes, Stylish page…
-
20+ Great code highlighter plugins for WordPress
I have always loved decorating my code in my wordpress blog. Since then i have been in search some of the code highlighter plugins to bring color for the code published in my blog. The easiest way to separate code and add background to highlight the code is styling pre and code tags. This is…
-
20+ Great shortcode plugins to spice up your WordPress site
Shortcodes works like magic in wordpress to spice up your website. Shortcodes brings life to a plain simple blog with colorful buttons, colums, quotes and icons. Most powerful themes comes with built in shortcodes with the theme but if you want, you can use shortcode plugins available to control your blog. Most short code plugins…
-
10+ Great Websites to buy Premium wordpress themes
I am a great fan of wordpress themes and time after time, often i lose track of great sites owned by wordpress theme developers for selling premium wordpress themes. I am a real fan of these high quality theme developer sites, which is why i decided to put up a nice list of theme developer…