This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC0WYnhazI0t0+oIq4iDJQ4o5NHRRuG3JA5pgyJrqCutR5F6jdJMoMkNxYuhlk/wu7s0OkLOwTtcWo+O1RrgbvDfCmL3+5suhEspj/cXyVk72SmPYBDSVVy6ID6lzOhgKeP5/keXrRYTap3fhgQIU1cBfL44p6OtDsrfG+nx9t7v6OvOSqggAzWZ14yaspXIp6FeYaNCLP2alGB1qDGft2Y5uO8ZNTIiNTjnq3gr8tI2wcXHhWjeXsrA3cR6f1A4Btyq2JzTnQLeZ+sMGzE7cXe9K6DbMu16zXwo9oBHUu9CtJTu4fcNSZqX2Lpj28R2kXPnBelHj5y+7uKNyvWmqCSb0AGIRrPmNr/qnQu7cH0r0REmZzZ0nxo18jr9fd+x4UgC+Idz1YpzdmiQy7SHSq7QAzkHL/qjqJlxr1VLHZ2AsLYvqaP8/qgxKd3L7bQFF5ZN6ov/lBeXXMKHdxTREoVbJxJR1yPSScGjCgUTCZWQbFXv6ij7yaAWcZ21gdzHx22UJADDSKJTlAOLqPdBc+su/3ONmL6t0NC11j18/JMInm2MRai3wefROmpgENZ2fTRsbqAJWJy5XwXpZMMd0uez4NrSiAqKueWvFD7iu7Fs+vFozcngvQpeI0mCLFhXF8OOkYgYtP4zXuuoqAWONMrvTimgA1cyeOQJ0ebnx/UgQ== [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #### USAGE | |
| <aspect-ratio-image class="max-w-80" :imageSrc="person.image[0].image" :aspectRatio="person.image[0].aspect_ratio" /> | |
| #### AspecRatioImage Component | |
| <template> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <template> | |
| <figure :class="[objectFit !== '' ? 'is-' + objectFit : '']"> | |
| <picture v-if="imageFetchMode === 'srcset'"> | |
| <source :data-srcset="image.webp" type="image/webp" /> | |
| <source :data-srcset="image.opt" type="image/jpg" /> | |
| <img | |
| :src="image.placeholder" | |
| class="lazyload blur" | |
| :data-src="image.opt" | |
| /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * /!\ This is a copy of Walker_Nav_Menu_Edit class in core | |
| * | |
| * Create HTML list of nav menu input items. | |
| * | |
| * @package WordPress | |
| * @since 3.0.0 | |
| * @uses Walker_Nav_Menu | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| // bootstrap.php | |
| private function _includes(){ | |
| global $ae_template; | |
| require_once AE_PRO_PATH.'includes/themes/Ae_Theme_Base.php'; | |
| if(file_exists(AE_PRO_PATH.'includes/themes/'.$ae_template.'/Ae_Theme.php')){ | |
| require_once AE_PRO_PATH.'includes/themes/'.$ae_template.'/Ae_Theme.php'; | |
| }else{ | |
| add_action( 'after_setup_theme', function() { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "DB_HOST='db' | |
| DB_NAME='$MYSQL_DATABASE' | |
| DB_PASSWORD='$MYSQL_PASSWORD' | |
| DB_USER='$MYSQL_USER' | |
| DISABLE_WP_CRON='True' | |
| WP_ENV='development' | |
| WP_HOME='http://${VIRTUAL_HOST}' | |
| WP_SITEURL='http://${VIRTUAL_HOST}/wp' | |
| ACF_PRO_KEY='${ACF_PRO_KEY}" > .env |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "type": "package", | |
| "package": { | |
| "name": "macherjek/white-label-branding", | |
| "version": "4.1.6.75841", | |
| "type": "wordpress-plugin", | |
| "dist": { | |
| "type": "zip", | |
| "url": "" | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /** | |
| * This is an extension Class which works with Bitbucket Server. | |
| * See here https://github.com/YahnisElsts/plugin-update-checker/issues/119#issuecomment-318436920 | |
| */ | |
| if ( !class_exists('BitbucketServerApi', false) ): | |
| class BitbucketServerApi extends Puc_v4p2_Vcs_Api { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # install https://github.com/regenrek/WP-Aqua-Resizer Wordpress plugin | |
| $att_id = get_post_thumbnail_id(get_the_ID()); | |
| $image = aq_resize(wp_get_attachment_url( $att_id ), 400, 400,true, false); ?> | |
| <img src="<?php echo $image[0]; ?>" alt="img" /> |