WordPress.org

Ready to get started?Download WordPress

Forums

Customizing Top Menu (9 posts)

  1. Longsh0t
    Member
    Posted 4 years ago #

    I am currently using this theme for my website. I would like to add additional links in the top menu bar (where it says Home) but the only way I've been able to add them is by adding pages.

    I would like to link to other sites and a couple of current subdomains. How can I edit this theme to do what I would like? Is it even possible?

  2. Samuel B
    moderator
    Posted 4 years ago #

    you can do it
    use this plugin - it's great for that
    http://wordpress.org/extend/plugins/page-links-to/

    basically you create a blank page with the title you want - like "Forums" - or whatever
    and put a redirect in the custom field area
    this creates a nav link when clicked on redirects to wherever you say

    do read the readme

  3. Servant2All
    Member
    Posted 4 years ago #

    samboll:
    I downloaded that plugin because I wanted to do the same thing. I'm using this theme at this site. I'm with HostGator and can use a subdomain (just figuring that one out) but what I want is to link to top bar, but link it to a page without the three columns. It could be using the same theme or a different one. I'm a newbie, so more specific instruction will be needed, but I'm kinda smart. I'll learn what I need to learn.

  4. esmi
    Forum Moderator
    Posted 4 years ago #

    You could create a custom, single column, page template for your theme.

    http://codex.wordpress.org/Pages#Creating_Your_Own_Page_Templates

  5. Arnold Goodway
    Member
    Posted 4 years ago #

    Your theme is most probably using the wp_list_pages function to generate the top menu. You can add items either to the beginning or end of the list of pages. These changes will most probably have to be made in header.php. I use the following to add a home link before the pages as well as a RSS link and Site Admin link after the pages:

    <?php if(is_home() && !is_paged()){ ?>
       		<li class="current_page_item">/" title="You are Home" rel="nofollow">Home
     	<?php } else { ?>
    
  6. /" title="Click for Home" rel="nofollow">Home
  7. <?php } ?> <?php wp_list_pages('title_li'); ?>
  8. ">RSS
  9. <?php wp_register(); ?> <?php wp_meta(); ?>

    Hope this helps.

  10. Servant2All
    Member
    Posted 4 years ago #

    Thanks guys (esmi, ArnoldGoodway). Got to go out for a while today. I'll get deeper into your instructions later this evening. Feedback will follow. Peace!

  11. gleble
    Member
    Posted 4 years ago #

    I am trying to modify the top menu in the manner described by ArnoldGoodway. See below

    <ul id="navmenu-h">
    <li><a href="<?php echo get_settings('home'); ?>">Home</a></li>
    <?php wp_list_pages('sort_column=menu_order&depth=2&title_li='); ?>
    <li><a href="http://twitter.com/0co2caravan"></a></li>
    <li class="alignright"><a href="<?php bloginfo('rss2_url'); ?>">Subscribe via RSS</a></li>
    </ul>

    When I go to Update File I get these horrible messages. They persist even if I remove the edit (link to twitter) My site
    Where did I go wrong?

    Warning: fopen(C:\Inetpub\vhosts\zerocarboncaravan.net\httpdocs\wordpress/wp-content/themes/monochrome_gallery/header.php) [function.fopen]: failed to open stream: Permission denied in C:\Inetpub\vhosts\zerocarboncaravan.net\httpdocs\wordpress\wp-admin\theme-editor.php on line 55

    Warning: Cannot modify header information - headers already sent by (output started at C:\Inetpub\vhosts\zerocarboncaravan.net\httpdocs\wordpress\wp-admin\theme-editor.php:55) in C:\Inetpub\vhosts\zerocarboncaravan.net\httpdocs\wordpress\wp-admin\theme-editor.php on line 70

  12. rlyall
    Member
    Posted 4 years ago #

    Hi,

    I am new to wordpress. I am using dream host with the quick set-up method. Is there anyway to access the image directory and replace the banner image?

  13. gleble
    Member
    Posted 4 years ago #

    Follow up on my previous posting: I get the nasty errors if I try to save ANY file in the Theme Editor

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags