Sanguok | 山月

Make WP IndieBlocksWebmention two plugins work together

Original link: https://sanguok.com/blog/make-wordpress-indieblocks-webmention-two-plug-ins-work-together/ Import the Webmention plugin on WordPress to provide webmention functionality for your site. network[…] This article is transferred from: https://sanguok.com/blog/make-wordpress-indieblocks-webmention-two-plug-ins-work-together/ This site is only for collection, and the copyright belongs to the original author.

A possibility of repeated calling of WordPress hooks repeated installation of plugins

Original link: https://sanguok.com/blog/one-possible-reason-for-wordpress-hooks-being-called-repeatedly-plugins-being-installed-repeatedly/ Recently, in the process of using a WordPress plugin, I encountered a bug that the program could not work as expected. Many times, this is not necessarily the program […] This article is transferred from: https://sanguok.com/blog/one-possible-reason-for-wordpress-hooks-being-called-repeatedly-plugins-being-installed-repeatedly/ This site is only for collection, and the copyright belongs to the original author.

Let WordPress’s custom post type support post formats

Original link: https://sanguok.com/blog/make-wordpress-custom-post-type-support-post-formats/ If you want to make a custom post type (post type) support post formats (post format), you need to register this po […] This article is transferred from: https://sanguok.com/blog/make-wordpress-custom-post-type-support-post-formats/ This site is only for collection, and the copyright belongs to the original author.

How to import people you follow on Mastodon to Friendica

Original link: https://sanguok.com/blog/how-to-import-the-people-you-follow-on-mastodon-to-friendica/ As the title. Do not manually copy and paste one by one, which is troublesome and laborious. Please open your Mastodon settings page and find “Import and Export[…] This article is transferred from: https://sanguok.com/blog/how-to-import-the-people-you-follow-on-mastodon-to-friendica/ This site is only for collection, and the copyright belongs to the original author.

Authenticating Your Mastodon Identity with the Gutenberg Block Editor in WordPress

Original link: https://sanguok.com/blog/verify-your-mastodon-identity-in-wordpress-with-the-gutenberg-block-editor/ One way for Mastodon to verify its authenticity is to add a link to the personal page on Mastodon on the site it owns […] This article is transferred from: https://sanguok.com/blog/verify-your-mastodon-identity-in-wordpress-with-the-gutenberg-block-editor/ This site is only for collection, and the copyright belongs to the original author.

An option for posting Mastodon on WordPress: Shortnotes+Share on Mastodon

Original link: https://sanguok.com/blog/an-option-for-posting-mastodon-doodads-on-wordpress-shortnotes-plus-share-on-mastodon/ If you want to publish short text on WordPress, it is a pain point to separate short text from long text. If you want to use a plugin specialized for short content, you can consider Shortnotes and link it with the Share on Mastodon plugin. This article introduces it. This article is …

An option for posting Mastodon on WordPress: Shortnotes+Share on Mastodon Read More »

How to Change Friendica Domain Name

Original link: https://sanguok.com/blog/how-to-change-friendicas-domain-name/ method to log in to the administrator account. Click “Administration” in the menu bar. After entering the management interface, find “Configuration” – “Website” in the left column. In the “Website […] This article is transferred from: https://sanguok.com/blog/how-to-change-friendicas-domain-name/ This site is only for collection, and the copyright belongs to the original author.

How to change IndieBlocks note and like slug

Original link: https://sanguok.com/blog/how-to-change-indieblocks-note-and-like-slug/ Plugin introduction IndieBlocks is an easy-to-get IndieWeb plugin, through which you can easily make your WordP […] This article is transferred from: https://sanguok.com/blog/how-to-change-indieblocks-note-and-like-slug/ This site is only for collection, and the copyright belongs to the original author.

Add online Markdown and HTML conversion tools for WordPress

Original link: https://sanguok.com/blog/adding-online-markdown-and-html-conversion-tools-to-wordpress/ I believe that everyone sometimes needs to convert the content written in Markdown code to HTML version, and vice versa. In addition to using existing transfers on the Internet […] This article is transferred from: https://sanguok.com/blog/adding-online-markdown-and-html-conversion-tools-to-wordpress/ This site is only for collection, and the copyright belongs to the original author.

Use guard clauses to make if else easier to read

Original link: https://sanguok.com/blog/make-if-else-statements-easier-to-read-with-guard-clauses/ Recently, under the guidance of my friend, Master Dâng, I learned guard clauses. Guard statements make if el […] This article is transferred from: https://sanguok.com/blog/make-if-else-statements-easier-to-read-with-guard-clauses/ This site is only for collection, and the copyright belongs to the original author.

Consequences of incorrectly indenting Python code

Original link: https://sanguok.com/blog/the-consequences-of-incorrect-indentation-in-python-code/ Indentation refers to spaces at the beginning of lines of code. In Python, indentation is not only for readability, it is also used to represent code block hierarchy. It helps to distinguish which […] This article is transferred from: https://sanguok.com/blog/the-consequences-of-incorrect-indentation-in-python-code/ This site is only for collection, and the copyright belongs to the …

Consequences of incorrectly indenting Python code Read More »

How to distinguish between “実(じつ)は” and “実(じつ)に”?

Original link: https://sanguok.com/blog/difference-between-jitsu-wa-jitsu-ni/ In Japanese, we can see a group of similarly written phrases: the Chinese characters are all “実”, pronounced “じつ”; only the particle following it is different: one is “は”, […] This article is transferred from: https://sanguok.com/blog/difference-between-jitsu-wa-jitsu-ni/ This site is only for collection, and the copyright belongs to the original author.

The Soviet Union’s suppression of national languages, cultural and educational undertakings

Original link: https://sanguok.com/blog/the-suppression-of-national-languages-culture-and-education-by-the-soviet-union/ According to the book “Today’s Soviet Union is a Prison for People of All Nationalities”, compiled by the Worker Theory Group of Dalian Shipping Bureau, and published by People’s Publishing House in January 1978, the unified ISBN: […] This article is reproduced from: https://sanguok.com/blog/the-suppression-of-national-languages-culture-and-education-by-the-soviet-union/ This site is only for collection, and the …

The Soviet Union’s suppression of national languages, cultural and educational undertakings Read More »