• Is there anyway of limiting what shows up as a caption. Right now, a huge chunk of my post is covering half my image. I’d like to control how much text is shown.

    Anyone know how to accomplish this?!

    with-grace.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • Don’t know if you’re still trying, but I found the answer buried in another thread here.
    The default appears to show up to 55 words after the title of your post.

    Paste the following into your functions.php to alter that. (As shown, it will cut it down to 10)

    function minimatica_excerpt_length( $length ) {
    return 10;
    }
    add_filter( ‘excerpt_length’, ‘minimatica_excerpt_length’ );

    If you want no text beyond the post title, set the above to 0. However, by default (at least on mine) it was still adding a “…” as if there was additional text coming.

    To get rid of that, alter the minimatica_excerpt_more function to read:

    function minimatica_excerpt_more($more) {
    return ”;
    }

    Thread Starter jessiehannah

    (@jessiehannah)

    Thank you so much, worked perfectly!

    The feature is already built in without editing anything. If you look below the main text body of your post you will see a box that says “Excerpt” Whatever you type in there will be what is shown under the title in the slider.

    If you don’t see the box called Excerpt then go to the top of the page and click on the tab that says “Screen Options” and make sure there is a check mark there. I think I had been using WordPress a month before I found that tab. There is a different one for each page.

    Wow. Never saw that “Screen Options” tag.

    A much simpler route. Thanks for pointing it out.

    arisengr01

    (@arisengr01)

    wow thanks lizmarr ?? you made it easier..
    thanks to beatfilms also.. if you want it hard coding.. ??

    Thanks Lizmarr! Best short cut ever.

    Can someone elaborate please, anything I write on the page shows up on under the title on the front page slider. I only want the title on the slider. The suggestions made here have not helped remove the text. I’m pulling out my hair :O

    Did you try to simply fill the excerpt box with spaces? Maybe just one little period?

    oh man thank you, thank you. That did the trick.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Edit Slider Captions’ is closed to new replies.