Clubhouse: #ADD LINK TO CLUBHOUSE STORY
Clearly and concisely describe the feature.
Analyze and attach design documentation.
| /** | |
| * REMOVE GUTENBERG EDITOR | |
| * Reference: https://kinsta.com/blog/disable-gutenberg-wordpress-editor/ | |
| */ | |
| add_filter('use_block_editor_for_post', '__return_false'); |
| <div class="fitvids"> | |
| <?php $video = get_field('testimonial_video'); | |
| $image = get_field('testimonial_image'); ?> | |
| <?php if ($image && $video) { // image click to video ?> | |
| <a href="#" class="js-video"> | |
| <img src="<?php echo $image; ?>" data-video="<?php echo $video; ?>"> | |
| </a> | |
| <?php } else if ($video) { // video only ?> |
Make sure you're including jQuery within the project.
The link that you want the user to click, trigger the scroll, needs to have a class of js-scroll-to-top:
<a href="#" class="js-scroll-to-top">Back to Top</a>
At the top of your page, right after the body tag, include an empty div with an ID of top:
| <?php wp_list_comments(array( | |
| 'avatar_size' => '140', | |
| 'type' => 'comment', | |
| 'callback' => 'ahha_comments' | |
| )); ?> |
| <?php if (have_posts()) : while (have_posts()) : the_post(); ?> | |
| <?php // ACF | |
| $image = get_field('extra_image'); | |
| var_dump($image); | |
| ?> | |
| <img src="<?= $image['url']; ?>" alt="<?= $image['alt']; ?>"> | |
| <?php // FEATURED IMAGE >> IMAGE TAG |
| [submodule "wp"] | |
| path = wp | |
| url = git://github.com/WordPress/WordPress.git | |
| [submodule "ahha_plugin_acf"] | |
| path = wp-content/plugins/ahha_plugin_acf | |
| url = [email protected]:ahhacreative/ahha_plugin_acf.git | |
| [submodule "ahha_plugin_wpdbmigratepro"] | |
| path = wp-content/plugins/ahha_plugin_wpdbmigratepro |
| // Scheme of colors | |
| $colorscheme: ( | |
| gray: ( | |
| base: #ccc, | |
| light: #f2f2f2, | |
| dark: #666 | |
| ), | |
| brown: ( | |
| base: #ab906b, | |
| light: #ecdac3, |