Add/Remove unwanted links from wordpress admin bar

Remove links from wordpress admin bar: Given below code remove the wordpress logo and other links from the admin bar. function annointed_admin_bar_remove() { global $wp_admin_bar; /* ...

Calculate week in PHP

Use this script to calculate a week in PHP <?php $date = mktime(0, 0, 0, 01,27, 2011); $week = (int)date(‘W’, $date); ?>

Fix wordpress plugin profile pic error

The error of the profile pic has been fix. The error was in the new version of wordpress is not upload the profile picture. Solution to resolve this problem Open the profile pic plugin ...

Add a trailing slash to requested urls

Without trailing slash URL shows URL count as a page and with trailing slash it’s count as directory. Search engine gives the high priority to directory in comparision of page. The ...

How to redirect my website to be opened through HTTPS?

In order to redirect your website to be opened through HTTPS, you should add the following rewrite rule in your .htaccess file:  RewriteEngine On RewriteCond %{HTTPS} !=on RewriteRule ...
© 2017 Sumit Bansal. All rights reserved. Site Admin · Entries RSS · Comments RSS
Powered by WordPress · Designed by Theme Junkie