• alexchen

    (@alexchen)


    I’m using the PHP Markdown plugin, for some reason shortcodes are no longer working.

    Is there a way of adding the question form directly into a page?

    I tried copy/pasting the content of askquestionform.php to a new template file.

    and change the include_once path of coreform.php

    include_once (ABSPATH . 'wp-content/plugins/question-and-answer-forum/coreform.php');

    But the page is blank.

Viewing 1 replies (of 1 total)
  • Plugin Author trevorpythag

    (@trevorpythag)

    you can call the function
    question_form($atts,$content);
    where $atts is an array with the any of the parameters you can use on the shortcode and $content is the title of the form.

    eg)
    question_form(array('width'=>'80%'),'Ask A Question');

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Question and Answer Forum] Adding the Question Form directly?’ is closed to new replies.