Title: Change Word Limit Dynamically
Last modified: August 30, 2016

---

# Change Word Limit Dynamically

 *  Resolved [chetan.g](https://wordpress.org/support/users/chetang-1/)
 * (@chetang-1)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/)
 * I want to change the word_limit dynamically by shortcode [contentcards url=”xyz.
   com” target=”_blank”],can you please tell me how can I achieve this.
 * [https://wordpress.org/plugins/content-cards/](https://wordpress.org/plugins/content-cards/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Arunas Liuiza](https://wordpress.org/support/users/ideag/)
 * (@ideag)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/#post-6547540)
 * Hello!
 * Currently we do not have a shortcode attribute for this, only a global option.
   I am adding this to our to do list for the next release, and we will ship it 
   in a few days.
 * Arūnas
 *  Thread Starter [chetan.g](https://wordpress.org/support/users/chetang-1/)
 * (@chetang-1)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/#post-6547553)
 * Can you please give me the little hack for this, so that I can implement it for
   my client.
    even your plugin also respond according to code I changed in at least
   one hour after, So also tell me How can I see the immediate effects of change
   into code. It’s really necessary.
 *  Plugin Author [Stanislav Khromov](https://wordpress.org/support/users/khromov/)
 * (@khromov)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/#post-6547563)
 * Hey chetan.g,
 * Can you explain why a static word limit is not good enough? Can you give some
   examples where you would like to change it dynamically?
 * There will be additional filters added in 0.9.4 which will allow for programmatic
   filtering of the word limit. If you want to disable it for now, just change it
   to a very high value in Settings > Content Cards.
 *  Thread Starter [chetan.g](https://wordpress.org/support/users/chetang-1/)
 * (@chetang-1)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/#post-6547588)
 * First as you says that “There will be additional filters added in 0.9.4 which
   will allow for programmatic filtering of the word limit”. please give me the 
   example of code for this.
 * My client want to show different preview text, she placed [contentcards] shortcode
   in different categories of posts and she wants to display in content cards in
   column wise that’s why.
 * Also tell me How can change “Update Interval” settings to 1 minute value. It’s
   really necessary.
 *  Plugin Author [Arunas Liuiza](https://wordpress.org/support/users/ideag/)
 * (@ideag)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/#post-6547611)
 * Hey again chetan.g,
 * > First as you says that “There will be additional filters added in 0.9.4 which
   > will allow for programmatic filtering of the word limit”. please give me the
   > example of code for this.
 * That code simply does not exist. We haven’t finished this feature yet, and it
   will probably take us a day or two to complete.
 * > My client want to show different preview text, she placed [contentcards] shortcode
   > in different categories of posts and she wants to display in content cards 
   > in column wise that’s why.
 * There is no and will be no way to modify the preview text itself. The whole point
   of Content Cards plugin is to take the description from OpenGraph tags. `word_limit`
   option just allows us to set a maximum number of words so that Content Cards 
   are similar in size.
 * > Also tell me How can change “Update Interval” settings to 1 minute value. It’s
   > really necessary.
 * The minimal setting of `Update interval` is 1 hour. Could you please tell me 
   more about your use case? Because in my opinion, there is no case for having 
   OpenGraph data updated more than once an hour. In fact, for most users, updating
   it once a day is more than enough. OpenGraph data is not supposed to change often.
 * —
 * From your questions I get a feeling that You are either trying to use Content
   Cards in a very unusual way, or You somehow misunderstand what the plugin does.
   Could you please tell us more about what you are trying to do? If you do not 
   want to share that publicly, you can reach me via email: `ask {at} arunas {dot}
   co`.
 *  Plugin Author [Stanislav Khromov](https://wordpress.org/support/users/khromov/)
 * (@khromov)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/#post-6547841)
 * Closing this as it’s not likely to get resolved in a meaningful way.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Change Word Limit Dynamically’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/content-cards_d57c92.svg)
 * [Content Cards](https://wordpress.org/plugins/content-cards/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/content-cards/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/content-cards/)
 * [Active Topics](https://wordpress.org/support/plugin/content-cards/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/content-cards/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/content-cards/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Stanislav Khromov](https://wordpress.org/support/users/khromov/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/change-word-limit-dynamically/#post-6547841)
 * Status: resolved