WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] cannot attach a media library image to a page or post

[Resolved] cannot attach a media library image to a page or post

  • In the media library, next to an uploaded image there is an ‘attach to’ link.
    I’m searching my pages exactly how they appear in the all pages list but none of them are showing up. Previously I had been able to do that. I haven’t changed any media settings so I’m not sure why this has happened.

Viewing 1 replies (of 1 total)
  • Found out what it was by process of elimination. Disabled all my plugins, then moved on to using a different theme.

    It worked fine with a different theme – so I took a look at the functions.php of my theme.

    Turned out I ended the file with “?>”

    Everything had worked fine except for the media selection. So I deleted those two characters and now everything works like a charm.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] cannot attach a media library image to a page or post’ is closed to new replies.
Skip to toolbar