Can I include the plugin with my theme to sell?

Yes, you need one Extended License for each of your themes. Please see more about CodeCanyon licenses.

You able include YellowPencil to the theme sold on Envato Market, but you need to take permission from YellowPencil’s author if the theme sold in another platform (excluding Envato).

Use contact form in our CodeCanyon profile for permission.

Add the following code to the theme function.php file. This code disables the plugin’s license activation notifications.

define('YP_THEME_MODE', "true");

Advanced

YellowPencil is compatible with all themes but If you want to make it more compatible, then use custom CSS and custom javascript.

Apply custom CSS to your theme that only works in YellowPencil.

body.yp-yellow-pencil .my-theme-element{
   color:pink;
}

 

Use javascript function in your theme that only works in YellowPencil.

function is_yellow_pencil(){
if($("body").hasClass("yp-yellow-pencil")){
   return true;
}else{
   return false;
}
Was this article helpful?
YesNo

Couldn't Find Your Answer?

Get quality customer support with our professional support team.

Create A Support Ticket
Live Editor