
Bug编译狮
要使用XAMPP创建一个本地的WordPress站点,你需要遵循以下步骤:
-
安装XAMPP:
- 首先,确保你的计算机上已经安装了XAMPP。如果你还没有安装,可以从Apache HTTP Server和MariaDB的官方网站下载并安装。
-
启动XAMPP:
- 安装完成后,打开控制面板(Windows)或系统设置(Mac/Linux),找到“管理应用程序”选项,点击进入。
- 在这里,你可以看到XAMPP的相关服务,包括Apache、MySQL、PHP等。确保所有服务都已开启。
-
访问XAMPP控制台:
- 打开浏览器,输入
localhost/phpmyadmin来访问MySQL管理界面。 - 使用默认的用户名
root和密码password登录。如果忘记了密码,可以尝试从XAMPP控制台通过命令行找回。
- 打开浏览器,输入
-
安装WordPress:
- 下载最新版本的WordPress到你的电脑上。可以通过访问WordPress官网下载。
- 将下载好的文件解压到你选择的目录,例如C:xampphtdocswordpress。
-
配置WordPress:
- 进入XAMPP控制台,运行
php my.ini以查看配置信息。 -
为了简化配置过程,可以编辑
wp-config.php文件,添加数据库信息和其他必要的设置。例如:define('DB_NAME', 'your_database_name'); define('DB_USER', 'your_database_username'); define('DB_PASSWORD', 'your_database_password'); define('DB_HOST', 'localhost'); require_once('path/to/wordpress/wp-load.php');
- 进入XAMPP控制台,运行
-
访问本地WordPress:
- 启动Apache服务器后,访问
http://localhost/wordpress即可看到WordPress的登录页面。 - 登录时使用刚设置的用户名和密码。
- 启动Apache服务器后,访问
-
基本设置:
- 根据提示完成WordPress的基本设置,如网站名称、管理员账户等。
- 创建第一个文章或页面,开始你的本地开发工作。
示例代码
假设你刚刚完成了上述步骤,并成功地在本地打开了WordPress站点。接下来,我们来看一个简单的WordPress文章创建流程。
步骤1:新建文章
- 登录到你的本地WordPress后台管理系统。
- 点击左侧菜单栏中的“新建文章”按钮。
- 填写文章标题和正文内容,然后保存文章。
步骤2:发布文章
- 在文章详情页,点击右下角的“发布”按钮。
- 检查所有字段填写无误后,点击“发布”。
效果展示
- 当你完成这些步骤后,你会看到一个新文章被自动发布到了你的WordPress站点中。这个过程展示了如何利用XAMPP环境下的WordPress进行本地开发和测试。
通过以上步骤,你就学会了如何使用XAMPP创建一个本地的WordPress站点。这个过程简单易懂,适合初学者快速上手。

黑板前的Bug语法讲师
课程目标:
- 学习如何在本地环境安装和配置XAMPP。
- 使用XAMPP创建并运行一个基本的WordPress站点。
课程大纲:
1. 安装XAMPP
基本步骤:
- 下载XAMPP(Apache, MySQL, PHP, and MySQL Workbench)的最新版本。
- 将下载的文件解压到一个指定的目录下。
- 运行“xampp”命令以启动XAMPP服务器。
代码示例:
wget https://www.apachefriends.org/download.html
unzip apache-friends.zip
chmod +x apache-friends/bin/*
./apache-friends/bin/php-fpm -S
2. 创建MySQL数据库
步骤:
- 在XAMPP控制面板中,选择“MySQL”服务。
- 打开“phpMyAdmin”。
- 创建一个新的数据库并命名为wordpress。
代码示例:
CREATE DATABASE wordpress;
3. 配置WordPress
步骤:
-
在XAMPP控制面板中,选择“PHP”服务。
-
打开“phpMyAdmin”,然后找到wordpress数据库。
-
导航到“数据表”标签页,选择“WordPress”表。
-
点击“编辑”按钮,在“列属性”部分添加以下字段:
`ID`, `title`, `content`, `date` -
将
ID设置为自动增长字段。 -
关闭数据库连接。
代码示例:
<?php
// Connect to the database
$servername = "localhost";
$username = "root";
$password = "";
$dbname = "wordpress";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
// Insert a new post
$sql = "INSERT INTO wp_posts (post_title, post_content)
VALUES ('Test Title', 'This is my test content')";
if ($conn->query($sql) === TRUE) {
echo "New record created successfully";
} else {
echo "Error: " . $sql . "<br>" . $conn->error;
}
$conn->close();
?>
4. 创建WordPress站点
步骤:
- 进入你的网站根目录,打开“wp-config.php”文件。
- 将以下内容替换为你自己的数据库信息:
define('DB_NAME', 'your_database_name'); define('DB_USER', 'your_username'); define('DB_PASSWORD', 'your_password'); define('DB_HOST', 'localhost');
// Update your theme directory here. // Theme name can be any string you like. define(‘THEME_DIR’, ‘/path/to/your/theme’);
require_once(‘includes/wp-settings.php’);
**代码示例:**
```php
<?php
include_once 'includes/wp-settings.php';
define('WP_DEBUG', true); // Enable debugging for development purposes
require_once 'includes/class-wp.php';
// Load WordPress dependencies
$wplibs = array(
'db' => DB::getInstance(),
'wp' => WP::getInstance()
);
// Initialize WordPress
$init = function () use ($wplibs) {
foreach ($wplibs as $lib => $instance) {
if (!is_null($instance)) {
$instance->init();
}
}
};
$init();
// Add custom scripts and styles
add_action( 'wp_enqueue_scripts', 'custom_stylesheets' );
function custom_stylesheets() {
wp_register_style( 'my-custom-style', get_template_directory_uri() . '/assets/css/my-custom-style.css', array(), filemtime(get_template_directory() . '/assets/css/my-custom-style.css'), 'all' );
wp_enqueue_style( 'my-custom-style' );
wp_register_script( 'my-custom-script', get_template_directory_uri() . '/assets/js/my-custom-script.js', array( 'jquery' ), filemtime(get_template_directory() . '/assets/js/my-custom-script.js'), 'all' );
wp_enqueue_script( 'my-custom-script' );
}
5. 验证站点是否成功
步骤:
- 访问你的站点。
- 如果一切正常,你应该能看到WordPress的基本功能,如页面、分类、搜索等。
代码示例:
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>WordPress</title>
</head>
<body>
<h1>Welcome to WordPress!</h1>
<?php
echo '<pre>';
print_r(get_option('siteurl'));
echo '</pre>';
echo '<pre>';
print_r(get_option('blogname'));
echo '</pre>';
echo '<pre>';
print_r(get_option('description'));
echo '</pre>';
echo '<pre>';
print_r(get_option('admin_email'));
echo '</pre>';
echo '<pre>';
print_r(get_option('timezone_offset'));
echo '</pre>';
echo '<pre>';
print_r(get_option('version'));
echo '</pre>';
echo '<pre>';
print_r(get_option('siteurl'));
echo '</pre>';
echo '<pre>';
print_r(get_option('template_url'));
echo '</pre>';
echo '<pre>';
print_r(get_option('comment_status'));
echo '</pre>';
echo '<pre>';
print_r(get_option('ping_status'));
echo '</pre>';
echo '<pre>';
print_r(get_option('emoji_svg_url'));
echo '</pre>';
echo '<pre>';
print_r(get_option('emoji_enabled'));
echo '</pre>';
echo '<pre>';
print_r(get_option('allow_comments'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_author_credit'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_pingback_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_avatar_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_avatar_image'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_author_image'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_comment_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_single_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_archive_template'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tagcloud'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_thumbnail_size'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_post_format'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_category_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_tag_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_taxonomy_list'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_sidebars'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_search_results'));
echo '</pre>';
echo '<pre>';
print_r(get_option('default_page_template'));

