URL 'no follow'

This topic contains 2 replies, has 3 voices, and was last updated by  Paolo 6 years, 2 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #444307

    Joy
    Buyer
    Post count: 1076

    Hi, Stiofan helped me with setting up this duplicate link on the listing detail page. I need to remove the rel=“nofollow” attribute attached to this link. Please advise. Thank you!

    Original post: https://wpgeodirectory.com/support/topic/duplicate-sidebar-link/#post-429450

    Snippet:

    
    
    add_action( 'geodir_details_main_content', '_my_website_link_output', 35 );
    function _my_website_link_output() {
    	global $post;
    	if ( empty( $post->post_type ) ) {
    		return;
    	}
    	$cf = (array)geodir_get_field_infoby( 'htmlvar_name', 'geodir_website', $post->post_type );
    	if ( ! empty( $cf ) ) {
    		if ( empty( $cf['name'] ) && ! empty( $cf['htmlvar_name'] ) ) {
    			$cf['name'] = $cf['htmlvar_name'];
    		}
    		echo geodir_cf_url( '', 'detail', $cf );
    	}
    }
    #444313

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #444345

    Paolo
    Site Admin
    Post count: 31206
    This reply has been marked as private.
Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount