Support » Plugins and Hacks » No Image Link » [Resolved] Undo

[Resolved] Undo

Viewing 1 replies (of 1 total)
  • All sorted, I edited functions.php. Creating a new function and changing the image_default_link_type to ‘post’ as per below.

    function mytheme_setup() {
    // Set default values for the upload media box
    update_option(‘image_default_align’, ‘center’ );
    update_option(‘image_default_link_type’, ‘post’ );
    update_option(‘image_default_size’, ‘medium’ );

    add_action(‘after_setup_theme’, ‘mytheme_setup’);

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Undo’ is closed to new replies.
Skip to toolbar