Support » Fixing WordPress » where is the wp-content directory located

  • Resolved Shooty

    (@shooty)


    I’m wanting to start working with child themes and all instructions on this say to store your newly created css file in wp-content directory, but I can’t find any such bird in my C drive. Possibly because I’ve never downloaded and worked off line on a WP site. If that’s the case can I create a “wp-content” directory anywhere I wish such as my thumb drive?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Moderator t-p

    (@t-p)

    Look in the root of your WP installation. There should be three directories:
    wp-admin
    wp-content
    wp-includes

    Thread Starter Shooty

    (@shooty)

    Thanks for the tip t-p. I’ve only been working in the WP environment for two years and have learned everything the hard way relying on my coding skills, which I understand isn’t necessarily the best way, but its what it is.

    I’m asking two questions.
    1) Am I right in my thinking; it doesn’t exist on my hard drive because I’ve never installed WP from my computer (always from the hosting company).

    2) If I am correct in that thinking can I simply create a “wp-content” directory on my thumb drive to store my child theme and up load to a site I’m currently working on?

    Thanks again for your help!

    On your first point you can easily baking your site with WordPress follow below step.
    https://codex.wordpress.org/Installing_WordPress

    On second point creating child theme follow this link https://codex.wordpress.org/Child_Themes very usefull for you.

    Let me know if you have any question.

    Thread Starter Shooty

    (@shooty)

    Thank you for the links Mahesh. I guess I need to be perfectly clear. I’m wanting to start a child theme for a new WP site that has been created/setup via the hosting account. I’ve never installed a theme by downloading/uploading from my computer and may on the next site, but would prefer not to with this particular site as it means I would be essentially starting it over.

    How do I go about creating/using a child theme in this case as the site is already installed via the hosting site and NOT uploaded from my computer.

    Help is greatly appreciated!

    Hi shoot,
    It would be very easy for existing theme,
    Just create theme-child folder and get style.css and function.php from parent theme and put it in your child theme folder. Some step follow I provided link.

    Thread Starter Shooty

    (@shooty)

    I’ve locked something up Mahesh. So far I’ve created a folder: wp-content that contains 1 file: twentythirteen-child

    The twentythirteen-child folder contains three files:

    footer.php (so I could control the WP branding)
    functions.php
    style.css

    This takes me through steps 1-3 from the link you sent (https://developer.wordpress.org/themes/advanced-topics/child-themes/), which includes:
    Create a child theme folder, create a stylesheet and enqueue stylesheet.

    At this point I’ve uploaded my child theme to the theme page and activated it. Here were those details:
    Installing Theme from uploaded file: twentythirteen-child.zip
    Unpacking the package…
    Installing the theme…
    This theme requires a parent theme. Checking if it is installed…
    The parent theme, Twenty Thirteen 2.2, is currently installed.
    Theme installed successfully.
    Live PreviewLive Preview “DTS Child Theme” | ActivateActivate “DTS Child Theme” | Return to Themes page

    However, now I can’t open the page or open any page on my administration page.

    The site is https://desototrailersales.com/

    Moderator t-p

    (@t-p)

    @maheshpatel,
    Please don’t ask for FTP credential. Also, don’t post your contact info.

    I’m going to archive your replies.

    Review forum guidelines:
    https://make.wordpress.org/support/handbook/forum-welcome/#the-bad-stuff

    • This reply was modified 3 years, 9 months ago by t-p.

    Ok, i will take care of this.
    Thanks for informing me.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘where is the wp-content directory located’ is closed to new replies.