WordPress Archives - Nabtron Technology & Programming Guide Sat, 01 Feb 2020 18:49:27 +0000 en-US hourly 1 https://wordpress.org/?v=6.7.1 https://i0.wp.com/nabtron.com/wp-content/uploads/2018/12/nabtron-icon-50.jpg?fit=32%2C32&ssl=1 WordPress Archives - Nabtron 32 32 13047128 How to remove WordPress redirect hack https://nabtron.com/how-to-remove-wordpress-redirect-hack/ https://nabtron.com/how-to-remove-wordpress-redirect-hack/#respond Sat, 01 Feb 2020 18:49:27 +0000 https://nabtron.com/?p=11247 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 […]

The post How to remove WordPress redirect hack appeared first on Nabtron.

]]>
https://nabtron.com/how-to-remove-wordpress-redirect-hack/feed/ 0 11247
How to add javascript file in WordPress shortcode https://nabtron.com/how-to-add-javascript-file-in-wordpress-shortcode/ https://nabtron.com/how-to-add-javascript-file-in-wordpress-shortcode/#respond Fri, 31 Jan 2020 13:26:54 +0000 https://nabtron.com/?p=11236 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 […]

The post How to add javascript file in WordPress shortcode appeared first on Nabtron.

]]>
https://nabtron.com/how-to-add-javascript-file-in-wordpress-shortcode/feed/ 0 11236
Google AMP Disallowed javascript attribute in tag ‘amphtml engine v0.js script’ error [Solved] https://nabtron.com/google-amp-disallowed-javascript-attribute-in-tag-amphtml-engine-v0-js-script-error-solved/ https://nabtron.com/google-amp-disallowed-javascript-attribute-in-tag-amphtml-engine-v0-js-script-error-solved/#respond Sun, 09 Dec 2018 04:06:08 +0000 https://nabtron.com/?p=10577 I was surprised and worried to see the error today in my google webmasters tools for my website. The error said that it has caused google to delist my AMP pages from the search results. A huge set back obviously! I’ll come straight to the point, and tell you how to fix it if you’re […]

The post Google AMP Disallowed javascript attribute in tag ‘amphtml engine v0.js script’ error [Solved] appeared first on Nabtron.

]]>
https://nabtron.com/google-amp-disallowed-javascript-attribute-in-tag-amphtml-engine-v0-js-script-error-solved/feed/ 0 10577
Remove sidebar from Schema lite single page https://nabtron.com/remove-sidebar-from-schema-lite-single-page/ https://nabtron.com/remove-sidebar-from-schema-lite-single-page/#respond Sat, 08 Dec 2018 23:37:34 +0000 https://nabtron.com/?p=10572 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 […]

The post Remove sidebar from Schema lite single page appeared first on Nabtron.

]]>
https://nabtron.com/remove-sidebar-from-schema-lite-single-page/feed/ 0 10572
How to update WordPress to 5.0 (manual & automatic) https://nabtron.com/update-wordpress-manual-automatic/ https://nabtron.com/update-wordpress-manual-automatic/#respond Fri, 07 Dec 2018 02:12:19 +0000 https://nabtron.com/?p=10565 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 […]

The post How to update WordPress to 5.0 (manual & automatic) appeared first on Nabtron.

]]>
https://nabtron.com/update-wordpress-manual-automatic/feed/ 0 10565
Google Maps API error: MissingKeyMapError [Solved] https://nabtron.com/google-maps-api-error-missingkeymaperror-solved/ https://nabtron.com/google-maps-api-error-missingkeymaperror-solved/#respond Tue, 14 Mar 2017 18:48:23 +0000 https://nabtron.com/?p=10427 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 […]

The post Google Maps API error: MissingKeyMapError [Solved] appeared first on Nabtron.

]]>
https://nabtron.com/google-maps-api-error-missingkeymaperror-solved/feed/ 0 10427
WordPress Hacks https://nabtron.com/wordpress-hacks/ https://nabtron.com/wordpress-hacks/#respond Sun, 24 Apr 2016 11:25:52 +0000 https://nabtron.com/?p=10133 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 […]

The post WordPress Hacks appeared first on Nabtron.

]]>
https://nabtron.com/wordpress-hacks/feed/ 0 10133
Gravity forms tricks https://nabtron.com/gravity-forms-tricks/ https://nabtron.com/gravity-forms-tricks/#respond Tue, 12 Apr 2016 17:37:41 +0000 https://nabtron.com/?p=10074 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. […]

The post Gravity forms tricks appeared first on Nabtron.

]]>
https://nabtron.com/gravity-forms-tricks/feed/ 0 10074
Customizing Awesome Support WordPress plugin https://nabtron.com/awesome-support/ https://nabtron.com/awesome-support/#respond Tue, 05 Apr 2016 21:14:25 +0000 https://nabtron.com/?p=10059 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 […]

The post Customizing Awesome Support WordPress plugin appeared first on Nabtron.

]]>
https://nabtron.com/awesome-support/feed/ 0 10059
Sort custom column date in custom post type https://nabtron.com/sort-custom-column-date-custom-post-type/ https://nabtron.com/sort-custom-column-date-custom-post-type/#respond Mon, 04 Apr 2016 23:21:00 +0000 https://nabtron.com/?p=10055 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 […]

The post Sort custom column date in custom post type appeared first on Nabtron.

]]>
https://nabtron.com/sort-custom-column-date-custom-post-type/feed/ 0 10055