WordPress.org

Ready to get started?Download WordPress

Forums

Theme works fine but not when converted into WP (8 posts)

  1. idofr
    Member
    Posted 4 years ago #

    hey every one, i've managed to resolve my stylesheet error, i think it was because WP did not like the name being "Style.css" instead of "style.css"

    i have a new problem now, the theme works perfectly fine when i access it directly and not via WP but when used through wordpress it just shows a blank white page

    why can it be?

    thank you for your help

  2. esmi
    Forum Moderator
    Posted 4 years ago #

    Start by working through Theme_Development.

  3. idofr
    Member
    Posted 4 years ago #

    ok thank you but it didn't help at all i've read through the entire thing like 6 times before.
    again, it has all the files it needs and i've rechecked for the links between the files and they're all seems to be fine.
    in general the site works fine when i access it directly and not through wordpress

    it seems like the issue lays within the index.php file, can someone please go through it and search for problems? (it's really rather short)

  4. What do you mean by accessing it "through wordpress"? What is the URL that you're going to?

  5. idofr
    Member
    Posted 4 years ago #

    what using wordpress i'm going to: http://localhost/wordpress/
    when tried not through wordpress i've tried 2 things

    1. is going to the base HTML file at http://localhost/LSSU/main.html that is the HTML which was converted into the theme templates using the final css file.

    2. trying to access the index.php file in another folder http://localhost/lssu_a/index.php

    the first one works prefectly fine but the second doesn't and therefor i assume that the problem is something in the index file

  6. So, where are your WordPress files located, and how are URLs 1 and 2 related to your blog?

  7. idofr
    Member
    Posted 4 years ago #

    the wordpress files are located under: wp-content/themes/lssu
    URLs 1 & 2 are the same files just out of wordpress.
    i used 1 to create the code and it works just fine
    and in the second one i just copied the same files from wordpress to another folder to check whether the problem is in my code or with wordpress

  8. the wordpress files are located under: wp-content/themes/lssu

    Those are your theme files. What about the core WordPress files, like wp-login.php ?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags