- This topic has 8 replies, 2 voices, and was last updated 16 years, 8 months ago by imported_Ryan.
-
AuthorPosts
-
April 23, 2008 at 10:23 am #41AnonymousMember
Ryan,
I have to start off by saying I am a true ovice with css and php, but i can find code, usually, when I’m told what to look for… Found your drop-down plugin — super sweet by the way — and would like to implement it at prospectinsider.com. Have yet to find the proper spot to place the code, however, and am still wondering whether it will work within my “pagesâ€April 23, 2008 at 10:24 am #2104imported_RyanMemberThere’ s probably some code which looks something like the following in your header.php file:
[code:18jwssga]<div class="menu-bar">
<?php wp-list-pages(); ?>
</div>[/code:18jwssga]If you replace the [code:18jwssga]<?php wp-list-pages(); ?>[/code:18jwssga] with the [code:18jwssga]<?php suckerfish(); ?>[/code:18jwssga] the dropdown menu should appear in the correct place I think. If this doesn’t work then send me a link to a test blog and I’ll see what I can do from there.
April 23, 2008 at 10:27 am #2105AnonymousMemberMy dummy site, sixtoolers.com, is available for trials and the theme is the same one I’m using at the main site, without the customization, of course.
Looking at my main site at prospectinsider.com, does it even seem like adding these kinds of funtionalities will work without disturbing the customization of the current menu toolbar?
Thanks for the help,
April 23, 2008 at 10:27 am #2106imported_RyanMemberJason – What you need to do, is to edit your header.php file in your theme. Find where it says
[code:1e9z2de1]<div class="menu-bar">
and then find where it says
</div>[/code:1e9z2de1]
… after that. Delete everything in between those
two pieces of text and replace it with
[code:1e9z2de1]<?php suckerfish(); ?>[/code:1e9z2de1]
Then re-upload the header.php file to your web host and make sure the dropdown plugin is activated in your WordPress admin panel. The dropdown should then appear. If it doesn’t look correct, then let me know and I’ll see if I can sort out a bug fix to make it look right.If you want to edit the look of the plugin yourself, then try the new Beta plugin instead of the current as you can edit lots of different things with that version, including the font, colour, font size, background colours
etc. of the dropdown menu.April 23, 2008 at 10:28 am #2107AnonymousMembersixtoolers.com
That’s the result when i followed your instructions…
Also, not sure what you meant by “re-upload the header.php fileâ€
April 23, 2008 at 10:28 am #2108imported_RyanMemberThat is very bizaare! The content which belongs in the head tags has ended up inside your menu instead of the dropdown!
This must be some sort of bug in the beta version. Leave the code as is, and try installing the original version of the plugin instead. That should work. I’ll have a look to see if I can sort out the bug in the beta in the mean time.
EDIT: A new version of the beta plugin has been released which corrects this problem.
April 23, 2008 at 10:30 am #2109imported_RyanMemberIn retrospect this probably should have been an alpha release. This thing (until now) was as buggy as Vista.
April 23, 2008 at 10:31 am #2110AnonymousMemberthe menu bar mountain…
sixtoolers.com
April 23, 2008 at 10:32 am #2111imported_RyanMemberJason – The menu-bar class is messing your dropdown up. Try changing:
[code:26vn43rg]<div class="menu-bar">[/code:26vn43rg]
to just
[code:26vn43rg]<div>[/code:26vn43rg]That should at least get the dropdown menu working. Although you will lose all the styling which you have applied to your told menu.
-
AuthorPosts
- You must be logged in to reply to this topic.