• Hello, I am a web designer/developer, i am redesigning a site for a client using WP platform, and adding my own custom template making the home page in the dashboard use my custom template in the templates drop menu, my current issue is i have uploaded WP in a folder called wp and created a folder in the wp-content/themes folder and uploaded all the basic template files in this folder, inside this folder i am adding my own php files called home.php, about-us.php, concat-us.php, etc with code <? Template Name: my chosen name ?>, and added my own css file, but the home page can not locate the css page, and other images/js folders etc so i am wondering if the issue is with WP or address or location of the files, so can anyone figure the cause of the problem, and how to fix it, and let me know asap, thanks.

    current site: http://www.beigi.ca/wp/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are you using your website in the references to resources like CSS & Javascript? If so, try adding http:// around your website name, or remove it entirely and replace it with one forward slash.

    Thread Starter yashar20

    (@yashar20)

    website & wp url: http://www.beigi.ca/wp

    <link rel=”stylesheet” type=”text/css” media=”all” href=”/wp-content/themes/beigi/beigi.css” />
    <link rel=”stylesheet” type=”text/css” media=”all” href=”/wp-content/themes/beigi/vmenu/style.css” />
    <link rel=”stylesheet” type=”text/css” href=”homegallery/engine1/style.css” />
    <!–<style type=”text/css”>a#vlb{display:none}</style>–>
    <link rel=”shortcut icon” href=”images/blogo.png”>`

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What is that code?

    Thread Starter yashar20

    (@yashar20)

    that is the link code to the css files in html page, home.php
    top of the page in the head tag…

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Consider this Codex resource for referencing files from a template.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom WP template HTML/CSS??’ is closed to new replies.