Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author UnPointZero

    (@unpointzero)

    Added on the next version currently in beta :).

    Thread Starter coreymcollins

    (@coreymcollins)

    Awesome! Looking forward to it. The plugin is really smooth and easy to use. That’ll just be icing on the cake ??

    Plugin Author UnPointZero

    (@unpointzero)

    I’ll add this function on the next official update ( Think I’ll do it tonight or tomorrow ?? ).

    C ya !

    Not all my posts have manual excerpts so I wanted the description to default back to the cropped content if the post excerpt field is empty.
    I added a ‘AND if the excerpt is not empty’ to the ‘if excerpt option is selected’ line (line 293 in upzSlider.php)
    from:

    if($post_excerpt==1 ) {
    $content = tronc_str(__( $post->post_excerpt),$slider_desc_max_char);

    to:

    if($post_excerpt==1 && !empty($post->post_excerpt) ) {
    $content = tronc_str(__( $post->post_excerpt),$slider_desc_max_char);

    Plugin Author UnPointZero

    (@unpointzero)

    Hi again mkjar !

    Thanks for this ?? I’ll add your code to the next slider version !

    C ya

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: UnPointZero Slider] Use Excerpt Instead of Content?’ is closed to new replies.