PHP mail() function send sendmail slow delay issue ?

Hello every one! If you have facing this type issue, then please use my tips given below. Hope this will be very help full for solve email delay issue Just add this attribute “-odb -f $adminmail” in your mail function mail($usermail, $subject, $message, “From: $adminmail\nX-Mailer: PHP/”, “-odb -f $adminmail”); Enjoy Code!

How add live current time/count watch on your site ?

Hello Every One, If you want add Count current time on your site.Then please follow just these steps given below: Just Copy code given below and paste it in your file between <script></script> tag where you want add this var dayarray=new Array(“Sunday”,”Monday”,”Tuesday”,”Wednesday”,”Thursday”,”Friday”,”Saturday”) var montharray=new Array(“January”,”February”,”March”,”April”,”May”,”June”,”July”,”August”,”September”,”October”,”November”,”December”) function getthedate(){ var mydate=new Date() var year=mydate.getYear() if (year < …

How disable posts auto saving using WordPress hook ?

WordPress have a very useful function that autosaves your posts while you’re typing them in the dashboard. Though, if for some reason you’d like to disable this function, it is very easy to do. Just read on! To disable WordPress autosaving function, simply open your functions.php file and paste the following function: function disableAutoSave(){ wp_deregister_script(‘autosave’); …

How Add custom parameters into the body_class() function ?

When creating a website on WordPress, it can be really useful to be able to add one (or more) custom parameter into the body_class() function. Here is a function I use very often when building sites for my clients. Copy and paste this code in your themes function.php files function custom_body_class($classes){ if(is_singular()){ $myvar = “myparam”; …

How hide "Update Now" link from admin?

Just Insert this code in your themes function.php file //Hide admin update links from admin if ( ! function_exists( ‘c2c_no_update_nag’ ) ) : function c2c_no_update_nag() { remove_action( ‘admin_notices’, ‘update_nag’, 3 ); } endif; add_action( ‘admin_init’, ‘c2c_no_update_nag’ ); ?> Save files That’s it Enjoy Code

How enable template hint in joomla 2.5 ?

For enable Module position hint please follow these steps : administrator >> Extensions >> Template Menager >> Option Here enable Preview Module Positions and Save Setting http://yoursiteurl/?tp=1 Enjoy code!