Changeset 2958003
- Timestamp:
- 08/24/2023 04:37:12 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
yet-another-movie/tags/1.2.2/admin/movieHelperSettingsPage.php
r2848387 r2958003 403 403 $text .= '<div class="moviehelper-donate-title">' . __('You may also like...', 'movie-helper') .'</div>'; 404 404 $text .= '<div class="moviehelper-donate-content">'; 405 $text .= $this->yasr();406 $text .= '</p><hr />';407 405 $text .= $this->cnrt(); 408 406 $text .= '</div>'; //second div … … 410 408 411 409 echo wp_kses_post($text); 412 }413 414 /**415 * Yasr Box416 *417 * @author Dario Curvino <@dudo>418 * @since 1.0.2419 * @return string420 */421 private function yasr() {422 $url = add_query_arg(423 array(424 'tab' => 'plugin-information',425 'plugin' => 'yet-another-stars-rating',426 'TB_iframe' => 'true',427 'width' => '772',428 'height' => '670'429 ),430 network_admin_url( 'plugin-install.php' )431 );432 $text = '<h4>Yet Another Stars Rating</h4>';433 $text .= '<div style="margin-top: 15px;">';434 $text .= esc_html__('Boost the way people interact with your site with an easy WordPress stars rating system!435 With Schema.org rich snippets YASR will improve your SEO!', 'movie-helper');436 $text .= '</div>';437 $text .= '<div style="margin-top: 15px;">438 <a href="'. esc_url( $url ).'" class="install-now button thickbox open-plugin-details-modal" target="_blank">'439 . __( 'Install', 'movie-helper' ).'</a>';440 $text .= '</div>';441 442 return $text;443 410 } 444 411
Note: See TracChangeset
for help on using the changeset viewer.