• I seem to be running into a weird error when trying to set up my custom theme. Basically, my files are like this:

    angelina-marie > wordpress >wp-content > themes > wp-portfolio

    The “wp-portfolio” is a new theme I have created.

    Every time I try to load my css into the function.php, my css does not load. When I look at my website’s page source, I see it is because the css is pulling up the twenty twelve theme’s css. I do not understand why this is happening! I have totally deleted the twenty twelve theme, and have re-written this code and double-checked the syntax for days.

    Do you have any ideas as to what could be causing this problem?

    My site is angelina-marie.com. Lines 32-33 show the “twenty-twelve” files.

    Thanks in advance!

Viewing 31 replies (of 31 total)
  • Thread Starter ambethoney

    (@ambethoney)

    That’s it!!!!

    I did have a template line in my style.css. I didn’t realize you only need that for child themes. Thank you SO much!

Viewing 31 replies (of 31 total)

The topic ‘get_template_directory Loads The Wrong File’ is closed to new replies.