I have developed a simple WordPress plugin to add active class to menu item li tag. Currently it is current-menu-item or current_page_parent. You can even set custom class to li tag if your need is other than active class. Hope you will like it.

I have developed a simple WordPress plugin to display custom logo in WordPress admin panel login page. This plugin will overwrite the default symbol of WordPress with the uploaded new one. Hope you will like it.

I was facing a issue in displaying new Indian Rupee Symbol in Woocommerce. In my shopping page, cart, filters etc. the rupee symbol was not showing. It was display a square box (error). So with the help of google and other means I have developed new plugin as a solution to this problem. Hope you will like and it will be really helpful.

There are so many ways to achieve maintenance mode in codeigniter. Codeigniter itself doesn`t provide such kind of functionality as other framework supports. This post supports how to setup maintenance mode using hooks.

Create an html called maintenance_view.php page under views or in root folder

Create a Hook file called maintenance.php

In the hooks config setup your hooks call to run on post_controller

application/views/maintenance_view.php

<!DOCTYPE html><html><head><title>Maintenance</title><style>Style your page</style></head><body><p>We apologize but our site is currently undergoing maintenance at this time.</p><p>Please check back later.</p></body></html>

Quite a while ago, I grew tired of trying to come up with new and creative ways to display simple, one-time messages to users without crazy amounts of code for something that was frequently as trivial as “Saved!”.

Sessions are the obvious solution, however, without a single function that could both generate, AND display the messages, it still wasn’t any better. And as usual, where there’s a will, and some code- there’s a way!

Before we get started, make sure that a session is started, otherwise a) no message will be displayed, and b) super fun headers already sent messages.

//Set the first flash message with default class
flash( 'example_message', 'This content will show up on example2.php' );
//Set the second flash with an error class
flash( 'example_class', 'This content will show up on example2.php with the error class', 'error' );