So your Git repository was initialized in the wrong place. If you have the initial files, you can go back there and try again making sure the git repo is in the actualy document root and make sure all of the files are tracked.
If you do not you can do a fresh install of WordPress and copy the files in wp-content/uploads wp-content/themes and wp-content/plugins to the newly created wp-content directory.
Related Posts:
- why is translation not working on theme?
- No wp-config.php file on local install of wordpress – site still displays
- Want to create Child theme, but already edited Parent theme css files and some php files
- Warning: printf(): Too few arguments in helpers.php file
- Problems clearing cache
- remove_action from parent theme using child theme functions.php
- File from parent theme imported to child theme doesn’t work – any ideas?
- How to Change Site Elements based on referring URL
- Add the shortcodes from the enfold theme to the other theme
- WordPress child theme, creating a custom php template page
- Customizer: active_callback and sanitize_callback incompatibility?
- Is it possible to increase php memory without directives in wp-config.php, .htaccess or php.ini?
- My page.php shows the index.php
- Replace part of a parent-theme customizer in the child-theme
- Compare the old get_theme_mod($name) to the new get_theme_mod($name) return value
- Custom Theme’s “Preview Changes” Doesn’t Work for Previously Published Posts
- two columns of posts on homepage, one of them “favorites”
- How do I link a button I created in theme customizer to a function?
- How to edit php files in Child Theme?
- 404 error when I acess the second page of post-type
- How to change theme programmatically from a external application?
- WordPress Child Themes
- Is the “_s” on this `sprintf(__(‘Page %s’, ‘_s’), max($paged, $page))` just refer to a text domain?
- Redirect to another page using contact form 7? [closed]
- Does wordpress templates always in files or in database?
- Custom Background by Page IDs
- proper way to add css using functions.php?
- Copyright info change – Corporate Plus Theme PHP [closed]
- What does this mean in wordpress? Easy question
- Showing latest post without 301 redirect
- Translate wordpress date from Italian to English
- Why am I getting a different filename? And how does WordPress load singular.php for both Page & Post? (Fresh WordPress installation)
- How to add API security keys into JS of wordpress securely
- Started getting warning message following host’s PHP upgrade
- Reason to add a name of the theme like (‘menu-1’ => __( ‘Primary’, ‘twentynineteen’ ),) in PHP?
- Separation of presentation and code – WordPress
- Moving wordpress site from localhost to live server using GoDaddy cPanel
- WordPress Customizer Default Image
- What is the difference in the WP memory limits?
- Do I have anything to worry about when switching to a default theme to test for plugin conflictions?
- Why in my theme I can’t see all the statics content under the posts?
- get_template_directory adding FTP root folders in urls
- How to integrate noimage picture in this code
- Need oop for wordpress theme? [duplicate]
- How to add the sidebar to all the pages except the home page? [closed]
- Header not properly displaying on archive.php
- Why does the Woocommerce grouped template prints the unpublished products?
- Save Custom CSS file in the upload folder dynamically?
- How to edit HTML of my website on WordPress? [closed]
- Divi change project category slug
- Live to Local on MAMP, not working, outputting functions.php code
- How to specify the path for require_once in a child theme?
- Set site title & tagline with wp.config or function.php
- $_SESSION variable not saving on page refresh or new page
- Design with Elementor and code the rest?
- What’s a good way to allow overwriting files within a child theme if I want the same folder structure?
- WordPress filter load_textdomain_mofile not working inside a child theme’s functions.php but works form inside a plugin
- How do I check or test a WordPress Auto Year Change Script?
- Use custom template on custom post type
- How to have different site identity logos on each page on Astra Theme [closed]
- Include style.css in the Child Theme with PHP
- How Do I Find & Remove H1 From Site-Title-Wrapper? [closed]
- WordPress and PHP Version Upgrade issue [closed]
- home.php show blog posts as grid view
- Menu Items fail to save correctly, cause reset of related page metadata
- blank white page when post/update/change option etc
- How to Update an old theme for the latest wordpress version
- get_comments_number() returns 0
- Fatal errors to undefined function in theme 404.php file [closed]
- Removing “Powered by” footer using child theme PHP [closed]
- Amend theme php to include certain category in header
- Overide Variable in Child Theme
- child parent styles enqueue order
- Creating a child theme after numerous edits to parent theme
- Override index with a custom PHP page
- using wp enqueue style to create a CSS file specifically for a page template
- Implementing custom tag/tax pages
- How to style injected code in header section?
- Randomize Color Scheme Selection in Theme
- Accidentally deleted php code in WordPress website [closed]
- Where should I copy a PHP file from wp-includes to, in order to override it in my child theme?
- Child Theme’s Read More Text
- ‘Bones’ theme: Load stock scripts in footer instead of header?
- How to correctly load a different version of main menu based on the user language in WordPress? Is it a good solution?
- Why in this WordPress theme I can’t see the Main Menu?
- Displaying Slider in Front Page (home) using Customizr Theme
- How can I assign separate stylesheets to different pages?
- Need advice on theme customizer and child themes
- How to make sure relative URL works when site is not on root domain?
- Editing Theme Files on WordPress.com-hosted Site [closed]
- call a string/function from database
- Conditionally remove comments and post meta in functions.php
- Some problems calling a function into sprintf() inside functions.php template file [closed]
- Commas in Tag Cloud
- How to decrease the max file upload size without using php.ini or htaccess?
- Trying to change featured image from 180×180 to full width on home page
- Is there a (offical) way for a theme to deactivate itself and show a message in admin?
- How to edit background color of only one sidebar?
- Wrap title and excerpt in a div (latest posts block)
- how to get wordpress page url php code [duplicate]