.wp-headers-and-footers-rate-stars { display: inline-block; color: #ffb900; position: relative; top: 3px; }.wp-headers-and-footers-rate-stars svg{ fill:#ffb900; } .wp-headers-and-footers-rate-stars svg:hover{ fill:#ffb900 } .wp-headers-and-footers-rate-stars svg:hover ~ svg{ fill:none; } '; $plugin_rate = 'https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/?rate=5#rate-response'; $plugin_filter = 'https://wordpress.org/support/plugin/wp-headers-and-footers/reviews/?filter=5'; $svg_xmlns = 'https://www.w3.org/2000/svg'; $svg_icon = ''; for ( $i = 0; $i < 5; $i++ ) { $svg_icon .= ""; } // Set icon for thumbs up. $meta_fields[] = '' . __( 'Vote!', 'wp-headers-and-footers' ) . ''; // Set icon for 5-star reviews. v1.1.22. $meta_fields[] = "" . $svg_icon . ''; return $meta_fields; } /** * Add a link to the settings page to the plugins list * * @param URL $links the action link. * @param string $file the file name. * @since 1.2.1 */ public function action_links( $links, $file ) { static $this_plugin; if ( empty( $this_plugin ) ) { $this_plugin = 'wp-headers-and-footers/wp-headers-and-footers.php'; } if ( $file === $this_plugin ) { /* Translators: Settings tab */ $settings_link = sprintf( esc_html__( '%1$s Settings %2$s', 'wp-headers-and-footers' ), '', '' ); array_unshift( $links, $settings_link ); } return $links; } } endif; new WPHeaderAndFooter_Plugin_Meta();