First, make sure you have Composer installed in your system.
In order to use the WPCS you'll need the PHP_CodeSniffer (PHPCS) and the WPCS rules (sniffs) installed.
You can install PHP_CodeSniffer globally using Composer by running this command:
<?php | |
/** | |
* อ่านบทความเพิ่มเติมได้ที่: https://coderblitz.com/blog/add-blog-slug-in-front-posts/ | |
* | |
* Tip: หลังจากเพิ่มกฎ Rewrite แล้วอย่าลืมไปที่ Settings > Permalinks แล้วกด “Save Changes” เพื่อรีเฟรช Rewrite rules ด้วย | |
*/ | |
/** | |
* Filter the post permalink to add 'blog/' slug in front of post slug. |
First, make sure you have Composer installed in your system.
In order to use the WPCS you'll need the PHP_CodeSniffer (PHPCS) and the WPCS rules (sniffs) installed.
You can install PHP_CodeSniffer globally using Composer by running this command:
{"lastUpload":"2022-10-01T18:29:55.383Z","extensionVersion":"v3.4.3"} |
/******************************\ | |
!!! คำเตือน โปรดระวัง !!! | |
การใช้บอท มีความเสี่ยงที่จะถูกแบนได้ | |
แนะนำให้สร้างบัญชีใหม่มาบอทโดยเฉพาะ | |
\******************************/ | |
class TLMBot { | |
constructor(minWaitTime = 5000, maxWaitTime = 15000) { | |
this.minWaitTime = minWaitTime; | |
this.maxWaitTime = maxWaitTime; |
// Tutorial | |
https://gist.github.com/chrismccoy/de8231206acacfc635c2ff9a5415459c | |
// React Component | |
https://dev.to/martinkr/create-a-wordpress-s-gutenberg-block-with-all-react-lifecycle-methods-in-5-minutes-213p | |
https://melonpan.io/ | |
https://github.com/WordPress/gutenberg-examples | |
https://github.com/zutigrm/user-info-box-gutenberg-block | |
https://github.com/UdiAzulay/ua-list-pages |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |