Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Stanislav Khromov

    (@khromov)

    Hi,

    There is no dedicated widget right now but I have added it as a feature request for an upcoming version, you can track the progress on GitHub:
    https://github.com/ideag/content-cards/issues/69

    In the meantime, you can get this behaviour by adding support for shortcodes in text widgets by adding this code to your themes functions.php file:
    add_filter('widget_text', 'do_shortcode');

    Then, simply add a text widget and input a Content Cards shortcode, for example:
    [contentcards url="http://wordpress.org"]

    Hope that helps.

    Thread Starter rman

    (@rman)

    Nice 🙂
    the only problem is the (large) image!
    What code to put to make the image responsive to sidebar?

    Plugin Author Stanislav Khromov

    (@khromov)

    Hey rman,

    The way the Content Cards CSS is set up, it should be responsive no matter where you put it, so it’s probably your theme overriding that. If you post a link to your site, our email it (if you prefer) to stanislav -at- khromov -dot- se I’ll see what CSS rule you need to make the image responsive.

    Thread Starter rman

    (@rman)

    Thanks a lot , it;s great and at…sidebar 🙂

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

The topic ‘Content Cards in sidebar widgets?’ is closed to new replies.