• 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]

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

    (@wpkube)

    Hi,

    I’m trying to reduce the excerpt to the first sentence of the blog.

    There are options to limit by the amount of words and characters, but no option to limit to first sentence only. I’m not sure if there’s a plugin that has that option, might be something that you need to have custom created by a developer.

    But if limiting by amount of words or characters is ok with you then let me know and we’ll figure out what’s going on. Is the theme you are using a custom made theme or is it a free theme available somewhere ( so I can install it and test on my server )?

Viewing 1 replies (of 1 total)
  • The topic ‘Advanced Excerpt not reducing length’ is closed to new replies.