Image source: Wikipedia Hello. Today, I am the project leader of the railway Daisuki Seisis, Sugapi. In the photo at the beginning, everyone who thought, "Hey, this time it's not related to the railway, don't worry?" This is a public telephone in the Shinkansen car, so it is definitely related to the railway (laughs)...
Hello. Even in the corona disaster, I am the project leader of the railway Daisuki Syndrome, Sugapi. It's sad that I can't get on the train far away, but there are various railway content in the wide online world, so I'm enjoying it. I want to return to a world where events can be held as soon as possible. Image source: Wikipedia In such a situation, the image above is the "TH Liner" that started running on the Hibiya Subway Line. ...
Hello. This is Sugapi, the project leader of the Chuo Line Takao-Sagamiko, which is excited by the restoration of a single track. Alternating one side of the double track is very difficult because, unlike automobiles, the signaling equipment does not correspond to both directions. In order to prevent rear-end collisions and head-on collisions, strict manual management is required, so I think it will be difficult for all the railroad workers at the site. Thank you for your support until full-scale restoration. ...
In Contact Form 7, if you enter ''' on_sent_ok: "window.location.href = 'redirect URL';" '' in the "Other settings" of the editing screen for each form in the management screen, it will redirect you to the URL you set after the Contact Form 7 process is completed. ...
If you want to do some kind of check before inserting into a table in Contact Form DB, use hooks. ''' function my_form_chk( $cf 7 ) { // Get the value of the input form foreach ($cf 7->posted_data as $posted_name => $posted_value) { // The original value is not changed, so it is a different variable...
The Contact Form 7 questionnaire form plugin only sends emails, so Contact Form DB is a plug-in that stores data in the database. By adding both plugins to WordPress, you can easily store the contents of the input form in the DB. However, the table created by this Contact Form DB was a crook. From the WordPress admin...
If you attach a parameter to a URL and send it as a GET, you can pass it like ''' http://www.example.com/?param0=aaa¶m1=bbb ', and when you receive it, you can use ''' $param 0 = $_GET['param0']; $param1 = $_GET['param1']; ''' or ''' $param 0 = ...
The reference for wp\_insert\_attachment() includes ''' wp_insert_attachment( $attachment, $filename, $parent_post_id ); ''' and you need to specify $parent\_post\_id. That is, you can insert something into the posts table beforehand and add the post\_id...
If you want to access the WordPress DB from a script, you can simply access MySQL and handle it, but if you want to use a WordPress function for some reason (e.g. scripting an image), you can use ''' require_once('wp-blog-header.php'); ```...
For example, if you want to download multiple image files at once, you can copy the image files to a temporary directory on the server and archive them for download. However, this will copy the image files one by one, which can strain your storage, and if you have a large number of files, it will take a long time to copy. ...
Since I was going to work with WordPress, I decided to try it out on my usual Windows PC. ...