SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,582
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    link to stylesheet?

    I uploaded another style sheet so that I can see it in the editor in the wp-admin section.
    But When I edit the header .php file to liks to it, I dont know if im doing it correctly
    here are links to both stylesheets in the header.php file
    PHP Code:
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo'stylesheet_url' ); ?>" />
    This is the link to the default one.
    PHP Code:
    <link rel="stylesheet" type="text/css" media="all" href="http://fixmysite.us/gmpc/wordpress/wp-content/themes/GMPC/church.css" /> 
    Heres the linkto the one I uploaded, which worksbut is there a shortcut I should be using like in the first href""?

    Thanks...
    "Oh, and Jenkins--apparently your mother died this morning."

  2. #2
    SitePoint Wizard webcosmo's Avatar
    Join Date
    Oct 2007
    Location
    Boston, MA
    Posts
    1,437
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    i would do the second like this:
    <link rel="stylesheet" type="text/css" media="all" href="<?php bloginfo( 'template_url' ); ?>/church.css" />

  3. #3
    SitePoint Wizard lukeurtnowski's Avatar
    Join Date
    Mar 2003
    Location
    Coronado
    Posts
    1,582
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    thanks...
    "Oh, and Jenkins--apparently your mother died this morning."


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •