Cherry Framework theme, JQuery is using HTTP not HTTPS

If the script is enqueued using wp_enqueue_script (as it “should” be) then you can modify the tag directly with a find and replace match to fix this using the script_loader_tag filter: add_filter(‘script_loader_tag’, ‘custom_https_fix’, 10, 2); function custom_https_fix($tag, $handle) { $match=”jquery.script.js”; // replace with actual script filename if (strstr($tag, $match)) {$tag = str_replace(‘http://’, ‘https://’, $tag);} return … Read more

How to handle forms from sidebar widgets – Processing $_POST variables using get_field_name()

WP doesn’t provide any helper methods for creating and processing forms in the front-end. To process your front-end form simply check for $_POST-ed data. I suggest you do this from within an action, and only if the widget is active. In your constructor – the someWidget() method (which you should rename to __construct, and call … Read more

Frameworks for Premium Theming [duplicate]

I would assume that the vast majority of theme developers that sell their work on market places use their own custom frame work. I most certainly do. By using my own frame work, I’m able to know absolutely every little corner of it. And every time I build a new theme, whether for a marketplace … Read more