I'm using Wordpress 4.2 and I'd like to remove the links from some images.
I've seen that I could use this :
The problem is I don't see that on my interface :
Where can I find the same attachement display setting in WP 4.2 ?
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.Sign up to join this community
The option for setting the url to none using "Attachment Display Settings" is available through the gallery option, using "Add Media". How are you adding your images—through featured image or directly in your post/page? You can remove the my image if it's in the post itself.
For featured images, you'll have to go into your template file and remove the link wrapper from your images. If you have conditions for this functionality, like for example, only certain categories become unlinked, you can add a condition for that circumstance.
<?php if ( has_post_thumbnail() ) : ?> <a href="<?php the_permalink(); ?>" title="<?php the_title_attribute(); ?>"> <?php the_post_thumbnail(); ?> </a> <?php endif; ?>
<?php if ( has_post_thumbnail() ) : ?> <?php the_post_thumbnail(); ?> <?php endif; ?>