Forum

Current User: Guest Login
Please consider registering

Search 
Search Forums:


 




UserPost

10:38 pm
August 19, 2008


Kelly

Guest

I've successfully installed and set up the menubar and it looks great with my .css modifications.  However I am stumped on one thing. 

How do I go about adding the home page to the menubar?  I read on here that there are instructions on how to do it in the readme included with the plugin, but I can't seem to find anything. 

Thanks in advance for your help!  This is a great plugin!

7:53 pm
August 20, 2008


admin

Admin

posts 27

Thanks Kelly, I'm glad you like it!

To add the home page to the menu bar you need to do some modifications like so:

<?php wp_css_dropdownmenu(0, '<div class=”menu”><ul><li><a href=”your link”>Home</a><!–[if IE 7]><!–></a><!–<![endif]–></li>', '</ul></div>'); ?>

This way you can insert your own link in and then the code will run the rest.

3:38 pm
September 7, 2008


Tadhg C

Guest

I think you might need to add “+1″ to this line in the css_dropdownmenu_css() function.  I'm not sure.  It works for me now anyway… Before I adding the plus one, the last menu item was getting pushed onto a line below the menu.

        $pages = sizeof(get_pages_from_DB(0))+1;

8:06 pm
September 10, 2008


admin

Admin

posts 27

OK I'll take a look, ta.

4:56 pm
November 4, 2008


coolbreeze3

Guest

OK…. I have everything pretty much done…. awesome plugin….but still cannot understand how to add this code to create the “Home” page link???? Please avise on where I need to add/modify this…


Jason

8:37 pm
November 7, 2008


Rok

Guest

Hej Isaac!

First, let me be one of many to thank you for this wonderful plugin!

I added the following code to include the home page into the menu, as you sugested. I added the +1 in the right place so that everything keeps in one line.

<?php wp_css_dropdownmenu(0, '<div class=”menu”><ul><li><a href=”http://rbgkamnik.awardspace.com”>Domov</a><!–[if IE 7]><!–></a><!–<![endif]–></li>', '</ul></div>'); ?>

There's one thing that bothers me a bit. I'd like my page to be valid xhtml and since i've posted this, I get some errors regarding to the stuff with IE 7…

Is there an obvious thing I could do to the code to fix that?

Much appreciated..

Rok

12:47 pm
December 1, 2008


m4rk

Guest

admin said:

Thanks Kelly, I'm glad you like it!

To add the home page to the menu bar you need to do some modifications like so:

<?php wp_css_dropdownmenu(0, '<div class=”menu”><ul><li><a href=”your link”>Home</a><!–[if IE 7]><!–></a><!–<![endif]–></li>', '</ul></div>'); ?>

This way you can insert your own link in and then the code will run the rest.


So I try that and it turns the menu into a bullet text list. Any ideas would really help. Client breathing down my neck.

1:41 pm
December 2, 2008


Bruce

Guest

I have tried this code and it makes the layout of the dropmenu work perfectly. However, the HOME link does not go to the Home page.

Here is the relevant code I used:

            <?php wp_css_dropdownmenu(0, '<div class=”menu”><ul><li><a href=”www.fbcbelen.org”>Home</a><!–[if IE 7]><!–></a><!–<![endif]–></li>', '</ul></div>'); ?>

The destination is http://fbcbelen.org/resources/“www.fbcbelen.org” - rather than the root.

I have tried several variations of the url without success.

Thanks for this plugin. It is really a nice piece of code. And thanks for any suggestions on how to fix my problem. I have obviously coded something incorrectly.


4:31 pm
December 2, 2008


Bruce

Guest

I think I have a solution:

<?php wp_css_dropdownmenu(0, '<div class=”menu”><ul><li><a href=”http://www.fbcbelen.org”>Home</a><!–[if IE 7]><!–></a><!–<![endif]–></li>', '</ul></div>'); ?>

I finally just chaned the quotes in my notepad and that worked.

Please take a look at the Nav if you have time.

Thanks again for a great plugin.

Bruce

http://www.fbcbelen.org

http://www.faithandfacts.com

Add a New Topic Reply to Post


Reply to Topic: Add Home Page

Guest Name (Required):

Guest EMail (Required):

Guest URL (required)

Math Required!
What is the sum of: 1 + 2        (Required)

Topic Reply:


 

About the Zack Design forum

Currently Online:

1 Guest

Maximum Online: 13

Forums:

Groups: 3

Forums: 7

Topics: 41

Posts: 101

Members:

There are 1 members

There are 47 guests


admin has made 27 posts

Top Posters:

Administrator: admin


© Simple:Press Forum - Version 3.1.4 (Build 357)