Md. Elias

Hello, Thanks for visiting my profile.Web developing is not only a job but also a passion for me and always will be. I am working with designing and developing Since 2011 on upwork.com I love to write blogging. How To Online Tips is my site where i write blogging regularly. Thanks, Md. Elias

WordPress Memory Exhausted Errors – Increase PHP Memory

We have exchanged various customer sites, and some of the time a WordPress Memory Exhausted mistake shows up when initiating another module or doing some other errand. Typically the blunder resembles this: <pre> Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 2348617 bytes) in /home4/xxx/public_html/wp-includes/plugin.php on line xxx </pre> we chose …

WordPress Memory Exhausted Errors – Increase PHP Memory Read More »

Logged in and Logged out Body Classes

Today I wound up needing a logged-out body class on a WordPress site I’m building. Any individual who has ever coded a WordPress sites has probably included the body_class() capacity to their websites and it would look something like the following: <body <?php body_class(); ?>> Well, the body_class() function permits you to effectively include classes …

Logged in and Logged out Body Classes Read More »

Page Smooth Scrolling To ID

Sometime we need to use Smooth Scrolling to id function, it will redirect to the exact point where the content is. We can add this functionality through the code snippet… <a class=”scroll” href=”#comments”>Scroll to comments</a> jQuery(document).ready(function($) { $(“.scroll”).click(function(event){ event.preventDefault(); $(‘html,body’).animate({scrollTop:$(this.hash).offset().top}, 500); }); }); For wordpress user can use plugins to smooth scrolling to id. There …

Page Smooth Scrolling To ID Read More »

Timezone

Setting the Default Timezone for PHP In WordPress

If you want to Display a post in different timezone the you should workout some php function in grab it. It necessary when you show a online event or online live video. if you want to show the event or a post in local time you should follow bellow steps: <span class=”post-time-date”> <!–?php date_default_timezone_set(‘America/Los_Angeles’); echo …

Setting the Default Timezone for PHP In WordPress Read More »