Generate thumbnails and Related Post thumbnails plugins
A while ago I got rid of Arthemia, a template with a very good aesthetic for Wordpress but with the disadvantage of lifting the thumbnail images with the timthumb function that causes serious problems in resource width consumption. After several tickets raised by the HostGator administrators, I decided to save the template while it improves that weakness.
In recent Wordpress updates came the automatic generation of thumbnails, which are previously stored in their different sizes. This will increase the hosting width but it is insignificant considering that they are not large files and the usefulness that new themes are giving to this functionality. Thus, every time an article is created, Wordpress generates thumbnails with widths of 32, 160 and 170 pixels.
I'm going to use at least two plugins that take advantage of this function and little problems in the consumption of resources; Both construction of Maria Shaldybina and I mean the plugins Generate posts thumbnails y Related Posts.
Generate previous post thumbnails.
A limitation of the change made by Wordpress is the thumbnails of all the previous posts. For this, the Generate Thumbnails plugin does a great job, it mass works all the thumbnails of each article on the blog, it includes a log in which the problems found are reflected, generally by images stored on another site or folder within the same domain . It is not appropriate to do this process during times when traffic is high, as it takes a few minutes and we could get a ticket from HostGator.
This also helps so that the thumbnails of the Swift theme do not look blurry, because when not finding, it raises 32 × 32 images with a very bad appearance.
Placing related links
This other plugin, Related posts thumbnails, places links related by categories or tags at the end of the articles, raising a thumbnail image. It is obvious that for it to work you have to execute the previous process, otherwise it will only show a default image in articles that do not have a thumbnail.
A common problem in this plugin is usually special characters, such as accented letters or ñ (á é í or ú ñ). This happens because although the database may be configured in UTF-8 as is my case, the generated queries may not be configured.
For this, the plugin must be edited. It is done in the left editor tab, of plugins, then the file is chosen Related-posts-thumbnails.php And the content is copied for editing out.
Search near row 362, and remove “htmlspecialchars(” and a closing parenthesis “)”. To do this you can edit directly in Cpanel, or use DreamWeaver or CoffeeCup, as they are programs that allow us to see the row numbers.
This will solve the problem of accents.