Support » Alpha/Beta/RC » post_image and gallery

  • ChaosDrgn


    When I add a post image with 2.9 beta it wants to add it to the gallery that’s attached to the post. is there anyway to cancel it out so it only appears AS a post image and not part of the gallery?

Viewing 1 replies (of 1 total)
  • Fairweb


    Edit your post and switch to html mode. The gallery short tag should look like this.
    [gallery link="file"]

    Let’s say your image ID is 55, write :
    [gallery link="file" exclude=55]

    The different settings that can be used for this short tag are in
    function gallery_shortcode($attr)
    in wp-includes/media.php

Viewing 1 replies (of 1 total)
  • The topic ‘post_image and gallery’ is closed to new replies.