WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] cannot attach a media library image to a page or post (2 posts)

  1. rkreutzkamp
    Member
    Posted 1 year ago #

    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.

  2. rkreutzkamp
    Member
    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic