Discussion on Fresh Custom Code - CSS/JS/PHP - WordPress Plugin

FRESHFACE

FRESHFACE supports this item

Supported

This author's response time can be up to 1 business day.

161 comments found.

Well… I don´t know what to say about this. I am half surprised and half disappointed.

First: One the one hand, the plugins makes a great job. I added some functions to my theme, just to create dynamic values and make wp custom menus to accept shortcodes in links. all this works very fine. And I added custom css to my theme, which also works great.

But, and that is my problem: Custom CSS can not be applied to any plugin. I tried another plugin “simple custom css” (WP Repo, free) and this worked like a charm. I also tried the sometimes integrated css section of the plugins itself and this also works like a charm.

I think, handling plugins css would make this plugin very usefull. At the moment, I will save server ressources when I install 2 free plugins (for functions and code) and not this one

Hi there!

Thank you very much for your suggestions, we could implement them in future. Anyway there is one thing which is not clear for me, what do you mean by “Custom CSS can not be applied to any plugin”? Could you be please a little more descriptive about this?

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

I really wanted this plugin to work .

Is the second time I try o install it on different sites.

I uploaded the plugin via WP admin, and didn’t work. I uploaded the plugin via FTP, and when I refreshed

ALL MY PLUGINS WHERE DELETED !

And the admin runs super slow

Is there something I can do?

Hi there!

I’m really sorry for any inconveniences, we never ever experienced this behaviour before. Could you please send us your WP and FTP login? I’ll take a look and do my best to make it work asap.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hi :)

I am just checking again on when the update / fix in my previous post (3 months ago) will be available?

“I am adding some icons (e.g. mfg, font awesome etc) via css and unicodes … this involves a ”\” before the unicode e.g. css line …

content:”\f00d”; When I save the code it strips out the ”\”, as a result the change does not appear on the front-end.”

Also I have the same issue experienced by “gafstr” 4 months ago ….

“the “and” and “or” buttons aren’t working in safari (they work in chrome). When I click either button it refreshes and nothing changes.”

Has a fix for this been found?

Many thanks again

Hi :)

Great to see there is an update … just checking if you have addressed the issues I flagged?

Many thanks

Hello,

I just updated my Theme Avada (the best selling theme on Themeforest) to their latest version 3.8.1. This produced a front-end error. The error went away when I deactivated the Fresh Custom Code plugin.

The latest Avada update added LESS code (I believe for the first time.).

Here is the error:

Warning: array_merge(): Argument #2 is not an array in /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php on line 5832

Warning: Invalid argument supplied for foreach() in /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php on line 5835

Fatal error: Uncaught exception ‘Less_Exception_Parser’ with message ‘File `../variables.less` not found. in anonymous-file-0.less’ in /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php:2581 Stack trace: #0 /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php(309): avada_Less_Parser->Error(‘File `../variab…’) #1 /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php(5873): avada_Less_Parser->parseFile(’../variables.le…’, ’../variables.le…’, true) #2 /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php(5801): Less_Tree_Import->ParseImport(’../variables.le…’, ’../variables.le…’, Object(Less_Environment)) #3 /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php(6782): Less_Tree_Import->compile(Object(Less_Environment)) #4 /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php( in /home/cpinspireforlife/public_html/wp-content/themes/Avada/framework/plugins/wp-less/Less.php on line 2581

Cheers, Bill.

Hi there!

Firstly let me thank you for your purchase and apologize for any inconveniences. Since we bundle this plugin with our templates, and also sold load of extended licenses and never experienced this error before, it’s most probably error caused by Avada theme. Could you please contact your theme support and ask them about this?

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

The Avada folks are suggesting the first two errors were ones they could fix and that the third needs to be fixed on the Custom Code Plugin side. Here’s what they had to say:

“There seems to be a conflict with the less parsing classes. From our side I can give you this updated version, which will eliminate the Avada parsing conflicts. Please extract it to Avada/framework/plugins/wp-less. The third error, “Fatal error: Uncaught exception ‘Less_Exception_Parser’ with message ‘File…” is coming directly from your other plugin, and I guess the author will have to check it.”

Hi there!

Ok, could you please send me your WP and FTP login as well? I’ll do my best to make it work asap.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Just bought and installed the plugin. I got v1.19 with my purchase.

On activation it tells me a new version is available, so where do I get this new version 1.20? And why isn’t it a download at purchase time?

Was sluggish but update link worked via dashboard. Just annoying download pack isn’t up-to-date.

Hi there!

I’m really sorry for any inconveniences, we’ll upload the new version ASAP, thank you for noticing us. Feel free to contact us in case of any questions or problems.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Thanks

How about adding conditional statements that support responsive design decisions?

Would love to see conditional like:

1. Device = Mobile and Viewport >350 and <650

2. Device = Desktop and Viewport > 960

3. Device = Mobile Tablet

So I can add scripts that kick in only if screen size or device orientation dictates it.

A second suggestion:

Plugin needs a customisation function to allow code view colours to be changed (or provide a range of colour presets to choose from).

The default red/green colours are a hard combination for people with colour blindness. They can see a tone difference but they will struggle to distinguish the two and since colour coding is designed to help it wouldn’t be as helpful for them as it could be.

Hi there!

Firstly let me thank you for all your hints and tips, it really helps us make the product better.

A.) About the mobile device, it is really hard to detect these devices via some PHP scripts, but you can use the CSS media queries, to exactly define these conditions

B.) About the colors, I just added it to the idea list and we’ll be discussing it with the team when making the next update.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

RE: Suggestion for more device and viewport testing

CSS Media queries only work for CSS or am I wrong?

I was thinking the benefit of using your conditional approach is code weight.. it won’t load script if system doesn’t meet conditional rule.

This means you could for example load JS advanced JQuery tabs for screens big enough or switch to basic HTML menu if system too small. Switch on/off GUI according to space and ease of use.

Yes CSS has @Media queries but if we can’t detect before load to page we would have to load the lot and not just the CSS that applies.

Save for JS, you would have to load a JS with detection code and all code/variations adding bulk and weight.

Nice idea, maybe unfeasible.

BTW How are you conditionally checking for Mobile/Desktop in your plugin now? Can’t the methods be extended?

Hi there!

Yes, you are totally right, i just did not think about this alternative. But in current situation, here is not suitable code for PHP for solving this problem, because you still cannot access the client resolution in a PHP environment….

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

I have a problem with this plugin. I have installed this plugin on wordpress 4.2. When I go to the Custom Code and I change the custom code type or custom code placement nothing happened.

Also the Custom Code Logic doesn’t show anything. The only thing I have is the Custom Code Content box with the script type=”text/javascript” around the textearea.

What am I doing wrong? Did I install the plugin wrong? Or does this plugin not support the latest Wordpress version?

Hi there!

I’m sorry for any inconveniences. Please send me your WP and FTP login, I’ll do my best to make it work asap.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Could you please set the latest 1.20 to the download package, because I may not update this plugin through wordpress

Hi there!

I’m sorry for any inconveniences, we’ll do it asap. In the meantime, could you please send me your WP login? I would love to make it work for you too.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hi :)

I am just checking again on when the update / fix in my previous thread a number of months ago will be available?

The fix you said you would address from my previous thread was ….

“I am adding some icons (e.g. mfg, font awesome etc) via css and unicodes … this involves a ”\” before the unicode e.g. css line …

content:”\f00d”; When I save the code it strips out the ”\”, as a result the change does not appear on the front-end.”

Also I have the same issue experienced by “gafstr” 7 months ago ….

“the “and” and “or” buttons aren’t working in safari (they work in chrome). When I click either button it refreshes and nothing changes.”

Has a fix for this been found?

Thanks again

hi, can I use this to tweak the admin area?

Hi there!

Firstly let me thank you for your question. The codes are not active in the admin area, only at front-end

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hello,

I have a trouble with the filter, for me it does not work at all. I want to add a css in the blog page where there is all the articles. I have tried several filters, based on page name, or page template without any success. If I do not use filter the css is shown.

Thanks for your help

If you do not use any filter it is shown on all the website, that’s what i have told to you before. I am not interested by that. When I use a filter on the blog page nothing appear. The filter does not work for me.

Hi there!

I just identify the issue – sorry for any inconveniences, it is small problem with the “filters”. We will issue update asap (within 48 hours) and you’ll be able to use your custom code the way you should.

Please accept my apologies again.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

I have found from where the error comes. The “filter” is not programmed to be usable with the following pages : homepage, home, 404, You should add them.

Waiting for your new version. Thanks

Hi there, I’ve already purchased the plugin and was applying it to our new beta site, and the textarea where the code should be updated isn’t working. It appears as a mini text area with no line numbering and no highlighting, etc..

Something is broken. Also I just don’t see where to put in the purchase code or configure the settings. Is there a place for that or is that not needed?

This is urgent

Hi there!

Firstly let me thank you for your purchase and apologize for any inconveniences. Please open a ticket at our support forum, we will do our best to make it work for you asap.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Ok, you got me to create yet another account. Done, please find a solution asap. It’s urgent.

Hi,

Are the recent updates for your plugins just compatibility with latest Wordpress?

Hi EnterpriseBranding!

No, the plugin is still compatible without any problems, these updates are just bug-fixes

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hi, ok, thanks for the update/response! Appreciate it FreshFace!

Hi EnterpriseBranding!

I’m really glad being helpful. Feel free to contact us in case of any questions or problems!

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hi, great plugin.

one thing i have notice is in the editor you can “go to line” you need by using CTRL G in Notepad++

for me this is very important. if this feature exists?

2. in i choose External File where the file saved and what the name of the file the system gives?

can we choose where we want to save the file? (for example i prefer in the theme folder where all my css files.

Hi webicompany!

1.) Yes, but here is under Ctr + L

2.) External files are stored in /wp-content/uploads/fresh-framework/css/hash-and-file-name.css

They are stored here on purpose, because this way the files are cached, could be automatically deleted and also the cache cold be handled easily.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hi,

Thanks for the answer.

How this plugin will work with multisites? if all the files will be stored in one place as you manchen this can make mess with files when rach site will have couple field.

maybe create folder with site id and store for each site the field that created.

for me this is something that “must have”.

Hi webicompany!

Well every multi-site install has directory called wp-content/uploads/sites/NUMBER, where NUMBER is equal to your site ID. The custom code is stored here, so there is s folder for every site.

Conflict in custom codes names is not possible, is a hash created form code name and content…

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hi lovely plugin, unfortunately I cannot type anything on the code section.

Hi Missketer!

Please firstly de-activate all other plugins. If this wont help, could you please post topic at our support forum and send us your WP login there? I’ll do my best to make it work asap

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Can you please add support for the ”\” symbol to be used in code field when using CSS? It’s being stripped out. For example when using most font icons such as font awesome you would do something like this: .icon-name:before { content: “f0f6”; }. However, when saving the backslash is stripped and only the unicode numbers/letters show up.

Any status on this?

How to stop this in css:

content: "\f08e" ->   content: "f08e"

Hi candid2014!

I’m really sorry for late response, due to Envato backend we missed your question :( I’ll solve it ASAP and issue update.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Please error in update 1.2 wp-includes/functions.php on line 4305

fresh-custom-code/freshplugin.php _ that the error is due ??

Hi DonLucho!

We never saw this issue before. I just created a ticket for you at our support forum. Please go there (its 1 click login with envato account), and post your WP and FTP login there. I’ll do my best to make it work asap.

Your topic

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Under Custom Code Content even though I have CSS checked it displays:

<script type=”text/javascript”>

I am running on MultiSite.

Is this a problem?

C

can you you provide more clear instructions for people who do not live and breath writing code?

for example:

How would this script look in your plugin? Or better, how exactly should we input a header script call like this?

<script type=”text/javascript” src=”../lb/lookbook/axBm/jquery.axBm.js”></script> <link type=”text/css” href=”../lb/lookbook/axBm/axBm.css” rel=”stylesheet” />

???

Please provide documentation for novices as well as masters. Many people are just starting or perhaps have more expertise in other areas.

IF you have a technology that works great, but most people can not figure out how to use it becasue they are are not the same level of coder as the code creator, then your sales will suffer.

Not everyone is as digitally literate as an envato author. You should not assume too much.

Everyone needs a website.

oh. Also does your plugin work correctly in Multi-Site installs?

Hi CHRISTHREE!

Could you please keep the conversation in the support center only? If you double post messages, it takes us twice as the time to answer the questions :-)

Anyway I as not able to understand your question and inserting scripts like this is not possible. If you struggle with the plugin, you can always ask for a refund themeforest.net/refund_requests/new

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Ticket: 4051

ASAP please….

Hi ardley216!

Firstly let me thank you for your purchase! I was not able to log in, since the form required email address and you only provided username.

Also I moved this topic to our support forum, so please continue the discussion here (1click login with your Envato account) and we will do our best to help you asap.

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

hi… i have problem with installation, fresh-custom-code-UPLOAD-THIS/framework/fresh-framework/framework/extern/iconfonts/ff-font-typicons/ff-font-typicons.eot could u fix it?

Hi Kaedebliss!

Firstly let me thank you for your purchase and apologize for any inconveniences. Could you please post your WP login at our support center? We just created a topic for you

We just created topic for you at our support center: Your topic

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

Hi, thankyou for respond… already fixed… I just refix it in cpanel… thankyou :)

Hi Kaedebliss!

I’m really glad to hear that :-)

Thanks and cheers! :)
—FRESHFACE

If you like the item and want to support us, please consider rating it in “My Account -> Downloads”.

SUPPORT TOOLS

FOLLOW US

by
by
by
by
by
by