Category: developer

THEME UPDATE CRASHED A SITE

A recent update to the theme used on one of our sites and others caused a problem with WordPress. Unfortunately HTTP 500 errors are notoriously difficult to pin down. After removing all of the plugins and the site still threw HTTP 500 errors, we then turned to the theme to attempt to get the site …

Continue reading

WP SORRY YOU ARE NOT ALLOWED…

WP users often run across the error that they are not allowed to post. Going back leads to an empty form. This error has been random and devilishly hard to figure out why,. Some sites have several suggestions, all of which are useless. Generally the error is transient, starting over usually results in a successful …

Continue reading

CENTER ALIGN ADVERTISEMENTS

Sometimes a a web developer wants to center align an advertisement to make it fit the page style or to act as a page break etc. There are several ways to do this depending on the type of ad in use. Today most advertisements are JavaScript code snippets so its simple to use a <div> …

Continue reading

PHP 7.2 AND WORDPRESS 4.9.4 OUTPERFORM

PHP 7.2 has managed to improve server performance rather significantly. It even outperforms the  HipHop Virtual Machine that Facebook developed to compile scripts in a big to increase performance. Kinsta benchmarked several CMS systems in addition to WordPress and PHO 7.2 delivered the best results across the board. We use WordPress is easily popular choice for …

Continue reading

WORDPRESS 4.9.4

WordPress 4.9.4 has been released. It has a lot of fixes to deal with well known problems. It release fixes a severe bug in 4.9.3, which will cause sites that support automatic background updates to fail to update automatically, and will require action from you (or your host) for it to be updated to 4.9.4. …

Continue reading

ADD MEDIA TO WORDPRESS

WordPress has the ability to upload images directly to a post, but there may be times when FTP of a large number of images is more expedient. MEDIA FROM FTP is a handy plugin that will add any unknown images to the WP media gallery where they can be inserted into articles as needed. This …

Continue reading

ASYNCHRONOUS JAVASCRIPT

Asynchronous JavaScript can improve page loading times considerably. The idea is very simple. <script defer=”defer” src=www.example.com/somescript.js> signals that the script can be loaded in parallel with the main document. The advantage is that a slow service from Google or other ad provider does not have to have an adverse effect on overall page render times. …

Continue reading

WORDPRESS TABLE BUG

wordpress

Pasting an HTML table into the text view of the editor in WordPress will display double lined boxes even for single line rows. This has been a bug extant even with WP 4.8. To circumvent this bug you need to add some inline style to each row. Add style=”line-height: 0;” to each <tr> and <th> …

Continue reading

WORDPRESS 4.7.4 LINKS

For some reason WordPress 4.7.4 has made some changes to the way it handles advertising links. The problem arose with the abuse of target=”_blank” where it was termed reverse tab napping. We have not seen this reported so we suspect that is more a WordPress related problem. WordPress adds rel=”noreferrer noopener” to links using target=”_blank” which will …

Continue reading

WORDPRESS HTTP 304 ETAG HEADER PLUGIN

By deploying some additional code to your WordPress site, it can cut down on the need to have Google etc have to download every page on your site. The idea of HTTP 304 is to tell a search engine a given page is unchanged. By using a hash value, a tag called ETAG can be …

Continue reading