Answers.Body: <p>I would recommend you to create a wordpress page </p>
  
  <p>For logged in member you should be able to find his contact ID and membership ID </p>
  
  <p>Using some PHP code you can select civicrm_membership table from civicrm database. Which will provide you with membership End date and you can use that to display to the member before renewing </p>
  
  <p>I guess this helps !!!</p>
  
  <p>If you need more help please let me know </p>
  
  <p>Thanks </p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-05T19:54:42.060Z
Answers.Text: I'm not sure if I should mark this as the answer if I didn't end up using it. It is still probably the best solution, but we ended up avoiding the problem altogether in a different way.
Answers.UserDisplayName: Scott Wilton
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-03-07T09:10:58.870Z
Answers.Text: @ScottWilton It would be better to add your solution as answer - In future people will have two different solution for a single problem
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2019-02-21T09:46:03.413Z
Answers.LastActivityDate: 2019-02-21T09:46:03.413Z
Answers.UserDisplayName: Ramesh - ARTECH Consultancy
Body: <p>I have a contribution page set up to allow people to sign up for a new membership or renew a membership. The membership is a fixed period type. The user must either create an account or log in. I would like the Membership price option to show the dates (or year) that they are signing up for. Thus if they are a new member, it would should the current period (e.g. "2019 Membership") and if they log in as a current renewing member, it would show that future Membership dates they are choosing (e.g. "2020 Membership"). This is on a Wordpress site.</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-19T19:05:21.340Z
Comments.Text: It may not help but .... did you know that you can add different text to show on the contribution page that will depend on whether the logged in user (or contact using a checksum) has an existing membership (ie is a renewal) v a New membership.
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-20T13:27:42.267Z
Comments.Text: @petednz-fuzion that's somewhat helpful but doesn't solve the problem in a future-proof way. I could manually each year update it so that the renewal user sees next year and a new user sees this year. How do I do this?
Comments.UserDisplayName: Scott Wilton
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-20T13:28:29.683Z
Comments.Text: This doesn't solve the problem that upon checkout, the user doesn't know which year they are paying for, unless they can remember what it said on the previous page help text.
Comments.UserDisplayName: Scott Wilton
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2019-02-21T19:10:43.273Z
Comments.Text: You may want to edit your Question to add that last info if it is extra info not including in your original text
Comments.UserDisplayName: petednz - fuzion
Tags: <wordpress><civimember>
Title: Include dates in a membership sign up form
ThreadText: # Include dates in a membership sign up form
  
  (Asked by: username_0 on 2019-02-19)
  
  I have a contribution page set up to allow people to sign up for a new membership or renew a membership. The membership is a fixed period type. The user must either create an account or log in. I would like the Membership price option to show the dates (or year) that they are signing up for. Thus if they are a new member, it would should the current period (e.g. "2019 Membership") and if they log in as a current renewing member, it would show that future Membership dates they are choosing (e.g. "2020 Membership"). This is on a Wordpress site.
  
  **Tags:** wordpress, civimember
  
  > **Comments:**
  > **username_1**: It may not help but .... did you know that you can add different text to show on the contribution page that will depend on whether the logged in user (or contact using a checksum) has an existing membership (ie is a renewal) v a New membership.  
  > **username_0**: @username_1 that's somewhat helpful but doesn't solve the problem in a future-proof way. I could manually each year update it so that the renewal user sees next year and a new user sees this year. How do I do this?  
  > **username_0**: This doesn't solve the problem that upon checkout, the user doesn't know which year they are paying for, unless they can remember what it said on the previous page help text.  
  > **username_1**: You may want to edit your Question to add that last info if it is extra info not including in your original text  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2019-02-21. Score: 2
  
  I would recommend you to create a wordpress page
  
  For logged in member you should be able to find his contact ID and membership ID
  
  Using some PHP code you can select civicrm\_membership table from civicrm database. Which will provide you with membership End date and you can use that to display to the member before renewing
  
  I guess this helps !!!
  
  If you need more help please let me know
  
  Thanks
  
  > **Comments:**
  > **username_0**: I'm not sure if I should mark this as the answer if I didn't end up using it. It is still probably the best solution, but we ended up avoiding the problem altogether in a different way.  
  > **username_2**: @username_0 It would be better to add your solution as answer - In future people will have two different solution for a single problem  
  
  ---
  
  