Tagged: x
-
AuthorPosts
-
July 22, 2016 at 3:24 pm #1099094
Peter FaeParticipantHey 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 = ‘‘;
?>
<?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.
July 22, 2016 at 6:11 pm #1099247
Peter FaeParticipantThis reply has been marked as private.July 22, 2016 at 9:59 pm #1099478
Rue NelModeratorHello 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.
July 27, 2016 at 2:16 pm #1105725
Peter FaeParticipantThis reply has been marked as private.July 27, 2016 at 5:06 pm #1105980
NicoModeratorHi 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.
July 27, 2016 at 11:32 pm #1106497
Peter FaeParticipantThis reply has been marked as private.July 28, 2016 at 1:49 am #1106644
Paul RModeratorHi,
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
July 28, 2016 at 10:57 am #1107277
Peter FaeParticipantThis reply has been marked as private.July 28, 2016 at 12:55 pm #1107441
Peter FaeParticipantwait. is working. okay. never mind. is thank.
July 28, 2016 at 1:52 pm #1107527
RahulModeratorYou’re Welcome!
If you have any further issues, let us know. We’d be happy to assist you with everything!
Thanks!
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-1099094 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
