Skip to content

Commit

Permalink
Adding social links to menu page options header; see: wpsharks/comet-…
Browse files Browse the repository at this point in the history
  • Loading branch information
renzms committed May 21, 2016
1 parent c2aa13c commit 962466f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/includes/classes/MenuPageOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,16 @@ public function __construct()
echo ' <a href="'.esc_attr('http://cometcache.com/blog/').'" target="_blank"><i class="si si-rss-square"></i> '.__('Blog', SLUG_TD).'</a>'."\n";
echo ' </div>'."\n";


echo ' <div class="plugin-menu-page-mailing-list-links">'."\n";
if (!IS_PRO) { // We show these above in the Pro version
echo ' <div class="plugin-menu-page-mailing-list-links">'."\n";
echo ' <a href="'.esc_attr('http://cometcache.com/r/comet-cache-subscribe/').'" target="_blank"><i class="si si-envelope"></i> '.__('Newsletter', SLUG_TD).'</a>'."\n";
echo ' <a href="'.esc_attr('http://cometcache.com/r/comet-cache-beta-testers-list/').'" target="_blank"><i class="si si-envelope"></i> '.__('Beta Testers', SLUG_TD).'</a>'."\n";
echo ' </div>'."\n";
}
echo ' <a href="'.esc_attr('https://twitter.com/cometcache/').'" target="_blank"><i class="si si-twitter"></i> '.__('Twitter', SLUG_TD).'</a>'."\n";
echo ' <a href="'.esc_attr('https://www.facebook.com/cometcache/').'" target="_blank"><i class="si si-facebook"></i> '.__('Facebook', SLUG_TD).'</a>'."\n";
echo ' </div>'."\n";


if (IS_PRO) {
echo '<div class="plugin-menu-page-version">'."\n";
Expand Down

0 comments on commit 962466f

Please sign in to comment.