WordPress.org

Ready to get started?Download WordPress

Forums

small coding question (1 post)

  1. nate3stars
    Member
    Posted 3 months ago #

    Ok.. So here goes.. I have a top header that is above my main header.. On the left is a menu (which I don't need) and on the right is my social media icons (which I want to keep).. I would like to add my client's contact info so that it is clickable on the mobile version, that code I have used in my footer and it works written as:

    Call or Text: <strong><a href="+15555555555">555-555-5555</a></strong>
    Email: <strong><a href="mailto:me@mysite.com">me@mysite.com</a></strong

    So here is what appears in my editor.. I am wondering what to cut and where to add my contact info.. Obveiously there is more below this bit of code but is irrelevant (I think) to the top menu bar.. So here it is.. any info would be great:

    <!DOCTYPE html>
    <html <?php language_attributes(); ?>>
    <head>
        <meta charset="<?php bloginfo('charset'); ?>" />
        <link rel="profile" href="http://gmpg.org/xfn/11" />
        <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
        <title><?php wp_title('|', true, 'right'); ?></title>
        <?php wp_head(); ?>
    </head>
    
    <body <?php body_class(); ?>>
    	<div class="outer" id="top">
    		<div class="wrapper">
    			<div id="topbar" class="topbar dark">
    				<div class="container">
    					<div id="topmenu" class="topmenu">
    						<?php wp_nav_menu(array('menu_class' => 'menu-top', 'theme_location' => 'top_menu', 'depth' => 1, 'fallback_cb' => null)); ?>
    					</div>
    
    					<?php cpotheme_languages(); ?>
    					<?php cpotheme_social(); ?>
    					<div class="clear"></div>
    				</div>
    			</div>
    			<header id="header" class="header secondary-color-bg">
    				<div class="container">
    					<?php cpotheme_logo(175, 50); ?>
    					<?php cpotheme_block('header_text', 'header-content'); ?>
    					<?php cpotheme_menu(); ?>
    
    					<?php cpotheme_mobile_menu(); ?>
    
    					<div class='clear'></div>
    		</div></strong>

    [Per the Forum welcome we ask you NOT bump posts. We use the 'no replies' search on these forums regularly to find people who still need help. By bumping, you remove yourself from that list and make it HARDER for us to find you!]

Reply

You must log in to post.

About this Topic