• Dear Sirs..

    I have a external loop on a frontpage with the latest 8 post, linking to the wp blog.

    Now…. I used to be able to link directly to a specific post by using the post ID as anchor.

    Like this <a href="<?php echo get_bloginfo ( 'url' ).'/#post-'.get_the_ID(); ?>" >Read the rest of this entry ?</a>

    But since updating WP this just links to the blog page and not the post anchor. It seems like WP is omitting the post-id on write out?

    How can I get my anchor back?

Viewing 1 replies (of 1 total)
  • Thread Starter pisosse

    (@pisosse)

    Ahh sorry.. the id="post-<?php the_ID(); ?>" was somehow lost in the main loop..

    carry on nothing to see..

Viewing 1 replies (of 1 total)
  • The topic ‘Where did the post ID go?’ is closed to new replies.