Support » Fixing WordPress » Question about functions and links

  • Resolved KyleAdams


    I am trying to create a link that has an href of

    <a href="<?php admin_url('post-new.php');?>">Apples</a>

    How ever instead of displaying site/wp-admin/post-new.php it just displays site.

    What am I doing wrong?

    The same thing happens with:

    <a href="<?php get_admin_url( $blog->userblog_id, 'post-new.php' ) ?>">New Post</a>

    can some one give me ideas as to why this is NOT working?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Question about functions and links’ is closed to new replies.