Skip to:
Content
Pages
Categories
Search
Top
Bottom

Echo Subscribe Link


  • rogerlridge
    Participant

    @rogerlridge

    Is there anyway to just echo the subscribe link? I would like to have an image for users to click on to subscribe to a forum instead of clicking on the word “Subscribe” so I am just looking for a way to just echo the subscription link, does anyone know how to do this please? Any help would be greatly appreciated thanks! 😀

Viewing 3 replies - 1 through 3 (of 3 total)

  • Robin W
    Moderator

    @robin-w

    this should work

    add_filter ('bbp_before_get_user_subscribe_link_parse_args' , 'change_subscribe_link' ) ;
    
    function change_subscribe_link ($args) {
     $args ['subscribe'] = '<img src="http://www.mysite.com/image1.jpg" />' ;
     $args ['subscribe'] = '<img src="http://www.mysite.com/image1.jpg" />' ;
     
     return $args ;
    }

    rogerlridge
    Participant

    @rogerlridge

    I got it to work using that method except in the includes/forum/template.php file Thank you! 😀


    Robin W
    Moderator

    @robin-w

    great !

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar