WordPress.org

Ready to get started?Download WordPress

Forums

Organize Series
Excerpt not working (1 post)

  1. vinay
    Member
    Posted 5 months ago #

    Hey Darren,
    I found that this plugin has problem with excerpt showing for normal article and custom post type. On debugging, i found that problem is on orgSeries-setup.php on following function(excerpt filter):

    function add_series_meta_excerpt($content) {
    		if ( is_single() ) return;
    		if($this->settings['auto_tag_seriesmeta_toggle']) {
    			if ($series_meta = wp_seriesmeta_write(true)) {
    				$addcontent = $content;
    				$content = str_replace('%postcontent%', $addcontent, $series_meta);
    			}
    		}
    		return $content;
    	}

    After commenting the first line, #if ( is_single() ) return; it works.
    will there be fixes on future version or is there any other easy way rather than editing the plugin?

    Regards,
    Vinay

    https://wordpress.org/plugins/organize-series/

Reply

You must log in to post.

About this Plugin

About this Topic

Tags