How to remove WordPress redirect hack

Recently there have been a massive hack on the internet targeting mainly WordPress websites. The infected site results in a redirect to the hackers website where a robot is shown and so on. Cause of redirect hack The hack infects the sites using two methods: editing php files and adding script tag link to javascript […]

How to add javascript file in WordPress shortcode

WordPress allows us to dynamically change the content of the page or post using short code and their attributes. We can create a shortcode and allow the users to enter any value as attribute, and then use the dynamic value of that attribute as an output for the page. WordPress shortcode for functions.php Add this […]

Remove sidebar from Schema lite single page

This tutorial explains how you can remove the sidebar from the single page template of Schema lite WordPress theme to make by making a full page template for single page without sidebar. How to remove sidebar from schema lite wordpress theme Follow these steps: Make a copy of page.php Goto the theme folder and make […]

How to update WordPress to 5.0 (manual & automatic)

Today WordPress version 5.0 has been released as a major release update. WordPress 5.0 has a code name “Bebo”. In this tutorial, you will learn how to update your wordpress installation from any previous version to the 5.0. First of all we will see how to do this automatically, and then we will also discuss […]

Google Maps API error: MissingKeyMapError [Solved]

While working on a clients website, I came through this error saying: Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys NA.j @ util.js:210 (anonymous) @ js?ver=4.7.3:133 (anonymous) @ js?ver=4.7.3:41 (anonymous) @ js?ver=4.7.3:37 (anonymous) @ js?ver=4.7.3:41 (anonymous) @ js?ver=4.7.3:105 (anonymous) @ js?ver=4.7.3:37 (anonymous) @ js?ver=4.7.3:105 (anonymous) @ js?ver=4.7.3:37 (anonymous) @ js?ver=4.7.3:105 (anonymous) @ js?ver=4.7.3:37 (anonymous) @ js?ver=4.7.3:105 Wb […]

WordPress Hacks

This page will list common WordPress hacks to get things done. Note that this page doesn’t list any hack for malicious activities, rather to make the life of legit owners easier. How to make yourself admin via ftp If you have ftp access to the wordpress files only, first of all find your user id […]

Gravity forms tricks

Gravity forms is an amazing plugin itself, however there are always some situations when we don’t have the built-in functionality for what we need. Here we will discuss how to hack gravity forms plugin for WordPress as per our own needs in various situations. This article will keep updating as we get more hacks into it. […]

Customizing Awesome Support WordPress plugin

This posts lists different issues with awesome support plugin and how to fix them. We’re working on versionL 3.2.9. For any code edits, I recommend making copy of your currently working state of plugin or wordpress as a whole in fact (with all files and database). Also, it’s better to comment the old code and […]

Sort custom column date in custom post type

This post is to simply include the code required to create a sortable date column in a custom post type. I was working with awesome support plugin and had to do several modifications to it. One of that required us to have a custom column for publish date of the post including the time of […]