Tom van Loon
Created February 7, 2021 © CC BY-NC

A small guide for low level control of Wordpress

A small introduction of the files that Wordpress uses

IntermediateProtip1 hour26
A small guide for low level control of Wordpress

Story

Read more

Code

index.php

PHP
index file for Wordpress
/**
 * Front to the WordPress application. This file doesn't do anything, but loads
 * wp-blog-header.php which does and tells WordPress to load the theme.
 *
 * @package WordPress
 */

/**
 * Tells WordPress to load the WordPress theme and output it.
 *
 * @var bool
 */

wp-config

PHP
First file
<?php
/**
 * The base configurations of the WordPress.
 *
 * This file has the following configurations: MySQL settings, Table Prefix,
 * Secret Keys, WordPress Language, and ABSPATH. You can find more information
 * by visiting {@link http://codex.wordpress.org/Editing_wp-config.php Editing
 * wp-config.php} Codex page. You can get the MySQL settings from your web host.
 *
 * This file is used by the wp-config.php creation script during the
 * installation. You don't have to use the web site, you can just copy this file
 * to "wp-config.php" and fill in the values.
 *
 * @package WordPress
 */

// ** MySQL settings - You can get this info from your web host ** //
/** The name of the database for WordPress */

Credits

Tom van Loon
4 projects • 2 followers
Sr Test Technician - OPS
Contact

Comments

Please log in or sign up to comment.