Betta Boxes CMS
[resolved] Link type (6 posts)

  1. georgepanago
    Posted 4 years ago #


    I am trying to create a timetable that will show who will be on premises and at what times during every day of the current week.

    Something like this:
    9:30 - 17:30 Mike
    17:30 - 23:30 Joe
    23:30 - 05:00 Jane
    Tuesday ......

    I think with your plugin this is possible but I would like to know if there is a way to make the name of the person be a link to their profile.

    Can you help me with this?
    Is there a way to add this functionality to the plugin?

    Thanks in advance!
    George Panagopoulos


  2. shauno
    Plugin Author

    Posted 4 years ago #

    Hi George
    Thanks for the feedback on the plugin. You can just create a short text field, and enter in the URL to the person's profile. Then, you can output something like this in your template:

    <a href="<?php echo get_post_meta(get_the_ID(), 'link', true); ?>">
    	<?php echo get_post_meta(get_the_ID(), 'name', true); ?>

    Where 'link' is the slug of the URL field you created, and 'name' is the slug of the person's name field.

  3. georgepanago
    Posted 4 years ago #

    Hi Shauno!

    Thanks for the quick response and solution!
    (you have probably realized that I am a newbie to WP)... :-)

    One more thing if you can spare the time... I use the custom field type 'time' and on the front end of the site instead of getting: 02:00:00 i get: 2:0:0
    Not all the zero's show up. Is it something that I am doing wrong?

    Thanks again!
    George Panagopoulos

  4. shauno
    Plugin Author

    Posted 4 years ago #

    No problem. Thank you for the bug report on the time field. You definitely aren't doing anything wrong, it was saving in the database as rounded numbers. I have fixed this and released version 1.1.2 that fixes the problem. You will just have to go and re-save any posts/pages that have the time field, for the plugin to update the values in the database.
    Let me know if you have anymore questions or problems.

  5. georgepanago
    Posted 4 years ago #

    Hi Shauno

    I would like to contact you about some customization on your plugin. If the work is possible and I can get the client then I will surely make it up to you! Can I email you somehow or should i just describe what I would like here?

    George Panagopoulos

  6. shauno
    Plugin Author

    Posted 4 years ago #

    If you're looking for alterations that will improve the plugin for everyone, free free to add them here, I will add it to the to-do list.

    If you want specific changes just one off for your project, I can't help you right now. I just don't have the time for freelance work, sorry.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Betta Boxes CMS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.