• After moving a website in my fatcow File manager from one folder to another, everything is working fine except the Set As Featured Image. Now that image is a broken link and the src is this:
    src=”/hermes/web10/b774/moo.tappancleaners/HirokoTeaches//wp-content/uploads/2011/08/puzzle_face-222662_173x173.jpg”

    It should just be this:
    https://www.hirokoteaches.com/wp-content/uploads/2011/08/puzzle_face.jpeg

    From another post I discovered that code in media.php(pasted below) is where this link gets referenced with the $thumbnail variable. But at this point I’m stuck. Any ideas?

    if ( ‘image’ == $type && $calling_post_id && current_theme_supports( ‘post-thumbnails’, get_post_type( $calling_post_id ) )
    && post_type_supports( get_post_type( $calling_post_id ), ‘thumbnail’ ) && get_post_thumbnail_id( $calling_post_id ) != $attachment_id ) {
    $ajax_nonce = wp_create_nonce( “set_post_thumbnail-$calling_post_id” );
    $thumbnail = “” . esc_html__( “Use as featured image” ) . ““;
    }

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Set As Featured Image Not Working After Move’ is closed to new replies.