💥 TRENDING: Changeset/ - Complete Album!

Changeset 1566332


Ignore:
Timestamp:
01/02/2017 02:24:03 PM (9 years ago)
Author:
sarequl
Message:

2.0

  • Bug Fixed.
Location:
metal-social-share
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • metal-social-share/trunk/css/style.css

    r1560449 r1566332  
    4040    height: 30px !important;
    4141}
     42
     43.share-button ul li a {
     44    border-bottom: none !important;
     45}
  • metal-social-share/trunk/metal_share.php

    r1560449 r1566332  
    2121
    2222
    23 add_action( 'the_content' , 'fancymetalshare');
     23add_filter( 'the_content' , 'fancymetalshare');
    2424
    2525
    2626
    27  function fancymetalshare () {
     27 function fancymetalshare ($fancycontent) {
    2828     ?>
    29 
     29        <?php echo $fancycontent; ?>
    3030        <div class="button-area">
    3131        <div class="share-button">
    3232           
    3333            <ul>
    34                 <li><a href="http://facebook.com/share.php?u=<?php the_permalink();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . '/metalshare/images/facebook.png'; ?>" alt="Facebook" /></a></li>
     34                <li><a href="http://facebook.com/share.php?u=<?php the_permalink();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . 'metalshare/images/facebook.png'; ?>" alt="Facebook" /></a></li>
    3535               
    36                 <li><a href="https://twitter.com/share?text=<?php the_title();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . '/metalshare/images/twitter.png'; ?>" alt="Twitter" /></a></li>
     36                <li><a href="https://twitter.com/share?text=<?php the_title();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . 'metalshare/images/twitter.png'; ?>" alt="Twitter" /></a></li>
    3737               
    38                 <li><a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . '/metalshare/images/google-plus.png'; ?>" alt="Google+" /></a></li>
     38                <li><a href="https://plus.google.com/share?url=<?php the_permalink(); ?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . 'metalshare/images/google-plus.png'; ?>" alt="Google+" /></a></li>
    3939               
    4040               
    41                 <li><a href="https://www.linkedin.com/cws/share?url=<?php the_permalink();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . '/metalshare/images/linkedin.png'; ?>" alt="Linkedin" /></a></li>
     41                <li><a href="https://www.linkedin.com/cws/share?url=<?php the_permalink();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . 'metalshare/images/linkedin.png'; ?>" alt="Linkedin" /></a></li>
    4242               
    43                 <li><a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . '/metalshare/images/pintrest.png'; ?>" alt="Pintrest" /></a></li>
     43                <li><a href="http://pinterest.com/pin/create/button/?url=<?php the_permalink();?>" target="_blank"><img src="<?php echo plugin_dir_url( dirname( __FILE__ ) ) . 'metalshare/images/pintrest.png'; ?>" alt="Pintrest" /></a></li>
    4444               
    4545               
  • metal-social-share/trunk/readme.txt

    r1560451 r1566332  
    2929
    30301. This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif).
     31
     32
     33== Changelog ==
     34
     35= 2.0 =
     36* Bug Fixed.
Note: See TracChangeset for help on using the changeset viewer.