WordPress.org

Ready to get started?Download WordPress

Forums

Menu using "Conditionals"? Unsure how to update (13 posts)

  1. rp024
    Member
    Posted 1 year ago #

    Hello,

    I admin one of our client sites, which up until today has been pretty standard editing.

    Until I tasked to update the navigation for the site. I've never seen a navigation menu like this. On the site it looks pretty basic. In coding though, this is what it looks like in the header, (below). I have no idea how to edit this. The customer wants to move nav items around.

    Any help is greatly appreciated. Thank you in advance.

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
    
    <head profile="http://gmpg.org/xfn/11">
    <meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
    
    <title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
    
    <link rel="stylesheet" href="<?php bloginfo('stylesheet_url'); ?>" type="text/css" media="screen" />
    <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    <?php wp_head(); ?>
    </head>
    <body <?php body_class(); ?>>
    <div id="banner">
    <!--<a href="http://www.angieslist.com/companylist/us/pa/philadelphia/website-waterproofing-co-reviews-358181.aspx" target="_blank"><img src="http://www.website.com/images/award-2011.png" /></a>-->
    </div>
    <div id="site">
    	<div id="topHeader">
    		<div id="logo">
    			<a href="http://www.website.com/" title="Waterproofing and Mold Remediation"><img src="http://www.website.com/wp-content/themes/rightway_theme/images/header-logo.gif" alt="website and mold remediation logo" /></a>
    		</div>
    		<div id="headline"><!--<em>Proudly Serving the <strong>Deleware Valley</strong>!</em>--></div>
    		<div id="letabs">
    			<div id="letabsL">
    					<div class="button"><a href="/contact-us" style="display:inline-block;">Contact Us Online</a></div>
    			</div>
    			<div id="letabsR">Call Toll Free <strong>866-741-6190</strong></div>
    		</div>
    	</div>
    	<div id="mainHeader">
    			<div id="nav">
    					<ul>
    				<?php
    					$args = array(
    						'title_li'     => '',
    						'exclude'      =>
    '75,78,84,87,89,91,96,98,100,103,105,110,112,116,118,120,123,125,127,129,131,133,135,137,139,141,143,145,147,149,151,154,156,158,160,163,165,167,169,171,173,175,177,179,181,183,186,188,190,205,207,209,212,214,216,218,220,222,224,226,228,233,235,237,239,241,243,245,247,249,252,256,258,260,262,265,267,269,271,273,275,277,279,299,382,415,419,422,434,437,441'
    );
    
    					wp_list_pages($args);
    					 ?>
    				</ul>
    
    			</div>	
    
    <div id="main_slider">
    <?php
       if (is_page('Home') && function_exists('get_thethe_image_slider')){
    print get_thethe_image_slider('main');
    	}
    if (is_page('Basement Waterproofing') && function_exists('get_thethe_image_slider')){
    print get_thethe_image_slider('main');
    	}
    if (is_page('Mold Remediation') && function_exists('get_thethe_image_slider')){
    print get_thethe_image_slider('main');
    	}
    	?>
    </div>
    	</div>
  2. rp024
    Member
    Posted 1 year ago #

    this is the site

  3. rp024
    Member
    Posted 1 year ago #

    Additionally, this is "Kubrick" theme which has been modified.

  4. Andrew
    Forum Moderator
    Posted 1 year ago #

    Are you working on WordPress.com? I can't find Kubrick in WordPress.org's theme repository.

  5. esmi
    Forum Moderator
    Posted 1 year ago #

    What version of WordPress are you using? The Kubrick theme has not been updated in years and is no longer supported here.

  6. rp024
    Member
    Posted 1 year ago #

    Hi @Andrew. It's wordpress.org

    The clients entire site is wordpress

    This is a snapshot of the client theme panel
    http://i49.tinypic.com/6fvxo4.jpg

    It's definitely kubrick. They just changed the name of it. here's the Kubrick theme.
    http://theme.wordpress.com/themes/kubrick/

    Perhaps they started as free then upgraded to pro at one point?

  7. esmi
    Forum Moderator
    Posted 1 year ago #

    Kubrick is not longer available via http://wordpress.org/extend/themes/ This is wordpress.org - not wordpress.com

  8. rp024
    Member
    Posted 1 year ago #

    Thank you @ esmi. The version was updated about 2 months ago to 3.5.1. Everything on the site has been no problem to admin.

    Finding the navigation though is like finding a needle in a haystack. The funny thing about the navigation is that it's extremely plain and you'd think it would be very easy to edit. I can't even find it.

  9. rp024
    Member
    Posted 1 year ago #

    Hi @ esmi. Yes I am aware this is .org. Their script is the wordpress 3.5.1 .org script.

  10. esmi
    Forum Moderator
    Posted 1 year ago #

    I would strongly recommend that you consider implementing custom Navigation_Menus in the theme and removing the reliance on wp_list_pages() for your navigation menu.

  11. rp024
    Member
    Posted 1 year ago #

    I agree, but when I comment out or remove the list pages code, the header blows up. I can't even imagine why anybody would use navigation like this to begin with.

    So in essence I really don't have any other option for reconfiguring their existing nav, mainly because I'm unfamiliar with it?

  12. esmi
    Forum Moderator
    Posted 1 year ago #

    Then all I can suggest is that you start reading up on http://codex.wordpress.org/Function_Reference/wp_list_pages

  13. rp024
    Member
    Posted 1 year ago #

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.