Refresh wp_editor instance after cloning

Categories: jQuery, Programlama, Wordpress

While I was working on an extension within Redux Framework, I needed to initialize uninitialized copies of wp_editor instances to apply lazy loading. First I loaded uninitialized types of jQuery fields on the page, then I cloned them and and initialized them to have multiple forms in jQuery accordions. Everything was easy until I came … Read More

Fit Cufon texts to its container

Categories: Diğer, jQuery

Well, I ran into a situation that my design messed up when the cufon title width passed it’s container width, so I needed to lower the font-size automatically to make it fit into it’s container staying still an one-line title. And I wanted to share here. Here’s the function I wrote: function Cufon_Fit_Title(element) { var … Read More