This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors | |
| #Wordpress update | |
| #Upgrade stalls at ‘unpacking the update’ | |
| max_execution_time=60 | |
| #Import file size limit in PHPMyAdmin | |
| upload_max_filesize |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| https://developer.wordpress.org/reference/functions/add_menu_page/ | |
| add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null ); | |
| /** | |
| * Reset posts counts only for current users | |
| */ | |
| https://wordpress.stackexchange.com/questions/49154/hide-other-users-posts-in-admin-panel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // installing | |
| https://make.wordpress.org/cli/handbook/guides/installing/\ | |
| https://deliciousbrains.com/complete-guide-to-installing-wp-cli/ | |
| // https://www.youtube.com/watch?v=O_LoQ0WC7DQ | |
| //--> The Complete Guide to Installing WP-CLI | |
| https://deliciousbrains.com/complete-guide-to-installing-wp-cli/#verifying-wp-cli |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * | |
| * The WordPress Hooks | |
| * | |
| */ | |
| https://kinsta.com/blog/wordpress-hooks/ | |
| // loading order |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * WordPress Query Comprehensive Reference | |
| * Compiled by luetkemj - luetkemj.com | |
| * | |
| * CODEX: http://codex.wordpress.org/Class_Reference/WP_Query#Parameters | |
| * Source: https://core.trac.wordpress.org/browser/tags/3.9/src/wp-includes/query.php | |
| */ | |
| https://clubmate.fi/an-in-depth-look-into-the-wp_query-and-a-wordpress-loop/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /************ Work with Database in WP ************/ | |
| // interesting facts about DB, The WordPress Database Structure | |
| // one-to-many relationships. | |
| https://code.tutsplus.com/tutorials/understanding-and-working-with-data-in-wordpress--cms-20567 | |
| // official docs | |
| https://codex.wordpress.org/Database_Description |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| User-agent: * | |
| Disallow: /wp-admin | |
| Disallow: /wp-includes | |
| Disallow: /wp-content/plugins | |
| Disallow: /wp-content/cache | |
| Disallow: /wp-content/themes | |
| Disallow: /wp-includes/js | |
| Disallow: /trackback | |
| Disallow: /category/*/* | |
| Disallow: */trackback |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #https://uk.godaddy.com/help/redirect-http-to-https-for-wordpress-on-linux-27904 | |
| #For Linux host | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase / | |
| // For http to https redirect (work on bluehost) | |
| RewriteCond %{HTTPS} !=on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html <?php language_attributes(); ?>> | |
| <head> | |
| <meta charset="<?php bloginfo('charset'); ?>"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <link rel="profile" href="https://gmpg.org/xfn/11"> | |
| <!-- Open Graph data --> | |
| <meta property="og:locale" content="en_US"> |