Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Forum: Plugins
    In reply to: Thumbnail as menu item

    I’m also trying to get this to work but unfortunately this:

    $thumbnail = '';
    if( $id = has_post_thumbnail( (int)$item->object_id ) ) {
    	$thumbnail = get_the_post_thumbnail( $id )
    }

    is not returning anything and I’m not sure what I’m missing. (I tested the $thumbnail = ”; and filled with text and it appeared so I’m not sure why it’s not returning the thumbnails.)

    I would so greatly appreciate if a clear example could be shown of where it’s inserted (with the walker class).

    Thread Starter Tia

    (@ti_na)

    I think I might’ve worked out the issue with it crashing apache…

    $result = apply_filters('get_comments_pagenum_link', $result);
     $result = apply_filters('new_get_comments_pagenum_link', $result);

    I didn’t change the function name, but now it’s not doing anything at all – if anyone could please point me in the right direction I would immensely appreciate it.

    Thread Starter Tia

    (@ti_na)

    Thank you so much for your response.

    I ended up using a combination of a Featured Post Plugin and some minor php modification to split posts into 2 columns on the index.php template page.

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