Support » Plugin: Content Cards » How to clone this plugin to have 2 of them installed simultaneously

  • Hi, i need to clone this plugin.

    I own 3 sites:
    http://www.site1
    http://www.site2
    http://www.site3

    Site1 is my main website and i need to embedd in Site1 some posts from Site2 and Site3.
    I’ve created a personalized Skin to embedd posts from Site2 to Site1
    but i need to use a different skin to embedd posts from Site3 to Site1

    One way to do that is:
    1) To Clone the Plugin (with a different name etc etc)
    2) To set in the whitelist Site2 with a specific theme skin
    3) To set in the whitelist Site3 with a specific theme skin (into the cloned plugin setting page)

    How can i clone the plugin?
    or , how can i obtain the same result in a different way?

Viewing 1 replies (of 1 total)
  • Plugin Author Arunas Liuiza

    (@ideag)

    Hi Fabiano, thanks for reaching out. Since you are creating custom skins anyway, our suggestion would be to add some conditional styling, based on a content class.
    You can add custom classes to Content Cards by using a class attribute on the shortcode: [contentcards url="http://arunas.co" class="my_class"]. So you could add one class for one of your sites, and anothet for other site. And then use that class to deliver different styling in the skin css file.

Viewing 1 replies (of 1 total)
  • The topic ‘How to clone this plugin to have 2 of them installed simultaneously’ is closed to new replies.