Skip to main content

Feedback widget for Wordpress

Here's a step-by-step guide to help you install PushFeedback in your Wordpress site.

Feedback wiget for docs screenshot

Prerequisites

  • A PushFeedback account. If you don't have one, sign up for free.
  • A project created in your PushFeedback dashboard. If you haven't created one yet, follow the steps in the Quickstart guide.
  • A Wordpress website.

Installation

To embed the PushFeedback widget into your WordPress site:

  1. Access the admin dashboard of your WordPress website by navigating to http://yourwebsite.com/wp-admin/.

  2. Add the PushFeedback styles and scripts:

    1. Navigate to Appearance > Theme Editor.

    2. From the right sidebar, select the header.php file to edit the <head> section.

    3. Insert the following code within the <head> section:

      <!-- Initialize the PushFeedback widget -->
      <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/pushfeedback/dist/pushfeedback/pushfeedback.css">
      <script type="module" src="https://cdn.jsdelivr.net/npm/pushfeedback/dist/pushfeedback/pushfeedback.esm.js"></script>
  3. To insert the feedback button just before the </body> tag:

    1. While still in the Theme Editor, locate and click on the footer.php file from the right sidebar.

    2. Just before the </body> tag, paste the following snippet:

      <feedback-button project="<YOUR_PROJECT_ID>" button-position="bottom-right" modal-position="bottom-right" button-style="light">Feedback</feedback-button>

      Replace <YOUR_PROJECT_ID> with your project's ID from the PushFeedback dashboard.

  4. Once you've saved your changes, visit your WordPress website in a web browser. Confirm that the feedback button is visible and operational.

Next steps

For more about customization and additional features exploration, check out the Configuration section.

Need assistance? We're here to help! Reach out to us at PushFeedback Support.