Answers.Body: <p>Add the following snippet to your theme <code>functions.php</code> replacing <code>page.php</code> with the template you want to use.</p>
  
  <p><strong>Note:</strong> you have to be using >= v4.6 of CiviCRM in order to use this.</p>
  
  <pre><code>add_filter('civicrm_basepage_template', 'my_base_template');
  
  function my_base_template($template){
      return 'page.php';
  }
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-23T20:15:20.533Z
Answers.LastActivityDate: 2016-03-24T21:35:53.613Z
Answers.LastEditDate: 2016-03-24T21:35:53.613Z
Answers.UserDisplayName: Andrei
Body: <p>The wordpress site is setup with a 2 column template as the default. But this doesn't work for event/contribution forms. If I forget to set the template to full width I get a sidebar. If I set the template to full width, I get the sidebar inserted at the bottom of the forms pages. I think there is a way to set the default template for a form but can't find it.</p>
  
Tags: <wordpress>
Title: Changing template for event/contribution forms
ThreadText: # Changing template for event/contribution forms
  
  (Asked by: username_0 on 2016-02-21)
  
  The wordpress site is setup with a 2 column template as the default. But this doesn't work for event/contribution forms. If I forget to set the template to full width I get a sidebar. If I set the template to full width, I get the sidebar inserted at the bottom of the forms pages. I think there is a way to set the default template for a form but can't find it.
  
  **Tags:** wordpress
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2016-02-23. Score: 1
  
  Add the following snippet to your theme `functions.php` replacing `page.php` with the template you want to use.
  
  **Note:** you have to be using >= v4.6 of CiviCRM in order to use this.
  
  ```
  add_filter('civicrm_basepage_template', 'my_base_template');
  
  function my_base_template($template){
      return 'page.php';
  }
  
  ```
  
  
  ---
  
  