WordPress.org

Support

Support » Plugins and Hacks » How to add a #marker in php next_posts_link?

How to add a #marker in php next_posts_link?

  • Hi,

    I’d like to get a link to a particular #marker somewhere on the page when people are trying to access my previous posts. How can it be done?

    I tried:

    <a href="#marker"><?php next_posts_link('&laquo; Billets pr&eacute;c&eacute;dents') ?></a>

    and

    <?php next_posts_link('<a href="#marker">&laquo; Billets pr&eacute;c&eacute;dents</a>') ?>

    but it was a failure.

    Any idea?

    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘How to add a #marker in php next_posts_link?’ is closed to new replies.