My post content looks like this
<img src="http://linktoimage.jpg" alt=""/>
<!--nextpage-->
<img src="http://linktoimage.jpg" alt=""/>
<!--nextpage-->
<img src="http://linktoimage.jpg" alt=""/>
<!--nextpage-->
Basically I'm trying to make a web comic book so I have made each image to split onto multiple pages using the <!--nextpage-->
feature. Now the problem is I want my images to be linked to the next paginated post. I can't use <?php wp_link_pages(); ?>
to make a hyperlink on the image cause wp_link_pages outputs it as html and I need it as raw url and I don't need prev & next link. I only need a next link on the image.
Is this a way to make my images to be hyperlinked to the next paginated post?