• Resolved Vwsung18t

    (@vwsung18t)


    I’m trying to add to the single post template page. I know there’s the shortcodes page here: https://docs.geomywp.com/article/163-single-location-shortcode but I don’t see the hours of operation.

    I tried [gmw_post_info info=’days_hours’], which seems to return a serialized array or arrays. I’m guessing there is a function to return a structured output. I found [gmw_hours_of_operation] somewhere in the plugin but it doesn’t seem to work.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hello @vwsung18t,

    When using the [gmw_hours_of_operation] shortcode, try passing the post ID via the object_id shortcode attribute.

    Ex,

    
    [gmw_hours_of_operation object_id="1"]
    

    I just added this shortcode to the most recent release of the plugin. So I haven’t yet got to document it and I still need to improve it.

    Let me know if this helps.

    Thread Starter Vwsung18t

    (@vwsung18t)

    Thanks. Yes, this works for me.

    Plugin Author Eyal Fitoussi

    (@ninjew)

    Great.

    You are welcome.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Is there a list of shortcodes?’ is closed to new replies.