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.
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