Forums

Page Jump using next_posts_link (6 posts)

  1. mykidcandance
    Member
    Posted 2 years ago #

    Here's the site: http://www.mykidcandance.com

    Here's what I want to do, when someone clicks on the "How 'bout another?" image link, I want it to go to the next page... as it does. BUT, I want it to goto the "Today's Tiny Dancer" part instead of the top of the page, so readers don't have to keep scrolling down for every page.

    I put the anchor ID where it should be, but here's the problem...

    I know how to use page jumps, but I DON'T know how to do do it when the link looks like this...

    '<div class="navigation"><div class="alignright"><?php next_posts_link('<img src="wp-content/themes/blooming/images/more.png">') ?></div></div>'

    I can't put a specific link because that next_posts_link is the link. I tried putting the anchor thing after it, but obviously it didnt work:

    '<div class="navigation"><div class="alignright"><?php next_posts_link('<img src="wp-content/themes/blooming/images/more.png">') ?>#today</div></div>

    I know nothing about CSS. Please someone help.

  2. mykidcandance
    Member
    Posted 2 years ago #

    bump please

  3. mykidcandance
    Member
    Posted 2 years ago #

    BUMP!

  4. mykidcandance
    Member
    Posted 2 years ago #

    Bump. Does ANYONE know the answer to this?

  5. gelo.tv
    Member
    Posted 2 years ago #

    I've the same problem: http://wordpress.org/support/topic/283092?replies=4

    I haven't got an answer too.

  6. gelo.tv
    Member
    Posted 2 years ago #

    I've posted the solution here :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags