I'm wondering if there is any way to change the actual link itself for wp_link_pages. So right now, I have a simple code to display the pagination for a post, it looks like this:
<?php wp_link_pages( array( 'before' => '<div class="link-pages">' . __('Pages:', 'muimedia'), 'after' => '</div>',) ); ?>
It displays the Post pagination like so:
Pages: 1 2 3
Page one links two page one, page two links to page 2 etc. Now, I would like to add an attribute called fromwhere=news"
to the pagination permalinks. So page 1, 2, and 3 pagination links would look like so.. mysite.com/somepost/post?fromwhere=news"
instead of just mysite.com/somepost/post
I really hope this is possible, and if anyone could help me out, it would really mean a lot to me! And happy new years!!! :)