Advertisement:

Author Topic: How to Show Expiration Date in User Account Listing Page  (Read 657 times)

nikolai

  • Jr. Member
  • **
  • Posts: 72
How to Show Expiration Date in User Account Listing Page
« on: October 23, 2017, 11:58:42 pm »
I would like to add the expiration date that is shown in the Manage Listing Admin page to a user's account listing page. How do I proceed? Thank you in advance for helping.

Please see attached images.


marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: How to Show Expiration Date in User Account Listing Page
« Reply #1 on: October 24, 2017, 12:01:46 am »
In bender theme there is loop-single.php

and there under
<?php if($admin){ ?>
                    <span class="admin-options">

You can input the expiration date by using

<?php echo osc_item_dt_expiration(); ?>

For your theme I don't know.

nikolai

  • Jr. Member
  • **
  • Posts: 72
Re: How to Show Expiration Date in User Account Listing Page
« Reply #2 on: October 24, 2017, 12:16:59 am »
Thanks for your quick reply.

nikolai

  • Jr. Member
  • **
  • Posts: 72
Re: How to Show Expiration Date in User Account Listing Page
« Reply #3 on: October 24, 2017, 12:55:35 am »
I don't know how to say thank you to you. You have made my day. I have added the snippet in loop-user-list.php and loop-user-grid.php (around line 203 in both files) and it works perfectly. You are a real shining star. THANK YOU, THANK YOU, THANK YOU!!!! MERCI!
« Last Edit: October 25, 2017, 04:04:40 am by nikolai »

marius-ciclistu

  • issues
  • Hero Member
  • *
  • Posts: 1652
  • "BE GRATEFUL TO THOSE THAT SUPPORTED YOU"
Re: How to Show Expiration Date in User Account Listing Page
« Reply #4 on: October 24, 2017, 09:52:20 am »
;)