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!
Hello, If you want to create session in any external file in joomla then please follow these steps for do it, By default you can’t create session directly in joomla Just Copy code given below and paste it in TOP of your external file where you want mainten session OR create new session define( '_JEXEC',
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 <
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');
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";
Would you like to be able to control which post or pages must be exclued from searches on your WordPress blog? If yes, this recipe will probably help you a lot. Just read on. Copy and pase this code in your themes function.php file // search filter function fb_search_filter($query) { if ( !$query->is_admin && $query->is_search)
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
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!