Replicating something from older version of Cornerstone

I have an old site built with a custom “topbar”. I used a custom php function to make a secondary navigation.

Old site: See site: http://entegrativesystem.com
New Site: http://theafflentadvisor.com

How can I replicate that top bar in the upper lefthand corner in the new site structure? The file directory doesn’t seem to be the same in the new X-Theme for me to upload the _topbar.php file to.

the old _topbar.php file is below for reference:

<?php // ============================================================================= // VIEWS/GLOBAL/_TOPBAR.PHP // ----------------------------------------------------------------------------- // Includes topbar output. // ============================================================================= ?> <?php if ( x_get_option( 'x_topbar_display', '' ) == '1' ) : ?>
<?php
    wp_nav_menu( array(
        'menu'           => 'topbar-menu',
        'container'      => false,
        'menu_class'     => 'x-nav sf-menu',
        'container'       => 'div',
        'container_class' => 'top-menu',
    ) );
  ?>
  <?php if ( x_get_option( 'x_topbar_content' ) != '' ) : ?>
  <p class="p-info"><?php echo x_get_option( 'x_topbar_content' ); ?></p>
  <?php endif; ?>
  <?php // x_social_global(); ?>
</div>
<?php endif; ?>

Hi there,

The file in question is changed and now sit in a different folder. You will need to move the _topbar.php from its current place to:

wp-content/themes/x-child/framework/legacy/cranium/headers/views/global/_topbar.php

Please create the necessary folders in your Child Theme to make sure the file sits in a correct folder hierarchy.

Thank you.

That worked perfectly! Thank you!

You are welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.