WordPress.org

Ready to get started?Download WordPress

Forums

My Calendar
Short code in HTML? (3 posts)

  1. BehindTheThrills
    Member
    Posted 1 year ago #

    Hello,

    I have all custom HTML widgets on my website and I would like to add my calendar to my sidebar, but I can't display the shortcode and I'd rather not use the widget that is already in place so I can my custom headers with it.

    Is there a code that is in HTML that will show the calendar by week, for example?

    If it helps, my website is http://behindthethrills.com.

    Thank you in advance!

    http://wordpress.org/extend/plugins/my-calendar/

  2. Joe Dolson
    Member
    Plugin Author

    Posted 1 year ago #

    I'm really not certain what you're looking for - there are only two ways of displaying My Calendar; either via the widget, or via the shortcode. You can use the short code anywhere, including in widgets, or render it using PHP directly in a template - but there's no means of rendering anything using only HTML code.

    Can you clarify your request?

  3. BehindTheThrills
    Member
    Posted 1 year ago #

    The shortcode shows in my sidebar when I try to display with the shortcode. I use "My Custom Widget" as a plugin and it has to be HTML, otherwise it just displays everything as text.

    Check the screenshot below for reference.
    https://docs.google.com/file/d/0B5uTkC7fMaykYjVhSEdIQmUyMGc/edit

    If I try and use the stock widgets, they look extremely messy and end up becoming very long on the page. I was hoping to get something like what's on my actual Calendar page, but to just show a today's events or events for the week.

    http://behindthethrills.com/calendar

    Hope this clears it up.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.