Answers.Body: <p>It won't actually redirect you to the URL of the WordPress Base Page.  What it will do is append a query string to the URL of the page that had the shortcode, and then it will use the <em>content</em> of the WordPress Base Page.  </p>
  
  <p>See my answer to my own question <a href="https://civicrm.stackexchange.com/questions/8904/wp-base-page-not-working-as-expected?rq=1">here</a> for more details.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-02T23:18:01.170Z
Answers.LastActivityDate: 2016-02-02T23:18:01.170Z
Answers.LastEditDate: 2017-04-13T12:53:13.167Z
Answers.UserDisplayName: susan langenes
Answers.Body: <p>I would suggest to try telling CiviCRM what is your base template.php pasting this in your functions.php</p>
  
  <pre><code>add_filter( 'civicrm_basepage_template', 'my_basepage_template' ); 
  
  function my_basepage_template( $template ) { 
  return 'page.php'; 
  } 
  </code></pre>
  
  <p>Replace page.php with the page template in use by your theme.</p>
  
  <p>If that doesn't work, try changing to the default WordPress theme (Twenty Fifteen) and try submitting the form in the Contribution page you have created and report back.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-22T10:35:13.700Z
Answers.Text: Just to say it'll need to be 4.6 for this to work.
Answers.UserDisplayName: Andrew West
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-09-21T21:41:43.273Z
Answers.LastActivityDate: 2015-09-21T21:41:43.273Z
Answers.UserDisplayName: Andrei
Body: <p>I would like to use a custom display for some civicrm page as error contribution form pages.</p>
  
  <p>So i have created a template wordpress page named civicrm, fill "civicrm" in WordPress Base Page field in admin.</p>
  
  <p>I have inserted the shortcode to insert a contribution form
  But when i validate the form on frond end i am not redirected to the good url (the one with base page i have specified)</p>
  
  <p>Could you help me ?</p>
  
  <p>Thanks</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-09-21T14:13:08.453Z
Comments.Text: are you getting any error message ?
Comments.UserDisplayName: Ramesh - ARTECH Consultancy
Tags: <wordpress>
Title: WordPress Base Page not working?
ThreadText: # WordPress Base Page not working?
  
  (Asked by: username_0 on 2015-09-21)
  
  I would like to use a custom display for some civicrm page as error contribution form pages.
  
  So i have created a template wordpress page named civicrm, fill "civicrm" in WordPress Base Page field in admin.
  
  I have inserted the shortcode to insert a contribution form
  But when i validate the form on frond end i am not redirected to the good url (the one with base page i have specified)
  
  Could you help me ?
  
  Thanks
  
  **Tags:** wordpress
  
  > **Comments:**
  > **username_1**: are you getting any error message ?  
  
  ---
  
  ## 2 answers
  
  ### Answer by username_2 on 2016-02-02. Score: 1
  
  It won't actually redirect you to the URL of the WordPress Base Page. What it will do is append a query string to the URL of the page that had the shortcode, and then it will use the *content* of the WordPress Base Page.
  
  See my answer to my own question [here](https://civicrm.stackexchange.com/questions/8904/wp-base-page-not-working-as-expected?rq=1) for more details.
  
  
  ---
  
  ### Answer by username_3 on 2015-09-21. Score: 1
  
  I would suggest to try telling CiviCRM what is your base template.php pasting this in your functions.php
  
  ```
  add_filter( 'civicrm_basepage_template', 'my_basepage_template' ); 
  
  function my_basepage_template( $template ) { 
  return 'page.php'; 
  } 
  
  ```
  
  Replace page.php with the page template in use by your theme.
  
  If that doesn't work, try changing to the default WordPress theme (Twenty Fifteen) and try submitting the form in the Contribution page you have created and report back.
  
  > **Comments:**
  > **username_4**: Just to say it'll need to be 4.6 for this to work.  
  
  ---
  
  