See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| <?php | |
| // Grab the first paragraph, show it where you need it, then take the rest of the content and remove the first paragraph and show it elsewhere | |
| // The script uses WordPress functions/content but can be used in any PHP script, just replace the WP functions | |
| // First Paragraph | |
| global $post; | |
| $p1 = wpautop( $post->post_content ); | |
| $p1 = substr( $p1, 0, strpos( $p1, '</p>' ) + 4 ); | |
| //$p1 = strip_tags($p1, '<a><strong><em><h3><h2><i>'); // in case you need to remove some tags, add the ones you want to KEEP here |
See also:
| Service | Type | Storage | Limitations |
|---|---|---|---|
| Amazon DynamoDB | 25 GB | ||
| Amazon RDS | |||
| Azure SQL Database | MS SQL Server | ||
| 👉 Clever Cloud | PostgreSQL, MySQL, MongoDB, Redis | 256 MB (PostgreSQL) | Max 5 connections (PostgreSQL) |
| // add all the elements inside modal which you want to make focusable | |
| const focusableElements = | |
| 'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'; | |
| const modal = document.querySelector('#exampleModal'); // select the modal by it's id | |
| const firstFocusableElement = modal.querySelectorAll(focusableElements)[0]; // get first element to be focused inside modal | |
| const focusableContent = modal.querySelectorAll(focusableElements); | |
| const lastFocusableElement = focusableContent[focusableContent.length - 1]; // get last element to be focused inside modal |
| //@target Illustrator | |
| // script.name = textBlockLive.jsx; | |
| // script.description = converts selected point textFrames into a Block of Text; | |
| // script.required = one document with at least two selected Point Text frames; | |
| // script.parent = carlos canto // 12/4/11; Update 03/15/205 added User Defined Units, cosmetics | |
| // script.modification = sergey osokin // 08/12/23; keep text editable, sort texts by Y, cosmetics | |
| // script.elegant = false; | |
| function main() { |
Note
Hi, everyone. I've been putting in a lot of work on this over the last few weeks months (sob) and i'm currently underemployed! If you'd like to hire me to do CMS-based work (i focus on Craft and ExpressionEngine but i do some WordPress work as well), please reach out! Alternatively, if you'd like to chip in toward bills & groceries, that's a big help right now!