Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Good to know it works now

    This is what I would do:
    I’d also ad this to the functions.php:

    add_theme_support( ‘post-thumbnails’ );

    If you have an thumbnail set I use the following code to load it inside the loop:

    the_post_thumbnail( ‘large’, array(‘class’ => ‘your_class_name_for_thumbnail_images’) );

    OR (if you need large images)

    <?php the_post_thumbnail( ‘thumbnail’, array(‘class’ => ‘your_class_name_for_large_images’) ); ?>

    Hope this helps

    Forum: Fixing WordPress
    In reply to: Media upload issue
    Thread Starter edriessen

    (@edriessen)

    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

Viewing 3 replies - 1 through 3 (of 3 total)