nicerice
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Do I enqueue php files?Thanks, I know it’s a headslap for you but what you just said cleared a lot of muddy details for me. I’m going to keep on trucking.
Forum: Fixing WordPress
In reply to: A function that adds custom menu option is preventingYou’re right. I did add
<?php
at the beginning because it didn’t work otherwise in functions.php.So if I want to do this properly, I need to place this code in one of the specific php files.
However, besides functions.php, I’m not sure where I should be putting all these codes. I thought placing it in index.php would be best because that is considered the base file but it doesn’t show up? I tried placing them in various other phps like the header and single but it’s still not showing up. Could it be because I didn’t enqueue every php file? Right now, I only have the bootstrap template I used and the css file:
// Add scripts and stylesheets function startwordpress_scripts() { wp_enqueue_style( 'bootstrap', get_template_directory_uri() . '/css/bootstrap.min.css', array(), '4.0.0' ); wp_enqueue_style( 'blog', get_template_directory_uri() . '/css/blog.css' ); wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/js/bootstrap.min.js', array( 'jquery' ), '4.0.0', true ); } add_action( 'wp_enqueue_scripts', 'startwordpress_scripts' );
Thanks you for any additional insight.
I forgot to mention. This is a localhost server using AMPPS.
Forum: Localhost Installs
In reply to: Cannot login to edit Localhost blog pageSo in the future, I should disconnect the AMPPS before doing anything. Even setting the laptop to sleep?
Forum: Localhost Installs
In reply to: Cannot login to edit Localhost blog pageThanks for showing me a picture.
However, I do not see a wp_users in the list of tables.
Forum: Localhost Installs
In reply to: Cannot login to edit Localhost blog pageHello, Steve.
I see the wp_users on the tab to the left but I do not see a checkbox beside it or a repair button anywhere. Only an expansion that lets me see the columns. I’m using https://localhost/phpmyadmin/ to get to my server settings.
Sorry, thank you!