WordPress

WordPress – Solutions, Bugs, Modifications, Updates

WordPress: Image Editor is not loading in IE under tight security

2017/08/09
By
Modified: 2017/06/25
WordPress - Image Editor is not Loading

Let’s say you have a very thigh zone security setup in IE.   All Internet sites are set to High security level, and  Trusted sites are set a Medium-High. In that case you might experience a painful WordPress problem – Image Editor is not loading in IE.  It is getting stuck on a dark loading image. Symptoms: when you click on Add an Image or Edit Image buttons, all you see is your screen is darkening and running image in the middle imitating loading is staying on, forever. To solve this problem without killing your security settings add site about:blank to you trusted site list and here we go – problem is solved!

Read more »


ERROR: Unreadable CAPTCHA cookie – RESOLVED!

2017/08/07
By
Modified: 2017/06/25
WordPress -  Unreadable CAPTCHA cookie

RESOLVED!  One of the test WordPress instances had an impossible, unpleasant and not covered on Google error message.  When user is trying to register, the CAPTCHA code is displayed properly and validation is correct, but when the button Register is press, the page would display this: ERROR: Unreadable CAPTCHA cookie I have a plugin “SI CAPTCHA Anti-Spam” installed.  The error message is from this plugin. I’ve tried changing browsers, clear cache and cookies. Nothing worked.  No luck on Internet search either.  What to do? Finally I changed one of the settings on the plugin itself.  I check an option for: Use CAPTCHA without PHP session And it worked!  The error message…

Read more »

Make Contact Form 7 work again – change your FROM field

2017/07/20
By
Modified: 2017/06/25

I noticed that my Contact Form 7 started to fail tests without a slightest provocation. This article describes simple steps how to make it work reliable again.   Purpose Reliably receive messages generated by Contact Form 7 from any address.   Problem Many SMTP providers further restricted message relay policies.  They now only allow messages FROM validate addresses.    Solution  Modify your WP email setup -1- Open “Advanced Email Options” -2- Set “From Email” field the same as email account you authenticating  your SMTP login   Test your WP email setup Send several messages using “Send Test” on the bottom of “Advanced Email Options” page, and make sure you are getting…

Read more »

WordPress Contact Us form – Redirecting Back to Previous Page

2017/07/14
By
Modified: 2017/06/25
Contact Form - Use Messages to Redirect Back

How to implement a Contact Us form in WordPress?  This article describes how to add a very simple Contact from using WordPress 3.0.1 and two plug-in(s): – Contact Form 7 and – Really Simple CAPTCHA. Later, you can customize the contact form to your delight using HTML tags through provided user interface.  Very flexible solution and as far as I can see – it is a bug free solution. As you can see on the picture, this solution has a support for CAPTCHA image code.   CAPTCHA is an image with numbers and letters that appears above Submit button.  User is required to enter these numbers and letters into a text filed to…

Read more »

Adding a new WordPress site to an Existing Installation

2017/07/12
By
Modified: 2017/06/25

Task You already have a working WordPress (WP) site.  Now, you need to add one more site with a new MySQL database.  This document describes how to add one more database and install a new WP site on the same server. Download Download latest WordPress ZIP package (3.X) and unzip it to your future site location. Open IIS Admin Create a new virtual directory pointing to that location Side Notes – Change root password You need to know existing root user password. Login into MySQL Command Line Client. Select database: use mysql; Reset user password: update user set password=PASSWORD(“NewPassword”) where User=’root'; Allpy new password: flush privileges;   Create a New Database…

Read more »

What it Takes to Run Your Own Web Site (ever in progress)

2017/07/08
By
Modified: 2017/06/25
New-Web-Area

Joy of Web Publishing Very early on I noticed that Web content is a very special type of content, and Web development is a very special type of development.  Everything you say and everything you design is immediately available not just to millions, but to an entire Earth population with electricity and Internet.  And that is amazing.   And that is a true lure of running a Web site. Your thoughts and ideas are buried deep inside your head, but with Internet these ideas can find their customer, and your thoughts can find their reader.  Your site is your creation.  It is another dimension of you. Answer Fundamental Questions What is your Angle?…

Read more »

Set up bbPress as WP Plugin: Convert from bbPress standalone

2017/07/04
By
Modified: 2017/06/25

We went live with new bbPress plugin on January 28, 2013.   bbPress as a plugin for WordPress I started preparing for series of upgrades to the latest WP version (3.5), and Theme and all the plugings.  It was immediately obvious that among other things, I would have to look into migrating from integrated bbPress to a bbPress as a WP plugin. So far my experience was pretty intense.  I will try to log my progress here as I am moving forward preparing a production roll-out on my test site. Migrate your bbPress data from “bb_” tables into your “wp_” database I was able to migrate all the content from old…

Read more »

Adding Selectable Styles to the WordPress Editor

2017/06/22
By
Modified: 2017/04/30
TinyMCE Advanced - Styles are Listed

How to add Code style and more into Style drop down box inside WordPress editor? If you don’t mind one more plug-in – download and install TinyMCE Advanced Plug-in. According to my tests, this plug-in works on WordPress 3.0.1.  This plug-in allows you to customize your buttons in your WordPress editor and add a number of new features: – Complete control of  your buttons in WordPress editor; – GUI for tables operations; – Insert an image from outside through a  URL; – Fixes IE spell check problem for 64-bit browser; – GUI dialog box to edit CSS element style; – Font drop-down box; – Font size drop-down box; – Font color and…

Read more »

New User Registration in WordPress 3.X

2017/06/10
By
Modified: 2017/04/30
WordPress-User-Registration

There is a certain magic in many well-constructed marvels.  This definitely applies to a WordPress.  Just recently I needed to fix something inside user registration procedure, and with very limited PHP knowledge, I was able to figure out, what was going on and fix the problem. On the way there, I couldn’t help but admire, how well everything is documented and linked-in to minimize code duplication.  There is an obvious truth in saying that “the best things in life are free”. When user clicks on a link to register, a wp_login.php page opens up.  This page is a conglomerate of  3 different page-forms: — login, — register and — recover a password. Proper…

Read more »

WordPress: different header images for different categories

2017/06/05
By
Modified: 2017/04/30

If your theme has a header image, this article is for you.   It turns out, it is relatively easy to display different site header images for different post categories. To do that, you need to add an IF statement to header.php file.  This IF statement will control, what header image is loaded depending on (in this example) current category. First, upload a new header image using new article and add new media functionality. Note the path, where your new header image landed in the Upload directory structure. Here is how header image code looked before the change in header.php:   <?php if(pbt_theme_option('logo_header')) { ?> <a href="<?php echo home_url(); ?>/" class="headerimage"> <img src="<?php…

Read more »