Results 1 to 3 of 3

Thread: How to add a link to a forum on both, navigation and footer bars

  1. #1
    Thread Starter
    classijm's Avatar
    Join Date
    Feb 2011
    Location
    United States
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts

    How to add a link to a forum on both, navigation and footer bars

    Hi. Can you please tell me exactly where in the code can I add a link to the classified site's forum? I tried editing the header but the css/style or whatever is not displaying it right or linked. It just displays ugly text for the link to the forum.

    Again, I need the "Forum" link in the navigation bar and footer. The only links showing right now are "Home" and "Categories". I unpublished the "Blog" page.

    Here is the header code:

    Code:
    <?php global $app_abbr; ?>
    <!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('|',true,'right'); ?><?php bloginfo('name'); ?></title>
    
            <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="<?php if ( get_option('feedburner_url') <> "" ) { echo get_option('feedburner_url'); } else { echo get_bloginfo_rss('rss2_url').'?post_type=ad_listing'; } ?>" />
            <link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
    
            <?php if (file_exists(TEMPLATEPATH.'/images/favicon.ico')) : ?>
                    <link rel="shortcut icon" href="<?php bloginfo('stylesheet_directory'); ?>/images/favicon.ico" type="image/x-icon" />
            <?php endif; ?>
    
            <?php if (is_singular() && get_option('thread_comments')) wp_enqueue_script('comment-reply'); ?>
                
            <?php wp_head(); ?>
    
        </head>
    
        <body <?php body_class(); ?>>
    
    
        <div class="container">
    
    		<?php if(get_option('cp_debug_mode') == 'yes'){ ?><div class="debug"><h3><?php _e('Debug Mode On','appthemes'); ?></h3><?php print_r($wp_query->query_vars); ?></div><?php } ?>
    
          <!-- HEADER -->
          <div class="header">
    
            <div class="header_top">
    
              <div class="header_top_res">
    
                  <p>
    
                  <?php echo cp_login_head(); ?>
    
                  <a href="<?php if (get_option('cp_feedburner_url')) { echo get_option('cp_feedburner_url'); } else { echo get_bloginfo_rss('rss2_url').'?post_type=ad_listing'; } ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/icon_rss.gif" width="16" height="16" alt="rss" class="srvicon" /></a>
    
                  <?php if (get_option('cp_twitter_username')) : ?>
                      &nbsp;|&nbsp;
                      <a href="http://twitter.com/<?php echo get_option('cp_twitter_username'); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/icon_twitter.gif" width="16" height="16" alt="tw" class="srvicon" /></a>
                  <?php endif; ?>
    
                  </p>
    
              </div><!-- /header_top_res -->
    
            </div><!-- /header_top -->
    
    
            <div class="header_main">
    
              <div class="header_main_bg">
    
                <div class="header_main_res">
    
                    <div id="logo">
    
                        <?php if (get_option('cp_use_logo') != 'no') { ?>
    
                            
                            <?php if (get_option('cp_logo')) { ?>
                                <a href="<?php bloginfo('url'); ?>"><img src="<?php echo get_option('cp_logo'); ?>" alt="<?php bloginfo('name'); ?>" class="header-logo" /></a>
                            <?php } else { ?>
                                <a href="/"><div class="cp_logo"></div></a>
                            <?php } ?>
    
                        <?php } else { ?>
    
                            <h1><a href="<?php echo get_option('home'); ?>/"><?php bloginfo('name'); ?></a></h1>
                            <div class="description"><?php bloginfo('description'); ?></div>
    
                        <?php } ?>
    
                        
                    </div>
    
                    <?php if (get_option('cp_adcode_468x60_enable') == 'yes') { ?>
    
                        <div class="adblock">
    
                            <?php appthemes_header_ad_468x60();?>
    
                        </div><!-- /adblock -->
    
                  <?php } ?>
    
                 <div class="clr"></div>
    
                </div><!-- /header_main_res -->
    
              </div><!-- /header_main_bg -->
    
            </div><!-- /header_main -->
    
    
            <div class="header_menu">
    
              <div class="header_menu_res">
    
                  <a href="<?php echo CP_ADD_NEW_URL ?>" class="obtn btn_orange"><?php _e('Post an Ad', 'appthemes') ?></a>
    
                <ul id="nav"> 
    			  			
                  <li class="<?php if (is_home()) echo 'page_item current_page_item'; ?>"><a href="<?php echo get_option('home')?>"><?php _e('Home','appthemes'); ?></a></li>
                  <li class="mega"><a href="#"><?php _e('Categories','appthemes'); ?></a>
                      <div class="adv_categories" id="adv_categories">
    
                            <?php echo cp_cat_menu_drop_down(get_option('cp_cat_menu_cols'), get_option('cp_cat_menu_sub_num')); ?>
    
                      </div><!-- /adv_categories -->
                  </li>
                    <?php wp_nav_menu(array('theme_location' => 'primary', 'fallback_cb' => 'appthemes_default_menu', 'container' => '')); ?>
                </ul>
    
                <div class="clr"></div>
    
                
    
              </div><!-- /header_menu_res -->
    
            </div><!-- /header_menu -->
    
          </div><!-- /header -->
    
    	<?php include_once(TEMPLATEPATH . '/includes/theme-searchbar.php'); ?>
    Here is the footer code (don't know if it is needed):

    Code:
    <!-- FOOTER -->
      <div class="footer">
    
        <div class="footer_menu">
    
          <div class="footer_menu_res">
    
              <ul>
                  <li class="first"><a href="<?php echo get_option('home')?>"><?php _e('Home','appthemes'); ?></a></li>
                  <?php wp_list_pages('sort_column=menu_order&depth=1&title_li=&exclude='.get_option('cp_excluded_pages')); ?>              
              </ul>
    
            <div class="clr"></div>
    
          </div><!-- /footer_menu_res -->
            
        </div><!-- /footer_menu -->
    
        <div class="footer_main">
    
          <div class="footer_main_res">
    
            <div class="dotted">
    
                  <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar_footer')) : else : ?> <!-- no dynamic sidebar so don't do anything --> <?php endif; ?>
    
              <div class="clr"></div>
    
            </div><!-- /dotted -->
    
            <p>&copy; <?php echo date_i18n('Y'); ?> <?php bloginfo('name'); ?>. <?php _e('All Rights Reserved.', 'appthemes'); ?></p>
            
            <?php if (get_option('cp_twitter_username')) : ?>
                <a href="http://twitter.com/<?php echo get_option('cp_twitter_username'); ?>" target="_blank"><img src="<?php bloginfo('template_url'); ?>/images/twitter_bot.gif" width="42" height="50" alt="Twitter" class="twit" /></a>
            <?php endif; ?>
    
            <div class="right">
                <p><a target="_blank" href="http://www.appthemes.com/themes/classipress/" title="Classified Ads Software"><?php _e('Classified Ads Software','appthemes'); ?></a> | <?php _e('Powered by','appthemes'); ?> <a target="_blank" href="http://wordpress.org/" title="WordPress">WordPress</a></p>
            </div>
    
            <div class="clr"></div>
            
          </div><!-- /footer_main_res -->
    
        </div><!-- /footer_main -->
    
        <?php wp_footer(); ?>
    
      </div><!-- /footer -->
    
    
    </div><!-- /container -->
    
    
    </body>
    </html>

  2. #2
    Thread Starter
    classijm's Avatar
    Join Date
    Feb 2011
    Location
    United States
    Posts
    36
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    pepsi's Avatar
    Join Date
    Mar 2009
    Location
    New Zealand
    Posts
    14,883
    Thanks
    91
    Thanked 804 Times in 718 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Page Links in Top and Bottom Navigation bars
    By vistago in forum Report ClassiPress Bugs
    Replies: 4
    Last Post: March 5th, 2012, 04:48 AM
  2. Blog link don't disappear in the footer
    By grolon in forum Help Using ClassiPress
    Replies: 2
    Last Post: January 31st, 2011, 07:11 PM
  3. [SOLVED] Remove link from top navigation
    By benipaq in forum JobRoller General Discussion
    Replies: 5
    Last Post: November 22nd, 2010, 09:16 AM
  4. Classipress link in the footer
    By yoramzara in forum Help Using ClassiPress
    Replies: 10
    Last Post: October 31st, 2010, 05:23 PM
  5. How do you remove the footer attribution link?
    By ejikoala in forum Help Using ClassiPress
    Replies: 3
    Last Post: April 4th, 2010, 05:36 AM