How Do I Add a Hero Image in WordPress?

Adding a hero image in WordPress is a fairly simple process. You will first need to locate the image you would like to use, and then copy the file to the appropriate location on your server.

Once you have the image located, you will need to create a new file called “wp-config.php” on your WordPress site, and enter the following information:.

define(‘WPHELDER_IMAGEMAP_URL’, ‘http://yourdomain.com/wp-content/themes/yourtheme/images/hero/’);

define(‘WPHELDER_IMAGEMAP_FILE’, ‘hero.jpg’);

Finally, you will need to add the following line to the bottom of your WordPress site’s main template file:

Your hero image will now be available to all visitors to your WordPress site.