WordPress.org

Ready to get started?Download WordPress

Forums

Image Link URL Default, None? (8 posts)

  1. jezThomp
    Member
    Posted 4 years ago #

    Hello all...

    Is there anyway i can change the default link url when inserting an image, so its always 'none' rather then displaying the link there straight away?

    I have a site which has a lot of images but will never need it, so i have to click none every time.

    Any chance?

    Cheers :)

  2. jezThomp
    Member
    Posted 3 years ago #

    Can this not be edited at all?

  3. Agus Suhanto
    Member
    Posted 3 years ago #

    In WordPress 3.0.1, WordPress 'remembers' the last choice. So, once you set none, next time you upload an image it will stay none.

  4. jezThomp
    Member
    Posted 3 years ago #

    Its not working for me.

    I still have to select none every time i add a new image...

    Regardless of whether i am adding a new post or editing an existing one.

    :(

  5. jezThomp
    Member
    Posted 3 years ago #

    Anyone know of any hard hacks to make it show nothing?

  6. billzy
    Member
    Posted 3 years ago #

    wp-admin/options.php

    image_link_default_type

  7. Adam Capriola
    Member
    Posted 3 years ago #

    I needed this as well, and it took some searching, but this is the stuff right here... add it to your functions.php file:

    update_option('image_default_link_type','file');

    Or if you don't want file, use 'none' or 'post' instead. Or maybe just leave it blank if you want none... I'm not sure. I wanted file to be default and that works.

  8. mcmasterp
    Member
    Posted 3 years ago #

    dude thank you so much

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.