WordPress.org

Ready to get started?Download WordPress

Forums

Special Recent Posts
[resolved] is it possible to use two different styling? (6 posts)

  1. stosun
    Member
    Posted 1 year ago #

    Hello,
    I plan to use this plugin in two different page with shortcode and two different styling at same site.
    In first usage, title is at top, thumb is at middle and summary is at bottom of box.
    In second usage, title will be top, but summary will be inline with thumb.
    Is it possible?
    Thanks at advance for your support.

    http://wordpress.org/extend/plugins/special-recent-posts/

  2. Luca Grandicelli
    Member
    Plugin Author

    Posted 1 year ago #

    Well, that's possible as long each widget instance has its own class/ID.
    In PRO version there's a specific option to assign those attributes to each widget instance you create. In the FREE version not.

    However, you could embed the two different instances within two separate divs and assign a different ID on each and therefore target the two different styles via CSS.

  3. stosun
    Member
    Posted 1 year ago #

    Hello Luca,
    Thanks for your quick reply.
    As I wrote above, I try to use plugin by shortcode not widget.
    Is it still possible with shortcode? I can define different classes at CSS file , but what should I define at shortcode?
    Regards

  4. Luca Grandicelli
    Member
    Plugin Author

    Posted 1 year ago #

    If you're using the FREE version you cannot define any class or ID via the shortcode. You have to enclose those shortcodes within two different divs with two different IDs/classes, and then, via CSs, target them separately.

    If you're using the PRO version, then a direct option for assigning classes/ids is available.

  5. stosun
    Member
    Posted 1 year ago #

    Thanks.
    I use FREE version for time being, but I plan to go to PRO version.
    Now, I evaluate my client's needs and plugin's capabilities.
    So, on next days, I may post some more questions at new titles.
    Regards

  6. Luca Grandicelli
    Member
    Plugin Author

    Posted 1 year ago #

    You're welcome.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic