Advanced Excerpt not reducing length
-
I’m trying to reduce the excerpt to the first sentence of the blog. I’ve installed the advanced excerpt plug-in but the settings do not seem to make any changes. Do I need to change something in the code?
<?php
/*
Plugin Name: Advanced Excerpt
Plugin URI: https://www.ads-software.com/plugins/advanced-excerpt/
Description: Control the appearance of WordPress post excerpts
Version: 4.2.5
Author: WPKube
Author URI: https://wpkube.com
*/$GLOBALS[‘advanced_excerpt_version’] = ‘4.2.5’;
function advanced_excerpt_load_textdomain() {
load_plugin_textdomain( ‘advanced-excerpt’, false, dirname( plugin_basename( __FILE__ ) ) . ‘/languages/’ );
}
add_action( ‘wp_loaded’, ‘advanced_excerpt_load_textdomain’ );require_once ‘class/advanced-excerpt.php’;
require_once ‘functions/functions.php’;function advanced_excerpt_init() {
global $advanced_excerpt;
$advanced_excerpt = new Advanced_Excerpt( __FILE__ );
}
add_action( ‘init’, ‘advanced_excerpt_init’, 5 );The page I need help with: [log in to see the link]
- The topic ‘Advanced Excerpt not reducing length’ is closed to new replies.