Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1099094
    Peter Fae
    Participant

    Hey all. I’m confused. I did the whole forum thing, implementing this code on the FTP to change the logo on one site to point to another (the setting I put in is the site I wish to link to):

    <?php

    // =============================================================================
    // VIEWS/GLOBAL/_BRAND.PHP
    // —————————————————————————–
    // Outputs the brand.
    // =============================================================================

    $site_name = get_bloginfo( ‘name’ );
    $site_description = get_bloginfo( ‘description’ );
    $logo = x_make_protocol_relative( x_get_option( ‘x_logo’ ) );
    $site_logo = ‘' . $site_description . '‘;

    ?>

    <?php echo ( is_front_page() ) ? ‘<h1 class=”visually-hidden”>’ . $site_name . ‘</h1>’ : ”; ?>

    ” title=”<?php echo $site_description; ?>”>
    <?php echo ( $logo == ” ) ? $site_name : $site_logo; ?>

    …. to change the logo in the ‘Ethos’ quality of my child theme.

    However, this has not changed the hyperlink within the theme. I am confused.

    #1099247
    Peter Fae
    Participant
    This reply has been marked as private.
    #1099478
    Rue Nel
    Moderator

    Hello There,

    Thanks for writing in! Regretfully the given ftp access is not working for us. For the meantime, where do you link the logo? The default code is this:

    <?php
    
    // =============================================================================
    // VIEWS/GLOBAL/_BRAND.PHP
    // -----------------------------------------------------------------------------
    // Outputs the brand.
    // =============================================================================
    
    $site_name        = get_bloginfo( 'name' );
    $site_description = get_bloginfo( 'description' );
    $logo             = x_make_protocol_relative( x_get_option( 'x_logo' ) );
    $site_logo        = '<img src="' . $logo . '" alt="' . $site_description . '">';
    
    ?>
    
    <?php echo ( is_front_page() ) ? '<h1 class="visually-hidden">' . $site_name . '</h1>' : ''; ?>
    
    <a href="<?php echo home_url( '/' ); ?>" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>">
      <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?>
    </a>

    If you want to change the link, simply replace this code: <?php echo home_url( '/' ); ?>

    Hope this helps.

    #1105725
    Peter Fae
    Participant
    This reply has been marked as private.
    #1105980
    Nico
    Moderator

    Hi There,

    Still could not be able to log in your FTP. Would you mind checking the FTP login.

    Please share us your admin credentials so we could check your wp setup.

    Don’t forget to set it as private reply.

    Thanks.

    #1106497
    Peter Fae
    Participant
    This reply has been marked as private.
    #1106644
    Paul R
    Moderator

    Hi,

    I have made the necessary changes but it doesn’t seem to do anything in your site.

    Please try to clear your plugin cache and browser cache.

    Can you provide us your wordpress admin login in private reply.

    Thanks

    #1107277
    Peter Fae
    Participant
    This reply has been marked as private.
    #1107441
    Peter Fae
    Participant

    wait. is working. okay. never mind. is thank.

    #1107527
    Rahul
    Moderator

    You’re Welcome!

    If you have any further issues, let us know. We’d be happy to assist you with everything!

    Thanks!

  • <script> jQuery(function($){ $("#no-reply-1099094 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>