next_image_link()

 

File: wp-includes/media.php

function next_image_link( $size = 'thumbnail', $text = false ) {
	adjacent_image_link( false, $size, $text );
}

参数:next_image_link( string|array $size = 'thumbnail', string $text = false )

  • 相邻的图像链接()

Image size. Accepts any valid image size, an array of width and height values in pixels (in that order), 0, or 'none'. 0 or 'none' will default to 'post_title' or 美元文本. Link text.

$size

(string|array)
(Optional)
Image size. Accepts any valid image size, an array of width and height values in pixels (in that order), 0, or 'none'. 0 or 'none' will default to 'post_title' or $text.

Default value: 'thumbnail'

$text

(string)
(Optional)
Link text.

Default value: false

{acontent3}

  1. Basic Example

    <div class="alignright"><?php next_image_link(); ?></div>
    

You must log in before being able to contribute a note or feedback.

12.50% (1) 次Baidu访问
12.50% (1) 次Google访问
75.00% (6) 次Sogou访问
  • 蜘蛛:Baidu,1次,更新时间:2019-04-24 20:35:09
  • 蜘蛛:Google,1次,更新时间:2019-04-28 10:00:53
  • 蜘蛛:Sogou,6次,更新时间:2019-05-05 15:02:02

参与评论