Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can crop, but only when the selected area has dimensions equal or above 100px x 105px ! If the selected area has less width or height, the crop button gets disabled. Anyone can explain why? Or how to avoid this behavior?

    Forum: Plugins
    In reply to: add field into post admin

    Answer:
    You put an array as the second parameter if the filter function is inside a Class. Than the object is at first position of the array and the method to be called is at second position.

    Forum: Plugins
    In reply to: add field into post admin

    I would like to understand this too.
    I’m using add_action(‘edit_form_advanced’,’hookfunction’) for this propose and for displaying it where I want I use js:

    var prephtml= '<div>'+ jQuery('#newfield').html()+ '</div>'
    jQuery('#newfield').html('')
    jQuery('#postdivrich').prepend(prephtml)

    Not happy at all about this workaround, this must be an easier task.

Viewing 3 replies - 1 through 3 (of 3 total)