PluginProbe
Friends / 4.3.0
Friends v4.3.0
4.3.2 4.3.1 4.3.0 4.2.2 4.2.1 4.2.0 4.1.0 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.8.9 2.9.0 2.9.1 All 88 releases
friends / templates / twitter / frontend / footer.php

footer.php in Friends 4.3.0, at templates/twitter/frontend/footer.php

40 lines 1.7 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Twitter theme: page footer.
4 *
5 * @package Friends
6 */
7
8 ?>
9 </div><!-- .twitter-center-col -->
10
11 <!-- Right column: search + trending -->
12 <aside class="twitter-right-col" id="friends-sidebar">
13 <a class="twitter-sidebar-close" href="#close" aria-label="<?php esc_attr_e( 'Close sidebar', 'friends' ); ?>">&times;</a>
14 <form class="twitter-search-form form-autocomplete" action="<?php echo esc_url( home_url( '/friends/' ) ); ?>">
15 <div class="form-autocomplete-input twitter-search-wrap">
16 <?php
17 $_search = '';
18 if ( isset( $_GET['s'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Recommended
19 $_search = sanitize_text_field( wp_unslash( $_GET['s'] ) ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended
20 }
21 ?>
22 <input class="twitter-search-input master-search" type="text" name="s" placeholder="<?php /* phpcs:ignore WordPress.WP.I18n.MissingArgDomain */ esc_attr_e( 'Search' ); ?>" value="<?php echo esc_attr( $_search ); ?>" autocomplete="off" data-nonce="<?php echo esc_attr( wp_create_nonce( 'friends-autocomplete' ) ); ?>" id="master-search" />
23 <i class="form-icon"></i>
24 </div>
25 <ul class="menu" style="display: none"></ul>
26 </form>
27 <div class="twitter-right-widgets">
28 <?php dynamic_sidebar( 'friends-sidebar-2' ); ?>
29 </div>
30 <div class="twitter-right-customize">
31 <a href="<?php echo esc_url( add_query_arg( 'url', home_url( '/friends/' ), admin_url( 'customize.php?autofocus[section]=sidebar-widgets-friends-sidebar-2' ) ) ); ?>"><?php esc_html_e( 'customize sidebar', 'friends' ); ?></a>
32 </div>
33 </aside>
34
35 <a class="twitter-overlay" href="#close"></a>
36
37 <?php wp_footer(); ?>
38 </body>
39 </html>
40