• Resolved simusch

    (@simusch)


    Hi

    I have the problem, that I have a category AND a page, which both have the same ID.

    I get the thumbnail with:
    $thumbnail = category_image_src( array( 'term_id' => $child->object_id, 'size' => 'full' ) , false );

    I use this line in “Walker_Nav_Menu”

    and now, there is not the thumbnail for the category showing up, but the thumbnail of the page.

    strange?

    Simon

    https://www.ads-software.com/plugins/wpcustom-category-image/

  • The topic ‘Wrong image shows up, when a page has the same ID as the category’ is closed to new replies.