• Resolved poe

    (@poe)


    I’m trying to use this:

    <a href="<?php get_month_link('', ''); ?>">Continue to the blog</a>

    to make a link to the current month but it doesn’t work. All it does is knock my layout all to heck (ie – sidebar ends up below main page). This is the code the above outputs:

    <a href="<?php get_month_link('', ''); ?>“>Continue to the blog</a>

    As you can see, all it does is turn the last ” into the ASCII version or whatever you call it.

    Any ideas how to fix this or the correct code to use to make the link?

    Thanks :o)

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

    (@poe)

    Got it. Can’t execute PHP in pages. I downloaded a plugin that allows it and all is well :o)

Viewing 1 replies (of 1 total)
  • The topic ‘Current Month Link’ is closed to new replies.