WordPress.org

Support

Support » Plugins and Hacks » Custom single.php — or change location of css references?

Custom single.php — or change location of css references?

  • dtomasch

    @dtomasch

    Hiya!

    I’m integrating wordpress into my current site, but not creating a theme. I’m adding a <?php require(‘wordpress/wp-blog-header.php’); ?> to the 2 or three pages which access wp.

    I’ve got my main php pages under

    /

    my css under

    css/

    and my wordpress files under

    wordpress/

    My main difficulty has been single.php. I have a few pages I’d like to link to the permalink and have a custom single page for that item.

    Right now, it pulls up the theme’s single.php page with the theme’s styling.

    I’d like to plop a loop into a custom single.php type page — which looks like the rest of my site permalink— and have it pull up that.

    I’m not sure how I can do this besides bastardizing the single.php for a theme — but even then, I’m not sure how to reference my css file which is a few directories up from the single.php.

    Better way to do this?

    Thanks!

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Custom single.php — or change location of css references?’ is closed to new replies.