Your Time:
Our Time:
← Back to discussions

Main logo link : cuts the player

Need help with a different issue? Search the forums or open a new ticket.
Open a support ticket

This topic has 3 replies, 3 voices, and was last updated 12 years ago by pittsburghbeats.

  • 2014-01-12 at 1:19 am
    Support Expired
    #2134
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    Hello,

    Just to say that if you click on the header logo, it relaunches the page and “stops” the player out !

    But if I use the “home” button, the link is smooth without player cut. But it is linked to the same home page !

    If you want to let it that way, can we ask you then to provide an option to “disable” the logo link for example ?! I want to avoid people to “cuts” the player ! (Or better : that clicking on the logo doesn’t stops the player 🙂 )

    Thank you ! Great week end to all !

    2014-01-12 at 3:09 pm
    #2149
    Fem
    Keymaster
    • Topics: 2
    • Replies: 5215
    • Total posts: 5217
    • Post count: 6003

    It has to be in that way. If you want to customize please go to framework/common/atp-generator.php file and then edit the following and replace it.

    Find Code

    " title="">
    <?php bloginfo('name'); ?>
    

    Replace Code

    <?php bloginfo('name'); ?>
    
    • This reply was modified 12 years, 7 months ago by Fem.
    2014-01-12 at 7:01 pm
    Support Expired
    #2177
    Fenrilh
    Participant
    • Topics: 23
    • Replies: 43
    • Total posts: 66
    • Post count: 72

    Oki, thanks for the code, but I really try not to change to much on the “inside files” to avoid to mess up with future updates, so I will keep it that way

    2014-08-31 at 2:22 am
    Support Expired
    #5205
    pittsburghbeats
    Participant
    • Topics: 0
    • Replies: 1
    • Total posts: 1
    • Post count: 1

    I know this is wayy late, but I found that if you put a leading ‘/’ in the home_url() function, it works perfectly.

    				<a href="<?php echo home_url('/'); ?>" title="<?php bloginfo('name'); ?>">
    					<img src="<?php echo get_option('atp_header_logo'); ?>" alt="<?php bloginfo('name'); ?>" />
    				</a>

You must be logged in to reply to this topic.