WordPress.org

Ready to get started?Download WordPress

Forums

Custom single.css / how to redirect location of css files? (2 posts)

  1. dtomasch
    Member
    Posted 4 years ago #

    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!

  2. krembo99
    Member
    Posted 4 years ago #

    you might need to have a look at creating custom pages
    (that is, if by pages, youd o mean pages and not posts )

Topic Closed

This topic has been closed to new replies.

About this Topic