post_parent ) && $image->post_parent != $id ) $url .= '#main'; return $url; } add_filter( 'attachment_link', 'thinkup_input_enhancedimagenav', 10, 2 ); /* Add backward compatibility for add_theme_support( 'title-tag' ) */ if ( ! function_exists( '_wp_render_title_tag' ) ) { function thinkup_input_wptitle() { ?> <?php wp_title( '|', true, 'right' ); ?>