주절주절

Modify the WordPress theme

It is a method of modifying the file that is backed up (represented by a child theme) without touching the original when modifying the WordPress theme. To easily check the children theme used, create a new folder in the "WP-Content/Theme" folder by combining the theme name. Copy the "Style.css" of the original theme to the child theme folder and "Theme Name", "Themplate" as below ...

WordPress installation completed

Installing WordPress and analyzing ... It is not yet adaptable. The delay was huge because it was wandering from installing the menu If the submenu is a page (?), Navigate failed to print the focus properly. Temporary modifications and works normally. I think I should analyze more (File Location: /themes/polished/includes/scripts.php) Installed plugin -Automatic subdomains -Jquery Vertical Accordion Menu -root cookie -Permalink Editor (only installation, inactive)

Gnuboard backup rehearsal practice

After receiving the backup carefully (??) to convert the existing DB from EUC-KR to UTF8, I opened it with Editplus, and it contains characters that can be lost in encoding, Ignoring it with a job and changing it to UTF8 and IMPORT .... Damn ㅠㅠ Broken letters Search in a hurry ~~~~ In the end, I can't see the method .. (When dumping-default-character-set, you can't give you all the options ...

Gnuboard linked completion

Based on the WordPress member DB, it was linked with Gnuboard to make it possible to write when logging in from BBS. Sharing cookies with sub domain Save the source below as "WP-SSO.PHP" on the server where the WordPress is installed.[PHP][/PHP]If there is no gnuboard session value and WordPress cookie value, module 2 is processed on the server to implement SSO (SINGLE SIGN ON) function If you have a gnuboard session value and the WordPress cookie value, you can empty the session and gangcy the page Nuboard ...

HTTP access information record

When using OpenAPI, it is to check whether the test and access information is properly Messos value, host, POST value when connecting[PHP] <? $log = $_SERVER['REQUEST_METHOD'].' '.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']."nn"; foreach($_SERVER as $k => $v) { if($k=='HTTP_HOST') continue; if(substr($k, 0,5)!='HTTP_') continue; $log .= '$k: $v'."n"; } $log .= "n"; $post = array_map('urldecode', explode('&', file_get_contents('php://input'))); foreach($post as $v) { $log .= "$vn"; } $log .= "-----------------------------------n"; file_put_contents('log.txt', $log, FILE_APPEND | LOCK_EX); ?> [/PHP]

Bring jQuery from Google

Because of the traffic, the images and flash files were moved to another server and connected. JQuery finds the following source while surfing and connects to Google Modified File: Theme/Functions.php[PHP] //Making jQuery Google API function modify_jquery() { if (!is_admin()) { // comment out the next two lines to load the local copy of jQuery ...