• Resolved sticks464

    (@sticks464)


    Just upgraded to ver.1.0 and the shortcodes stopped working in the answers.
    Also can’t deregister style or script
    Using:

    add_action( 'wp_print_styles', 'my_deregister_styles', 100 );
    function my_deregister_styles() {
    wp_deregister_style( 'qa' );
    }

    and

    add_action( 'wp_print_scripts', 'my_deregister_javascript', 100 );
    function my_deregister_javascript() {
    	if ( !is_page('faq') ) {
    wp_deregister_script( 'qa' ); }
    }

    Is there a way to do this or do I need to fall back to ver. 0.2.8?
    If so where can I download the older version?

    Only on localhost at this time.

    http://wordpress.org/extend/plugins/q-and-a/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Dalton Rooney

    (@daltonrooney)

    The handle changed. Try

    wp_deregister_script( 'q-a-plus' );
    
    wp_deregister_style( 'q-a-plus' );
    Plugin Author Dalton Rooney

    (@daltonrooney)

    Also, regarding shortcodes – they will be displayed on the single FAQ entry page (the permalink page) but not on the FAQ homepage by default. If you want them displayed on the FAQ homepage (wherever you’ve added the [qa] shortcode) go into the plugin settings and uncheck “Show excerpts” on the FAQ Homepage options section.

    Thread Starter sticks464

    (@sticks464)

    Thanks Dalton, works like a charm.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Q and A – FAQ plugin for WordPress] Shortcode in answer stopped working’ is closed to new replies.