Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Dante
  • #77819
    Frankytank
    Member
    Post count: 97

    Hi there!

    Is there a way to put buttons on no follow to search engines?

    Thanks!

    Frank

    #77878
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Which button do you want with no follow ?
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #78001
    Frankytank
    Member
    Post count: 97

    Hi,

    La proprioception du membre inférieur

    The one on the middle of the article, in fact I use this kind of button everywhere…

    Thanks

    Frank

    #78251
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please put this custom css code functions.php of child theme :

    <?php
    remove_shortcode( 'sf_button' );
    /* BUTTON SHORTCODE
    	================================================== */
    	
    	function sf_button_new($atts, $content = null) {
    		extract(shortcode_atts(array(
    			"size"			=> "standard",
    			"colour"		=> "",
    			"type"			=> "",
    			"link" 			=> "#",
    			"target"		=> '_self',
    			"dropshadow"    => '',
    			"icon"			=> '',
    			"extraclass"   => ''
    		), $atts));
    		
    		$button_output = "";
    		$button_class = 'sf-button '.$size.' '. $colour .' '. $type .' '. $extraclass;
    				
    		if ($dropshadow == "yes") {
    		$button_class .= " dropshadow";
    		}
    		
    		if ($type == "sf-icon-reveal" || $type == "sf-icon-stroke") {
    			$button_output .= '<a rel="nofollow" class="'.$button_class.'" href="'.$link.'" target="'.$target.'">';
    			$button_output .= '<i class="'.$icon.'"></i>';
    			$button_output .= '<span class="text">'. do_shortcode($content) .'</span>';
    			$button_output .= '</a>';
    		} else {
    			$button_output .= '<a rel="nofollow" class="'.$button_class.'" href="'.$link.'" target="'.$target.'"><span class="text">' . do_shortcode($content) . '</span></a>';
    		}
    		
    		return $button_output;
    	}
    	add_shortcode('sf_button', 'sf_button_new');
    ?>

    Thanks 🙂
    With Best Regards
    Swift Ideas

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register