• I am trying to create a link like this:

    $link = '<a href="' .bloginfo('stylesheet_directory'). '/login.php">' . __('Login') . '</a>';

    The funny thing is that it outputs a text string outside the a href.

    So, is there a get_settings('themeurl')?

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • get_stylesheet_uri() perhaps?

    Search for “stylesheet” in /wp-includes/*

    Doesn’t the get_stylesheet_uri return the url for the css file itself and not the directory?

    Thread Starter dave_merwin

    (@dave_merwin)

    I was doing this: bloginfo('stylesheet_directory') that garbs the right directory but for some reason does not go in the a href, but gets bumped out. It is wierd.

    Thread Starter dave_merwin

    (@dave_merwin)

    get_stylesheet_uri works but, it does the same thing, it bumps the info outside of the a href. This is SO wierd.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Looking fro a themeurl like siteurl’ is closed to new replies.