Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1257519
    ewatersupport
    Participant

    I can’t seem to find the place to edit the URL for the header image. Hoping to redirect the image to another website during the testing purposes.

    I tried checking the header.php but it’s just one line that doesn’t show where it points the URL.

    Regards,
    E

    #1257605
    Darshana
    Moderator

    Hi there,

    Thanks for writing in! To assist you with this request, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #1258494
    ewatersupport
    Participant
    This reply has been marked as private.
    #1258749
    Darshana
    Moderator
    This reply has been marked as private.
    #1258852
    ewatersupport
    Participant

    Thanks! That’s weird. Are you able to try it now?

    #1259005
    Rupok
    Member

    Hi there,

    I am facing the same errors – http://prntscr.com/d7vd1h

    It seems you have moved your site from localhost and some configuration of localhost is still there that needs to be changed.

    Thanks!

    #1264644
    ewatersupport
    Participant
    This reply has been marked as private.
    #1264869
    Rue Nel
    Moderator

    Hello There,

    Thanks for giving the url of the site in question. Because what you are trying to accomplish requires a template customization, we would like to suggest that you use a child theme. This allows you to make code changes that won’t be overwritten when an X update is released. After your child theme is setup, please review how we recommend making template changes in Customization Best Practices.

    Once you have your child theme active and ready, please follow the following steps below:
    1] Using Notepad or TextEdit or Sublime Text or any text editor, please create a new file in your local machine.
    2] Insert the following code into that new file

    <?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 '<h1 class="visually-hidden">' . $site_name . '</h1>'; ?>
    
    <a href="http://insert-url.here/" class="<?php x_brand_class(); ?>" title="<?php echo $site_description; ?>">
      <?php echo ( $logo == '' ) ? $site_name : $site_logo; ?>
    </a>

    3] Save the file named as _brand.php
    4] Upload this file to your server in the child theme’s folder
    wp-content/themes/x-child/framework/views/global/

    Please let us know if this works out for you.

    #1268919
    ewatersupport
    Participant

    Thanks! Solved!

    #1269012
    Nico
    Moderator

    Happy to hear that.

    Feel free to ask us again

    Thanks.

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