Home Forums Pro Themes Mediclean Pro Changing slider caption

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #40780
    hlrmac
    Participant

    Hi

    I like your theme very much – is there any way of changing what and how much text appears when the “caption” box is ticked in the slider options?

    Thanks in advance

    #40783
    hlrmac
    Participant

    It’s OK I’ve worked it out thanks!

    #40784
    wensolutions
    Keymaster

    Hello @hlrmac,

    Nice to know that you have solved your issue by your self .

    If there is any query further, please let us know.

    Best Regards!!

    #56408
    Mark Baldwin
    Participant

    I can’t find the setting for changing the caption length? Can you please post where it is? Thnks.

    #56453
    wensolutions
    Keymaster

    Hello @plasticsurgeon,

    As the theme currently does not have the option to control the caption length you can achieve this through the use of child theme .

    You can even activate the child theme using the plugin given below .

    https://wordpress.org/plugins/wp-child-theme-generator/

    After activating the child theme in your child theme functions.php file paste below given code .

    https://gist.github.com/anonymous/ddb5386ce5d3255fd23220e0bbfa3b2d

    This will display up to 10 word. In case if you want to display more or less then 10 word then you can change the no by yourself from the block of code given below :

    $slides[ $cnt ]['excerpt'] = mediclean_the_excerpt( apply_filters( 'mediclean_filter_slider_caption_length', 10 ), $post );

    This block of code is in four places altogether where you can change the no as per your requirement .

    Hope this helps .

    Best Regards!!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.