
如何修复XAMPP本地主机index.php错误
the_attachment_link ( $post = 0, $fullsize = false, $deprecated = false, $permalink = false )
the_attachment_link: 此函数显示当前文章的附件页面的链接。
使用图像或图标显示附件页链接。
function the_attachment_link( $post = 0, $fullsize = false, $deprecated = false, $permalink = false ) { if ( ! empty( $deprecated ) ) { _deprecated_argument( __FUNCTION__, '2.5.0' ); } if ( $fullsize ) { echo wp_get_attachment_link( $post, 'full', $permalink ); } else { echo wp_get_attachment_link( $post, 'thumbnail', $permalink ); } }