playstone

Forum Replies Created

Viewing 1 post (of 1 total)
in reply to: Including a condition on a link template file #50266

playstone
Member

So, I will answer my own question!

It seems this is not possible.

So what I ended up doing is edit the /libs/class.package.php file to create my own shortcode and in there I do the condition to check if the file size is 0 and if true I include the HTML to generate a different button.

It was a simple edit, now I just need to remember to always update this file when the plugin gets updated.

Viewing 1 post (of 1 total)