WordPress.org

Ready to get started?Download WordPress

Forums

from a website to a theme: which errors? (5 posts)

  1. bobrock4
    Member
    Posted 1 year ago #

    Ok I need to follow the rules here http://codex.wordpress.org/Theme_Development , but my website has been developed to be rapidly converted in a theme.

    This is how files are organized on the theme folder
    http://174.122.175.9/~software/img2/Immagine2.png

    This is the daughter folder "common" which contains import files for a theme
    http://174.122.175.9/~software/img2/Immagine3.png

    I have made a style.css as it's said here http://codex.wordpress.org/Theme_Development#Theme_Stylesheet to be recognized as a valid theme on wordpress

    But this site in not ready to be trasformed in a theme. It isn't working.

    I don't know why

    Ciao
    Roberto

  2. jnhghy
    Member
    Posted 1 year ago #

    hi bobrock4,
    What errors have you encountered?
    Can you provide a link to your site?

  3. bobrock4
    Member
    Posted 1 year ago #

    Hi jnhghy,

    at http://174.122.175.9/~software/ you can see that, after put the site in the theme folder, css are not read, images are not found and the site is not working.

    Ciao

    Roberto
    [sig moderated as per the Forum Rules]

  4. jnhghy
    Member
    Posted 1 year ago #

    Hi, The issue lies in the way you link to the resources from your site. I tried to reach http://174.122.175.9/~software/img/_temp/headers/1.jpg and there's nothing there...
    Using FTP make sure you have the images in to the right place or modify the html code to link the images to the right folder.Also the the css code is not linked correct I tried to fallow http://174.122.175.9/~software/screen.css and there is nothing there also screen.css should have been in the "~software" folder do you have it there? if you do then this might also be a permission issue so if you have the files in the place where your links are pointing then check the permissions of the files.
    If you can't debug this, share the links to the css file, to the images(at least from the header) and I'll check it up to see if you need to change the links from the header, footer ... so on ..
    Regards

  5. bobrock4
    Member
    Posted 1 year ago #

    Hi jnhghy,

    files you have mentioned are in the /wp-content/theme/name_of_the_theme/ folder. I have tried to switch from the theme I have uploaded to twentyeleven theme, one of two that you find in default WordPress installation, and I have seen that an image is a path like this

    img src="http://174.122.175.9/~software/wp-content/themes/twentyeleven/images/headers/hanoi.jpg

    so, the first image file of my wordpress site has this path img src="img/logo.png while it should be img src=/wp-content/theme/name_of_the_theme/img/logo.png or maybe better http://174.122.175.9/~software/wp-content/theme/name_of_the_theme/img/logo.png

    Have I missed some steps installing my theme? I have tried to make the theme installation manually (uploading via ftp) and also using installation function from wordpress administration panel with the same negative result

    thanks and ciao
    roberto

Topic Closed

This topic has been closed to new replies.

About this Topic