When they search, make sure they find you!

Logo Upload

The Logo Upload feature lets you add your business or organization logo to payment emails, giving them a polished, branded appearance.

Uploading Your Logo

  1. Navigate to Payment Links > Settings.
  2. Scroll down to the Logo section.
  3. Click the “Upload Logo” button. This opens the standard WordPress Media Library modal.
  4. Select an existing image from your media library or drag a new file to upload it.
  5. Click “Select” (or the equivalent button in the media modal) to confirm your choice.
  6. A preview of the logo will appear next to the upload button on the settings page.
  7. Click “Save Changes” to store your selection.

How It Is Stored

The plugin stores the WordPress attachment ID of the selected image in the database under the option key idplg_logo. It does not store the image URL directly. This means if you later regenerate thumbnails or change your site’s URL structure, the logo reference remains valid because the plugin retrieves the current URL from the attachment ID at runtime.

Using the Logo in Emails

To include your logo in email templates, use the {logo} merge tag anywhere in your Email Body. When the email is sent, the plugin replaces {logo} with an HTML <img> tag pointing to the full-size image URL:

<img src="https://example.com/wp-content/uploads/2025/01/logo.png" alt="Logo" style="max-width: 180px; height: auto;" />

In the default email template, the logo appears centered at the top of the email with a max-width: 180px style to ensure it looks good across different screen sizes and email clients without being oversized.

Removing the Logo

To remove a previously uploaded logo, click the “Remove” button that appears next to the logo preview on the Settings page, then save your changes. Once removed, the {logo} merge tag will output an empty string in emails, so no broken image will appear.

Recommended Image Specs

  • Format: PNG or JPG. PNG is preferred if your logo has a transparent background.
  • Width: Between 300px and 600px at 2x resolution for crisp display on retina screens (the CSS constrains it to 180px display width).
  • File size: Keep it under 100 KB for fast email loading.

Option key: idplg_logo
Type: Integer (WordPress attachment ID)
Default: Empty (no logo)