• Hi,
    I have a form that works fine if I display in a post, but I need to add it in the template.
    When I add it in the template, the text search box does not appear.
    Is there another argument to add?
    I have used the code listed in your FAQ page eg
    $arg=array(‘id’=>102); echo get_uwpqsf_form($arg);

    If I use “do_shortcode” it works correctly.

    thanks

    https://ww.wp.xz.cn/plugins/ultimate-wp-query-search-filter/

Viewing 1 replies (of 1 total)
  • Plugin Author TC.K

    (@wp_dummy)

    Ok, I will check this bug.
    For the time being, you can just use do_shortcode as it another way to add shortcode into template.

Viewing 1 replies (of 1 total)

The topic ‘code to use form in template’ is closed to new replies.