HMRC Gateway Filing Trojan

Today I received an email which appeared to come from the HMRC Gateway with the email address gateway.confirmation@gateway.gov.uk.

The message states:

The submission for reference 485/GB9807963 was successfully received and was not processed.

Check attached copy for more information.

This is an automatically generated email. Please do not reply as the email address is not monitored for received mail.

and it includes a zipped file attachment.

This is a concern for those of us that use the HMRC Gateway for filing our annual tax return but although the email may look genuine be aware that this is a scam, it’s not from HMRC at all and the attachment contains a Trojan that will harm your computer if opened.

I use Norton Internet Security Suite which caught the email and junked it. If your security didn’t catch it delete the message and buy Norton.

Norton Internet Security Suite

35 million ‘sort of’ free images from Getty Images

Finding the right image to include in your website just became a lot easier and without the fear of infringing copyright. Getty Images, the world’s largest photographic agency has made 35 million of its images free to use (with caveats). Users will be allowed to embed images onto their site for free.

2014-03-12_163016The catch for users is that Getty Images may collect data from your website on which images are popular and push adverts to it through the viewer. The Getty Images terms of use state:

Embedded Viewer
Where enabled, you may embed Getty Images Content on a website, blog or social media platform using the embedded viewer (the “Embedded Viewer”). Not all Getty Images Content will be available for embedded use, and availability may change without notice. Getty Images reserves the right in its sole discretion to remove Getty Images Content from the Embedded Viewer. Upon request, you agree to take prompt action to stop using the Embedded Viewer and/or Getty Images Content. You may only use embedded Getty Images Content for editorial purposes (meaning relating to events that are newsworthy or of public interest). Embedded Getty Images Content may not be used: (a) for any commercial purpose (for example, in advertising, promotions or merchandising) or to suggest endorsement or sponsorship; (b) in violation of any stated restriction; (c) in a defamatory, pornographic or otherwise unlawful manner; or (d) outside of the context of the Embedded Viewer.

“Getty Images (or third parties acting on its behalf) may collect data related to use of the Embedded Viewer and embedded Getty Images Content, and reserves the right to place advertisements in the Embedded Viewer or otherwise monetise its use without any compensation to you.”

Anyway, here’s a cute rubber duck picture from Getty as an example.

Child Themes in WordPress

If you update a modified WordPress template, for security patches etc.,  then your modifications will be lost as the template files will be overwritten during the update. However, if you create a child theme, you can update the parent theme and keep your changes.

Creating a Child Theme

child-theme-directory-structureTo create a child theme, first create a new directory in your themes directory. The themes directory is located at wp-content/themes. The  directory name should not include any spaces as part of the name and following common practice should preferably use the name of the parent theme folder with “-child” appended to it. For example, if you are making a child of the twentyeleven theme, your folder name would be twentyeleven-child.

A stylesheet file named style.css is then created and saved to the child theme directory. This is the only file required to make a child theme and it must start with the following lines:

/*
 Theme Name:   Twenty Eleven Child
 Theme URI:    http://mydomain.com/twentyeleven-child/
 Description:  Twenty Eleven Child Theme
 Author:       Fred Bloggs
 Author URI:   http://mydomain.com
 Template:     twentyeleven
 Version:      1.0.0
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  twenty-fourteen-child
*/

@import url("../twentyeleven/style.css");

/* =Theme customization starts here
-------------------------------------------------------------- */

You can change each of these lines to suit your theme. The only required lines are the Theme Name, and the Template. The Template is the directory name of the parent theme. In this case, the parent theme is the TwentyEleven theme, so the Template is twentyeleven.

Because the child theme’s stylesheet is included after the parent theme’s then it’s styles will override those in the parent theme’s stylesheet (which is why they’re called cascading style sheets)

To activate the child theme, log in to your site’s dashboard, and go to Appearance > Themes. Here you will see your child theme listed and you click ‘Activate’ to use it.