• Resolved Sinkadus

    (@niwin)


    Hello

    I use Visual Composer on my portfolio posts, so to show the content makes a mess:

    [vc_row][vc_column][vc_empty_space][/vc_column][/vc_row][vc_row full_width=”stretch_row” parallax=”content-moving”][vc_column width=”2/3″]…. (and so on).

    And when I set this to zero: content_words_limit=”0″ – it shows all content still.

    So ideally (for me) it would be great if I was able to hide the content and instead have a shortcode to show the excerpt.

    Thanks for letting me speak my mind 🙂

    https://wordpress.org/plugins/wp-featured-content-and-slider/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Anoop Ranawat

    (@anoopranawat)

    By default content_word_limit is 50 that shows 50 words from the content. if you want to hide that then either
    1) i need to add a shortcode parameter OR
    2) you can just target the DIV class .featured_short_content and add in your theme style.css file

    .featured_short_content{display:none;}

    Thread Starter Sinkadus

    (@niwin)

    I recognize that I can use CSS – and I will do that, if you don’t think it is a good idea to either create a new shortcode to hide the content, or allow “0” to hide everything. What do you say?

    Also, what do you think of adding a shortcode to show excerpt?

    Thread Starter Sinkadus

    (@niwin)

    So – what do you think about being able to hide content with shortcode? Will you implement that?

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello,

    Sorry for late reply due to busy with our other plugins. Kindly give us 1 working day. We will add the short code parameter for this.

    Thanks

    Plugin Author Anoop Ranawat

    (@anoopranawat)

    Hello, Added this option in the code. If there is content added in excerpt, It will show the excerpt.

    Thread Starter Sinkadus

    (@niwin)

    Perfect!

    Thank you very much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide content – show excerpt’ is closed to new replies.