• Resolved fredbsc

    (@fredbsc)


    In the excerpts of my blog posts everything between [gloss.. ] and [/gloss..] is empty. Any ideas? Need more info?

    The only thing i added in my childs stylecss:
    .content .wp-glossary {
    display: inline;
    padding: 1px 5px;
    color: #666666;
    background-color: #EFE8E1;
    -moz-border-radius: 3px;
    border-radius: 3px;
    }

    Great Plug-In – thanx,
    Manfred

    https://ww.wp.xz.cn/plugins/wp-glossary/

Viewing 1 replies (of 1 total)
  • Thread Starter fredbsc

    (@fredbsc)

    Solved. In my functions.php->better_trim_excerpts() I added one line:

    $text = get_the_content('');
    --->>> $text = preg_replace("~(?:\[/?)[^/\]]+/?\]~s", '', $text);
    $text = strip_shortcodes( $text );

    Seems to work for me.
    Manfred

Viewing 1 replies (of 1 total)

The topic ‘Empty String in excerpts’ is closed to new replies.