Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

index.php was not found #2

Open
manovraresoft opened this issue Jul 19, 2017 · 1 comment
Open

index.php was not found #2

manovraresoft opened this issue Jul 19, 2017 · 1 comment

Comments

@manovraresoft
Copy link

Used your style.css and functions.php without any modifications from your examples.

I run the site with the theme activated and it pulls up correctly. If I navigate to ANY page i get 404:
Not Found
The requested URL /index.php was not found on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80

This is usually traced back to not adding the "template:" tag in style.css, but not in the case.

@manovraresoft
Copy link
Author

manovraresoft commented Jul 19, 2017

`
/*
Theme Name: OnePress Child
Theme URI: https://www.famethemes.com
Description: OnePress sample child theme
Author: FameThemes
Author URI: https://www.famethemes.com
Template: onepress
Version: 1.0.0
Tags: light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
Text Domain: onepress-child
*/

/* Add your custom css below
-------------------------------------------------------------- */`

`add_action( 'wp_enqueue_scripts', 'onepress_child_enqueue_styles', 15 );

function onepress_child_enqueue_styles() {
wp_enqueue_style( 'onepress-child-style', get_stylesheet_directory_uri() . '/style.css' );
}

`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant