WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Plugin: Betta Boxes CMS] Link type

[Resolved] [Plugin: Betta Boxes CMS] Link type

  • Hi

    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:
    Monday
    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

    http://wordpress.org/extend/plugins/betta-boxes-cms/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author shauno

    @shauno

    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); ?>
    </a>

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

    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

    Plugin Author shauno

    @shauno

    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.

    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?

    Thanks
    George Panagopoulos

    Plugin Author shauno

    @shauno

    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] [Plugin: Betta Boxes CMS] Link type’ is closed to new replies.