• endee28

    (@endee28)


    Hi, Thanks for a great plugin, just having one issue.

    I am using Gravity Forms for visitors to submit a post on the frontend, I have mapped all the wpsl fields to the form but cannot figure out how to map the opening hours options. Any advice?

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    Try this code.

    require_once( WPSL_PLUGIN_DIR . 'admin/class-metaboxes.php' );
    
    $metaboxes = new WPSL_Metaboxes();
    echo $metaboxes->opening_hours( 'settings' );
    Thread Starter endee28

    (@endee28)

    Hi, thanks for the prompt support, might be a dumb question but where do I need to add this code?

    thanks

    Plugin Author Tijmen Smit

    (@tijmensmit)

    I misread your question, I thought you wrote custom code to map the fields, but this you probably did within Gravity Forms?

    To make this work you have to be comfortable with code, and use the correct filter to add custom fields after the fields that are already generated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Opening Hours on Frontend Submit Post Form’ is closed to new replies.