WordPress Archives - Nabtron Technology & Programming Guide Tue, 16 Apr 2019 18:50:57 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 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 AMP Error – boilerplate https://nabtron.com/amp-error-boilerplate/ https://nabtron.com/amp-error-boilerplate/#respond Tue, 16 Apr 2019 18:27:41 +0000 https://nabtron.com/?p=10907 This post solves the issue of amp boilerplate tags are malformed: The mandatory text inside tag 'head > style[amp-boilerplate]' is missing or incorrect. Cause was: YUI compressor (PHP) for CSS in w3 total cache (instead of default minify compressor). Solution: Change the compressor back to Minify (default), save settings and purge cache. Explanation: The boilerplate […]

The post AMP Error – boilerplate appeared first on Nabtron.

]]>
https://nabtron.com/amp-error-boilerplate/feed/ 0 10907
Sequence of do_action & add_action using WP hooks https://nabtron.com/sequence-do-add-action-wordpress-hooks/ https://nabtron.com/sequence-do-add-action-wordpress-hooks/#respond Tue, 26 Mar 2019 20:09:54 +0000 https://nabtron.com/?p=10896 I was trying to hook add_action into one of the plugins do_action, however was not able to get it done until I realized that they have a sequence to be followed! In this post I will give some examples to understand this unexpected behavior and how to make it expected. Wrong way of adding add_action […]

The post Sequence of do_action & add_action using WP hooks appeared first on Nabtron.

]]>
https://nabtron.com/sequence-do-add-action-wordpress-hooks/feed/ 0 10896
Error: Compilation failed: invalid range in character class at offset [Solved] https://nabtron.com/error-compilation-failed-invalid-range-character-class-offset/ https://nabtron.com/error-compilation-failed-invalid-range-character-class-offset/#comments Sat, 23 Mar 2019 05:37:48 +0000 https://nabtron.com/?p=10893 If you recently updated your server to PHP 7.3, you might have seen this error message: Compilation failed: invalid range in character class at offset . . . This error is due to update in PHP 7.3 and how it handles regular expressions. Error: Compilation failed: invalid range in character class at offset I encountered […]

The post Error: Compilation failed: invalid range in character class at offset [Solved] appeared first on Nabtron.

]]>
https://nabtron.com/error-compilation-failed-invalid-range-character-class-offset/feed/ 49 10893
WordPress redirect hack [Solved] https://nabtron.com/wordpress-redirect-hack/ https://nabtron.com/wordpress-redirect-hack/#comments Wed, 20 Mar 2019 18:25:37 +0000 https://nabtron.com/?p=10888 This week, a massive hack attempt on numerous wordpress based websites happened. The hack causes your wordpress website to redirect to getmyfreetraffic.com or any other similar website. This was an interesting find and was due to a zero day exploit in a wordpress plugin. I successfully fixed one of my clients website infected with this […]

The post WordPress redirect hack [Solved] appeared first on Nabtron.

]]>
https://nabtron.com/wordpress-redirect-hack/feed/ 2 10888
Configure Cloudflare SSL on nginx using WordPress https://nabtron.com/cloudflare-ssl-wordpress-nginx/ https://nabtron.com/cloudflare-ssl-wordpress-nginx/#respond Tue, 12 Jan 2016 20:54:51 +0000 https://nabtron.com/?p=9894 Configuring SSL is tricky sometimes, especially in cloudflare. In this post we’ll see how to implement flexible SSL offered by cloudflare on a WordPress based site running on nginx on Ubuntu 14.04 server. Please note, go step by step to avoid any misconfiguration. Doing steps in different order can result in server issues that can’t be […]

The post Configure Cloudflare SSL on nginx using WordPress appeared first on Nabtron.

]]>
https://nabtron.com/cloudflare-ssl-wordpress-nginx/feed/ 0 9894
NewsPaper theme errors https://nabtron.com/newspaper-theme-errors/ https://nabtron.com/newspaper-theme-errors/#respond Mon, 11 Jan 2016 00:46:05 +0000 https://nabtron.com/?p=9892 One of my client is using NewsPaper theme by TagDiv. The theme is fine, however it has a lot of bugs, due to any reason, not part of this post. Anyway, first of all, when he updated the site to WordPress 4.4, the category pages pagination broke (or probably at 4.4.1, he told me today […]

The post NewsPaper theme errors appeared first on Nabtron.

]]>
https://nabtron.com/newspaper-theme-errors/feed/ 0 9892
WP Redirect Permalink https://nabtron.com/wp-redirect-permalink/ https://nabtron.com/wp-redirect-permalink/#comments Sun, 28 Jun 2015 00:44:46 +0000 http://nabtron.com/?p=8816 We’re happy to announce the release of our next plugin: WP Redirect Permalink. Plugin details are as follows: Plugin Name: WP Redirect Permalink Latest version: 1.0 Download Link: WP Redirect Permalink on Github Tags: remove postid from end, change permalink, redirect, permalink Details WP Redirect Permalink plugin allows you to efficiently redirect your previous urls that […]

The post WP Redirect Permalink appeared first on Nabtron.

]]>
https://nabtron.com/wp-redirect-permalink/feed/ 4 8816
WP BMI – Plugin https://nabtron.com/wp-bmi-plugin/ https://nabtron.com/wp-bmi-plugin/#respond Thu, 04 Dec 2014 16:58:36 +0000 http://nabtron.com/?p=8486 We’re happy to announce the release of BMI widget for wordpress plugin Plugin Name: WP BMI Download Link: WP BMI on wordpress.org | WP BMI on github WP BMI widget allows you to show a widget on your WordPress sidebar where you visitors can check their BMI. This widget installed on your blog provide your visitors the option […]

The post WP BMI – Plugin appeared first on Nabtron.

]]>
https://nabtron.com/wp-bmi-plugin/feed/ 0 8486
Nginx – The uploaded file could not be moved to wp-content/uploads [solved] https://nabtron.com/nginx-the-uploaded-file-could-not-be-moved-to-wp-contentuploads-solved/ https://nabtron.com/nginx-the-uploaded-file-could-not-be-moved-to-wp-contentuploads-solved/#comments Tue, 11 Nov 2014 04:25:53 +0000 http://nabtron.com/?p=8463 While trying to upload the image in my WordPress post, I received an error saying: The uploaded file could not be moved to wp-content/uploads Server Configuration The server which got this error is: vps (unamanged with ssh/root access) ubuntu 14.04 minimal nginx with php-fpm and mysql NO ftp WordPress 4.0 The directories were in standard […]

The post Nginx – The uploaded file could not be moved to wp-content/uploads [solved] appeared first on Nabtron.

]]>
https://nabtron.com/nginx-the-uploaded-file-could-not-be-moved-to-wp-contentuploads-solved/feed/ 2 8463
WP LogInOut – Plugin https://nabtron.com/wp-loginout-plugin/ https://nabtron.com/wp-loginout-plugin/#respond Wed, 22 Oct 2014 00:36:44 +0000 http://nabtron.com/?p=8340 We’re excited to announce the launch of our next WordPress plugin for automatic login / logout links in selected menu. Plugin Name: WP LogInOut Download from WordPress.org: Wp-LogInOut plugin The plugin uses the wp_loginout functionality and extends it to automatically show login or logout button on your selected menu. The status of login or logout […]

The post WP LogInOut – Plugin appeared first on Nabtron.

]]>
https://nabtron.com/wp-loginout-plugin/feed/ 0 8340