• Hi!
    I would rather use my own CSS, but when I look at the generated code, the inline posts have a generated class and injection of custom inline css.

    Could you provide a “no theme” alternative option?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor intellywp

    (@intellywp)

    Hi Pixeline

    ​After a backup, you can customize this file styles.html from the following folder and add your own css:

    /wp-content/plugins/intelly-related-post/assets/templates/

    ​Let me know if you have any additional questions, in that case you can send an email to [email protected] to open a ticket in our tech team helpdesk.

    ​Have a nice day

    ​Alex

    Thread Starter pixeline

    (@pixeline)

    Hello Alex,

    thank you for your prompt answer!

    That means the file will be destroyed every time the plugin gets updated. would you perhaps consider looking first for a template inside the Theme first, and if none is present, use the one you provide with the plugin ?

    Here is a sample code to express what I mean:

    function get_stylehtml_file($file)
    {
    	if(file_exists($file_path = get_stylesheet_directory() . $file))
            require_once($file_path);
        else
            require_once(get_plugin_directory() . $file);
    }

    I would have no issue if you implement that functionality as part of the “paid” version. A man’s gotta eat!
    Thank you,
    Alex

    Plugin Contributor intellywp

    (@intellywp)

    Hi Pixeline

    You’re welcome 🙂

    I’ll suggest to our devs to add this feature in their requests list
    Thank you for your suggestion,

    Have a nice day 🙂

    Alex

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

The topic ‘Use my own CSS’ is closed to new replies.