### [How to Link Your Form Pages Form Logo](https://wpforms.com/developers/how-to-link-your-form-pages-form-logo/)

**Published:** October 6, 2021
**Author:** Editorial Team

**Excerpt:** This tutorial will show you how to link your Form Pages logo to the homepage with a little JavaScript and PHP. 

**Content:**

## Introduction

Would you like to link your **Form Pages** logo from your form to your homepage? In this tutorial, we’re going to create a form using the [WPForms Form Pages addon](https://wpforms.com/addons/form-pages-addon/ "Form Pages Addon"), upload a logo for our form, and then add a snippet that would link that logo back to our homepage using a small code snippet.

## Creating your form

First, we’ll need to create a new form and add our fields to this form. For the purpose of this tutorial, we’re going to just create a reservation form with some basic fields.

![first you will need to create your form](https://wpforms.com/wp-content/uploads/2021/10/form-pages-form.jpg)

## Enabling Form Pages

Next, you’ll need to enable the form to use **Form Pages**. For any assistance with this, [please see this documentation](https://wpforms.com/docs/how-to-install-and-use-the-form-pages-addon/ "How to Install and Use the Form Pages Addon in WPForms").

Inisde the form builder, just click on **Settings** and then **Form Pages** to enable this for your form.

![enable form pages in your form settings](https://wpforms.com/wp-content/uploads/2021/10/enable-form-pages-wpforms.jpg)

## Uploading your logo

While on the **Form Pages** tab, click the **Upload Image** and upload your logo. Once complete, click **Save** to save the changes.

![while on the form pages tab, click to upload your logo image](https://wpforms.com/wp-content/uploads/2021/10/wpforms-form-pages-upload-logo.jpg)

By default, this image doesn’t link to anything. In the next step, we’re going to add a code snippet that will link this image back to the homepage.

## Adding the snippet to link your form logo

Now it’s time to add a snippet to your site that will turn your logo image into a link. If you need any help in adding snippets to your site, [please see this tutorial](https://wpforms.com/developers/how-to-add-custom-php-or-javascript-for-wpforms/ "How to Add Custom PHP or JavaScript for WPForms").

```

/**
 * Link your form logo on form pages.
 *
 * @link   https://wpforms.com/developers/how-to-link-your-form-pages-form-logo/
 */

function wpf_dev_form_pages_add_link() {
	?>

**Categories:** Tutorials

**Tags:** Javascript, JS, PHP

---

