Never miss a thing!

Sign up to have the latest news and announcements from my site delivered straight to your inbox.
  • This field is for validation purposes and should be left unchanged.

Reader Interactions


  1. Thanks so much! This is exactly what I need. However, I’m a novice. There’s one piece here that I need help with. I have no problem with STEP 2, editing the functions.php file. I need help with STEP 1. I am not sure where in the code editor to add the house.svg file and how to name it. Can you help with that?

    Also, I went to GitHub to download what I thought would be a jpg that I could upload to the WP Images folder, but only saw a RAW file with no instructions. So I can’t get beyond STEP 1.

    Appreciate any help you can provide…

  2. Ok, I figured out STEP 1. Used TextWrangler to create the house.svg file and uploaded to the Images folder.

    I did run into a problem with STEP 2. When I pasted the above code in the function.php file, I received the following error:

    “Your PHP code changes were rolled back due to an error on line 224 of file wp-content/themes/gallery-pro/functions.php. Please fix and try saving again.

    syntax error, unexpected ‘<', expecting end of file"

    This is the code that is on line 224: <?php //remove this line

    Can you help?

  3. Hi Carrie. I tried twice b ut got the following error message: “Something went wrong. Your change may not have been saved. Please try again. There is also a chance that you may need to manually fix and upload the file over FTP.”. I did as you suggested and removed that line. Not sure what the problem may be?

  4. Hi Carrie. Wanted to let you know I was able to add the code through the Code Snippets plugin and it worked perfectly! Apparently there’s a WP issue with making updates directly to the Child Theme’s functions.php file. Just happy it worked. Thank you for sharing!

Leave a Reply

Your email address will not be published. Required fields are marked *