[wp-trac] [WordPress Trac] #34638: New function for retrieving previous and next adjacent image
WordPress Trac
noreply at wordpress.org
Mon Nov 9 21:04:09 UTC 2015
#34638: New function for retrieving previous and next adjacent image
-----------------------------+-----------------------------
Reporter: solidcolour | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
-----------------------------+-----------------------------
There are `previous_image_link()` and `next_image_link()` functions. But
there are no functions that only return `true` and `false`, which would
works similarly to `get_previous_post()` and `get_next_post()` but for
images. It would be very helpful to have that, so we can easily to control
whether to output the pagination HTML markup in `image.php`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34638>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list