Getting started with WordPressget_bloginfo()Enqueuing scriptsMaking network requests with HTTP APIEnqueuing Styleshome_url()Custom Post Typestemplate_includeThe Loop (main WordPress loop)AJAXThe $wpdb ObjectActions and Filterswp_get_current_user()Add/remove contact info for users with user_contactmethods filter hookCreating a custom templateCustomizer Hello WorldCustomizer Basics (Add Panel, Section, Setting, Control)The Admin Bar (aka "The Toolbar")Querying postsAlternating main loop (pre_get_posts filter)ShortcodeCreate a Post Programmaticallyget_template_part()Taxonomiesget_template_part()ShortcodesPost FormatsCustom exerpts with excerpt_length and excerpt_morePlugin developmentSecurity in WordPress - EscapingTemplate hierarchyRemove Version from Wordpress and StylesheetsChild Theme Basicsadd_action()get_template_part()Shortcode with attributeSidebarsSecurity in WordPress - SanitizationinitCreate Template for Custom Post TypeFunction: add_action()Add ShortcodeHow Can I integrate Markdown editor with Advance Custom Field's repeater Add-on.Installation and Configurationwp_get_current_user()WP-CronSecure your installationOptions APIFunction : wp_trim_words()WP_Query() LoopUpdate WordPress ManuallyThemesWP-CLIDebuggingadd_menu_page()add_submenu_page()get_option()get_permalink()get_the_category()the_title()get_the_title()add_editor_style()add_theme_support()WordPress Plugin creationRun WordPress local with XAMPPAdmin Dashboard WidgetsSite MigrationMeta BoxRemove Auto Line Breaks From Content and Excerptget_home_path()Wordpress theme and child-theme developmentREST API

Run WordPress local with XAMPP

Other topics

1. Installing XAMPP

  1. Download the installer for the current version of XAMPP
  2. Go through the installation wizard and change nothing if you are not sure what you are changing.
  3. After the installation you see the XAMPP control panel. Just click the start button of Apache and MySQL to run both with the basic configuration.
  4. If your computer is connected to a local network, and you want access the web server from other computers too, be sure that your firewall allows it.

2. Setup a database after installing XAMPP

To run WordPress on your computer you need to configurate a database first. Be sure that Apache and MySQL are running (see Installing XAMPP step 3)

  1. Start a web browser of your choice and enter "localhost" in the address.
  2. Choose your preferred language and select in the category "Tools" -> phpMyAdmin.
  3. Select the tab Databases.
  4. Enter the name of your database (you will need this name later) below "Create database" and choose utf8_general_ci in the dropdown "Collation".
  5. Click at your created database at the left side and select the tab Users.
  6. Add a new user by clicking at Add user.
  7. Enter your username, choose local in the "Host" dropdown (if you want access the database from other computers in the network choose Any host) and enter your password (you will need this later too).
  8. Check if below "Database for user" Grant all privileges on wildcard name is checked.
  9. Press Go.

3. Installing WordPress after setup the database

After you installed XAMPP and setup the MySQL database you can install WordPress.

  1. Download the latest version of WordPress.
  2. Unzip the file and insert the folder in the root directory of your webserver (if you used the suggested path during the setup of XAMPP it is "c:\xampp\htdocs").
  3. All files which existing twice can be replaced.
  4. Enter in the address field of your webbrowser "localhost/wordpress/wp-admin/install.php".
  5. After choosing your language click Continue and then Let's go.
  6. Replace all the default text fields with your chosen configuration (see "Setup a database"). Don't change "Database Host" and "Table Prefix", except you want to migrate your local WordPress installation online. Then keep in mind that security is important. You find more information in Set Prefix in New WordPress Installation.
  7. Press Submit and than Run the install.
  8. Now you have to enter the name of your site, an username, password and a valid e-mail.
  9. Click Install WordPress to finish the setup and log into your new local WordPress site.

Contributors

Topic Id: 9551

Example Ids: 29510,29511,29512

This site is not affiliated with any of the contributors.