• Resolved viveramedia

    (@viveramedia)


    Hi guys,

    I am looping my events categories in a custom template as so:

    foreach($categories as $category)
    {
       $url = $category->image_url;
    }

    However the $category->image_url is always empty, despite there being an image uploaded and being pulled into the admin.

    I have also tried: get_the_post_thumbnail($category->ID, ‘thumbnail’); but neither return anything.

    Any ideas?

    Thanks,

    Dave

    http://wordpress.org/plugins/events-manager/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘image_url empty’ is closed to new replies.