|
7 | 7 | * @since Visual Composer Starter 1.0
|
8 | 8 | */
|
9 | 9 |
|
10 |
| -if ( vct_is_the_footer_displayed() ) : ?> |
11 |
| - <?php vct_hook_before_footer(); ?> |
| 10 | +if ( visualcomposerstarter_is_the_footer_displayed() ) : ?> |
| 11 | + <?php visualcomposerstarter_hook_before_footer(); ?> |
12 | 12 | <footer id="footer">
|
13 | 13 | <?php
|
14 | 14 | if ( get_theme_mod( 'vct_footer_area_widget_area', false ) ) :
|
15 | 15 | $footer_columns = get_theme_mod( 'vct_footer_area_widgetized_columns', 1 );
|
16 | 16 | $footer_columns_width = 12 / $footer_columns;
|
17 | 17 | ?>
|
18 | 18 | <div class="footer-widget-area">
|
19 |
| - <div class="<?php echo esc_attr( vct_get_content_container_class() ); ?>"> |
| 19 | + <div class="<?php echo esc_attr( visualcomposerstarter_get_content_container_class() ); ?>"> |
20 | 20 | <div class="row">
|
21 | 21 | <div class="col-md-<?php echo esc_attr( $footer_columns_width ); ?>">
|
22 | 22 | <?php if ( is_active_sidebar( 'footer' ) ) : ?>
|
|
35 | 35 | </div>
|
36 | 36 | <?php endif; ?>
|
37 | 37 | <div class="footer-bottom">
|
38 |
| - <div class="<?php echo esc_attr( vct_get_content_container_class() ); ?>"> |
| 38 | + <div class="<?php echo esc_attr( visualcomposerstarter_get_content_container_class() ); ?>"> |
39 | 39 | <?php if ( get_theme_mod( 'vct_footer_area_social_icons', false ) ) : ?>
|
40 | 40 | <div class="footer-right-block">
|
41 | 41 | <div class="footer-socials">
|
42 | 42 | <ul>
|
43 | 43 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_facebook', '' ) ) ) : ?>
|
44 | 44 | <li>
|
45 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_facebook', |
46 |
| - '' ) ); ?>"><span class="vct-icon-facebook-with-circle"></span></a> |
| 45 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_facebook', '' ) ); ?>"><span class="vct-icon-facebook-with-circle"></span></a> |
47 | 46 | </li>
|
48 | 47 | <?php endif; ?>
|
49 | 48 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_twitter', '' ) ) ) : ?>
|
50 | 49 | <li>
|
51 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_twitter', |
52 |
| - '' ) ); ?>"><span class="vct-icon-twitter-with-circle"></span></a> |
| 50 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_twitter', '' ) ); ?>"><span class="vct-icon-twitter-with-circle"></span></a> |
53 | 51 | </li>
|
54 | 52 | <?php endif; ?>
|
55 | 53 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_linkedin', '' ) ) ) : ?>
|
56 | 54 | <li>
|
57 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_linkedin', |
58 |
| - '' ) ); ?>"><span class="vct-icon-linkedin-with-circle"></span></a> |
| 55 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_linkedin', '' ) ); ?>"><span class="vct-icon-linkedin-with-circle"></span></a> |
59 | 56 | </li>
|
60 | 57 | <?php endif; ?>
|
61 | 58 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_instagram', '' ) ) ) : ?>
|
62 | 59 | <li>
|
63 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_instagram', |
64 |
| - '' ) ); ?>"><span class="vct-icon-instagram-with-circle"></span></a> |
| 60 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_instagram', '' ) ); ?>"><span class="vct-icon-instagram-with-circle"></span></a> |
65 | 61 | </li>
|
66 | 62 | <?php endif; ?>
|
67 | 63 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_pinterest', '' ) ) ) : ?>
|
68 | 64 | <li>
|
69 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_pinterest', |
70 |
| - '' ) ); ?>"><span class="vct-icon-pinterest-with-circle"></span></a> |
| 65 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_pinterest', '' ) ); ?>"><span class="vct-icon-pinterest-with-circle"></span></a> |
71 | 66 | </li>
|
72 | 67 | <?php endif; ?>
|
73 | 68 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_youtube', '' ) ) ) : ?>
|
74 | 69 | <li>
|
75 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_youtube', |
76 |
| - '' ) ); ?>"><span class="vct-icon-youtube-with-circle"></span></a> |
| 70 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_youtube', '' ) ); ?>"><span class="vct-icon-youtube-with-circle"></span></a> |
77 | 71 | </li>
|
78 | 72 | <?php endif; ?>
|
79 | 73 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_vimeo', '' ) ) ) : ?>
|
80 | 74 | <li>
|
81 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_vimeo', |
82 |
| - '' ) ); ?>"><span class="vct-icon-vimeo-with-circle"></span></a> |
| 75 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_vimeo', '' ) ); ?>"><span class="vct-icon-vimeo-with-circle"></span></a> |
83 | 76 | </li>
|
84 | 77 | <?php endif; ?>
|
85 | 78 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_flickr', '' ) ) ) : ?>
|
86 | 79 | <li>
|
87 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_flickr', |
88 |
| - '' ) ); ?>"><span class="vct-icon-flickr-with-circle"></span></a> |
| 80 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_flickr', '' ) ); ?>"><span class="vct-icon-flickr-with-circle"></span></a> |
89 | 81 | </li>
|
90 | 82 | <?php endif; ?>
|
91 | 83 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_github', '' ) ) ) : ?>
|
92 | 84 | <li>
|
93 |
| - <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_github', |
94 |
| - '' ) ); ?>"><span class="vct-icon-github-with-circle"></span></a> |
| 85 | + <a target="_blank" href="<?php echo esc_url( get_theme_mod( 'vct_footer_area_social_link_github', '' ) ); ?>"><span class="vct-icon-github-with-circle"></span></a> |
95 | 86 | </li>
|
96 | 87 | <?php endif; ?>
|
97 | 88 | <?php if ( strlen( get_theme_mod( 'vct_footer_area_social_link_email', '' ) ) ) : ?>
|
98 | 89 | <li>
|
99 |
| - <a href="mailto:<?php echo esc_html( antispambot( get_theme_mod( 'vct_footer_area_social_link_email', |
100 |
| - '' ) ) ); ?>"><span class="vct-icon-mail-circle"></span></a> |
| 90 | + <a href="mailto:<?php echo esc_html( antispambot( get_theme_mod( 'vct_footer_area_social_link_email', '' ) ) ); ?>"><span class="vct-icon-mail-circle"></span></a> |
101 | 91 | </li>
|
102 | 92 | <?php endif; ?>
|
103 | 93 |
|
|
109 | 99 | <p class="copyright">
|
110 | 100 | <span>
|
111 | 101 | <?php /* translators: 1. date, 2. blog name */
|
112 |
| - printf( esc_html__( 'Copyright © %1$s %2$s. All Rights Reserved.', |
113 |
| - 'visual-composer-starter' ), |
114 |
| - esc_html( get_the_time( 'Y' ) ), |
115 |
| - esc_html( get_bloginfo( 'name' ) ) ); ?></span> |
| 102 | + printf( esc_html__( 'Copyright © %1$s %2$s. All Rights Reserved.', 'visual-composer-starter' ), esc_html( get_the_time( 'Y' ) ), esc_html( get_bloginfo( 'name' ) ) ); ?></span> |
116 | 103 | <span>
|
117 | 104 | <?php /* translators: 1. link opening tag, 2. link opening tag, 3. link closing tag */
|
118 |
| - printf( esc_html__( 'Proudly powered by %1$sVisual Composer%3$s and %2$sWordPress%3$s', |
119 |
| - 'visual-composer-starter' ), |
120 |
| - '<a href="http://visualcomposer.io/?utm_campaign=vc-theme&utm_source=vc-theme-front&utm_medium=vc-theme-footer" target="_blank">', |
121 |
| - '<a href="https://wordpress.org" target="_blank">', |
122 |
| - '</a>' ); ?></span> |
| 105 | + printf( esc_html__( 'Proudly powered by %1$sVisual Composer%3$s and %2$sWordPress%3$s', 'visual-composer-starter' ), '<a href="http://visualcomposer.io/?utm_campaign=vc-theme&utm_source=vc-theme-front&utm_medium=vc-theme-footer" target="_blank">', '<a href="https://wordpress.org" target="_blank">', '</a>' ); ?></span> |
123 | 106 | </p>
|
124 | 107 | <?php if ( has_nav_menu( 'secondary' ) ) : ?>
|
125 | 108 | <div class="footer-menu">
|
|
135 | 118 | </div>
|
136 | 119 | </div>
|
137 | 120 | </footer>
|
138 |
| - <?php vct_hook_after_footer(); ?> |
| 121 | + <?php visualcomposerstarter_hook_after_footer(); ?> |
139 | 122 | <?php endif; ?>
|
140 | 123 | <?php wp_footer(); ?>
|
141 | 124 | </body>
|
|
0 commit comments