Skip to content

How to Create a Custom Campaign Template

Changing the campaign page template requires adding a new template to your theme or child theme. By default, Charitable will use the same template as is used in your theme for blog posts.

To customise the template, you can do the following (note: this requires FTP or similar to be able to make the changes):

  • In your theme folder, look for a file called single.php, or if one doesn’t exist, index.php.
  • Copy and paste the content of this file into a new file called single-campaign.php. You can save this file to your theme or add it to a child theme if you are using one.
  • You can now make the changes to your single-campaign.php file to update what campaign pages look like.