WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Media upload issue (4 posts)

  1. edriessen
    Member
    Posted 3 years ago #

    I'll be brief about this. Uploading media works just fine. But when I media I uploaded earlier is not showing (see the linked image). Does anyone knows why?

    image

    *the install I used is Dutch, I have filterd to "show everything", but it is showing no results.

  2. montygothic
    Member
    Posted 3 years ago #

    Check to see where your default upload destination is via the below:

    In Settings> Media> Uploading files> Store uploads in this folder>

    Then via ftp check if the files are being uploaded there or not?

    You can also deactivate your theme and then re-activate. Also try a different theme to see if you encounter the same issue.

  3. edriessen
    Member
    Posted 3 years ago #

    Problem solved:

    I've checked my upload files settings and they were set to default. I also activated the theme and now the images did list (see image 2).

    image 2

    So I digged into my themes functions.php.
    It had to do with my custom post type 'projecten'. This line had some kind of conflict with wordpress that kept it from showing the images:

    register_taxonomy("Type", array("projecten"), array("hierarchical" => true, "label" => "Types", "singular_label" => "Type", "rewrite" => true));

    I guess Type is a value I'd better not use in my functions.php. I've changed it to:

    register_taxonomy("projecttypes", array("projecten"), array("hierarchical" => true, "label" => "Projecttypes", "singular_label" => "Projecttype", "rewrite" => true));

    Thanks

  4. montygothic
    Member
    Posted 3 years ago #

    Glad it worked, are you familiar with how to get featured Images to work with themes that don't support it?
    If so, I could do with some advice here: http://wordpress.org/support/topic/using-featured-image-with-allure-theme?replies=2

Topic Closed

This topic has been closed to new replies.

About this Topic