Support » Plugin: Q and A FAQ and Knowledge Base for WordPress » [Plugin: Q & A FAQ and Knowledge Base] When activated, adds "Continue Reading" to all

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


    Hi Thad,
    The “Continue Reading” filters were borrowed from TwentyEleven. You’re right, they should only be applied to FAQs when you have excerpts turned on, and never any other time. I’ll work on this in the next release.




    Thanks, Dalton. By the way, this is an awesome plugin. It really makes FAQs in WordPress elegant. Thanks for the contribution.

    I have the same problem like thadb. Thought excerpts=false helps but it doesnt 🙁

    A fix would be really appreciated.

    Thanks for the plugin.



    Your plugin is for FAQ/Q&A, whatever. Your excerpt filter affects EVERY EXCERPT, not just your own. A VERY BAD IDEA. You’ve caused me wasted time troubleshooting a clueless client’s site troubles.

    Why in the billy blue *** did you mess with excerpt length in a completely unrelated plugin?

    Is there an upcoming release, which will fix this problem?

    Removing this code in q-and-a/inc/functions.php fixes the problem …

    /* Excerpt functions borrowed from TwentyEleven */
     * Sets the post excerpt length to 40 words.
    function qaplus_excerpt_length( $length ) {
    	return 40;
    add_filter( 'excerpt_length', 'qaplus_excerpt_length' );
     * Returns a "Continue Reading" link for excerpts
    function qaplus_continue_reading_link() {
    	return ' <a href="'. esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">&rarr;</span>', 'twentyeleven' ) . '</a>';
     * Replaces "[...]" (appended to automatically generated excerpts) with an ellipsis and twentyeleven_continue_reading_link().
    function qaplus_auto_excerpt_more( $more ) {
    	return ' &hellip;' . qaplus_continue_reading_link();
    add_filter( 'excerpt_more', 'qaplus_auto_excerpt_more' );
     * Adds a pretty "Continue Reading" link to custom post excerpts.
    function qaplus_custom_excerpt_more( $output ) {
    	if ( has_excerpt() && ! is_attachment() ) {
    		$output .= qaplus_continue_reading_link();
    	return $output;
    add_filter( 'get_the_excerpt', 'qaplus_custom_excerpt_more' );

    Plugin Author Dalton Rooney


    We will be posting an update for this soon. Sorry for the trouble!

    The new version is and the problem is still there.

    What’s the best way to restore the latest q-and-a/inc/functions.php if the code was not properly removed? This site is not published to the web yet, but completely inactive because I failed to copy the page before editing.

    Simply download the plugin, unpack/unzip it and upload the original functions.php file via FTP.

    Instead of removing the code you could comment out the code when testing. That makes undoing your changes a lot easier.

    Apart from all this, I find it a bit worrying that this simple to fix bug has not been resolved for months now… Especially since this is a great plugin.

    i agree… a simple bug has not been resolved for a while. I’m glad I found this because removing that code did fix that issue.

    I’m surprised it even added it.

    But this was helpful.

    Hi all

    I´ve also spotted an wierd side effect here: on THIS THREAD

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘[Plugin: Q & A FAQ and Knowledge Base] When activated, adds "Continue Reading" to all’ is closed to new replies.