• Resolved EarthlyBeauty

    (@earthlybeauty)


    Is it possible to add the same menu bars: schedule appointment, new patient forms, etc. on the other pages?

    If so, can you describe in detail how to do this? Thanks.

Viewing 1 replies (of 1 total)
  • Theme Author Derek

    (@chiroderek)

    The short answer is no, not really. It’s not part of the actual theme as it was written.

    However, it could be done by someone who knows how to code WordPress themes.

    It would just require using FTP to download one of the existing templates (like the about sidebar template), renaming it and editing it to include the HTML for the buttons, and then uploading it to a child theme so it could be used like any other template.

    The HTML looks like this:

    <div class="right-front-page-boxes">
    	<div id="top">
    		<a href="<?php echo esc_url(get_theme_mod('top_box_link', esc_url(home_url('/contact')))); ?>"><?php echo get_theme_mod('top_box_header', __('Set an Appointment' , 'chiro-pro')); ?><br><span><?php echo get_theme_mod('top_box_sub_header', __('Request your appointment online' , 'chiro-pro')); ?><br><img src="<?php echo esc_url((get_template_directory_uri() . '/images/go-button.png')); ?>" alt="go button" /></span></a>
    	</div>
    	<a href="<?php echo esc_url(get_theme_mod('second_box_link', esc_url(home_url('/forms')))); ?>"><?php echo get_theme_mod('second_box_header', __('New Patient Forms' , 'chiro-pro')); ?><br><span><?php echo get_theme_mod('second_box_sub_header', __('Print them ahead of time' , 'chiro-pro')); ?></span></a>
    	<a href="<?php echo esc_url(get_theme_mod('third_box_link', esc_url(home_url('/blog')))); ?>"><?php echo get_theme_mod('third_box_header', __('Latest News' , 'chiro-pro')); ?><br><span><?php echo get_theme_mod('third_box_sub_header', __('Promotions, Coupons, News' , 'chiro-pro')); ?></span></a>
    	<a href="<?php echo esc_url(get_theme_mod('fourth_box_link', esc_url(home_url('/contact')))); ?>"><?php echo get_theme_mod('fourth_box_header', __('Location and Hours' , 'chiro-pro')); ?><br><span><?php echo get_theme_mod('fourth_box_sub_header', __('Maps and driving directions' , 'chiro-pro')); ?></span></a>
    </div>

    Then they’d need to make some adjustments to the CSS using a child theme for things like the width, as well as add the new css class in the customizer.php file so it would pick up the text and colors you specify in the theme customizer.

Viewing 1 replies (of 1 total)
  • The topic ‘Can I add the same menu bar on the right to other pages’ is closed to new replies.