More than 2 Custom Code Boxes

Forums Forums Menus More than 2 Custom Code Boxes

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #549
    subster
    Member

    Hi there,

    i’d like to ask if its hard to implement more than 2 custom code boxes? I ask for this reason.

    I have many pages and want to categorize them. I like an order like this:

    home | LinkToPage1  | LinkToPage2 | Link ToPage3 | custombo
              |_LinkToPage2
              |_LinkToPage3
              |_LinkToPage4

    Any idea for this?
    Thank you so much for your nice work…

    #4751

    Hi,
    I need a little more information sorry. You can make any sort of menu you want with a single custom code box. The only reason you may need more than one is if you want to place one of the dynamic content menus in the middle of it, so if you had a combination like this you would need two custom code boxes:

    Custom code 1 | Pages (single dropdown) | Custom code 2

    You would only need three if you wanted something like this:

    Custom code 1 | Pages (single dropdown) | Custom code 2 | Categories (single dropdown) | Custom code 3

    I’ll be adding support for more custom code boxes into a future version, but I haven’t yet actually found an example where anyone has needed more than that. The problem has always been that users haven’t understood how the HTML works.

    Remember that you can have an infinite number of dropdowns within a single custom code box. You don’t need a seperate box for each dropdown. There is an example in the latest version of the plugin of how to add more than one.

    #4752
    subster
    Member

    Hmm,

    i dont understand sorry.
    I want to link on specified pages. I can only find an option to get a dropdown with all pages.
    I want Page1 in the Menu, in the Dropdown the Pages 3,4,5,6. Beneath PAge 1 a link to Page 7 and beneath that a Link to Page 8 (both without any dropdowns).

    I really cant see any possibility then to do that with html-links in 3 custom code boxes… Or?

    Oh and how long will it take as i can use the premium css-editor, i purchased an hour ago, or so…

    Best wishes

    edit: Ahhhhh, now i understand! Where can i find that example snippet?

    #4753

    Hi,
    You should be able to access the premium CSS generator immediately. It doesn’t actually look any different. The only change is that when you alter the premium options it actually does change them. In the next version it will work a lot better! If it isn’t working at all, then let me know ASAP as something will have gone horridly wrong. I don’t think so, but I’ve had enough other problems lately that I’m not counting anything out as a possibility, I’ll extend the subscription longer if it isn’t working properly.

    Before I saw your reply I had created a new version of the plugin with two extra custom code boxes for you. I don’t have SVN access right now so can’t upload it to the official WordPress plugins repository so I’ve attached here to the post. It should be available in the official repository later tonight. This new version also fixes a bug which was causing the "Recent Posts" option not to work and makes sure that all database info. is removed on uninstalling (some remnants were being left behind).

    The example code I mentioned can be seen when you hover over the text [b:vuk7jggj](example)[/b:vuk7jggj] in the admin page beside the title ‘Custom HTML code’.

    #4754

    For ease of reading, here is what shows up when you hover over the (example) in the admin page:
    [code:39s3wr98]Note: You can have multiple top level menu items in one custom code entry. The following example will display a menu with links to ‘Home’, ‘Categories’ and ‘Pages’, the ‘Categories’ and ‘Pages’ links would have dropdowns and the ‘Page 1’ link in the ‘Pages’ dropdown would contain another further level.

    <li><a href="http://pixopoint.com/">Home</a></li>
    <li><a href="">Categories</a>
      <ul>
        <li><a href="http://pixopoint.com/categories/templates/">Templates</a></li>
        <li><a href="http://pixopoint.com/categories/plugins/">Plugins</a></li>
        <li><a href="http://pixopoint.com/categories/plugins/">WordPress</a></li>
      </ul>
    </li>
    <li><a href="">Pages</a>
      <ul>
        <li><a href="http://pixopoint.com/page1/">Page 1</a>
          <ul>
            <li><a href="http://pixopoint.com/page1/flyout/">Flyout</a>
              <ul>
                <li><a href="http://pixopoint.com/page1/flyout/test1/">Test 1</a></li>
                <li><a href="http://pixopoint.com/page1/flyout/test2/">Test 2</a></li>
                <li><a href="http://pixopoint.com/page1/flyout/test3/">Test 3</a></li>
              </ul>
            </li>
            <li><a href="http://pixopoint.com/page1/nested1/">Nested 1</a></li>
            <li><a href="http://pixopoint.com/page1/nested2/">Nested 2</a></li>
          </ul>
        </li>
        <li><a href="http://pixopoint.com/page2/">Page 2</a></li>
        <li><a href="http://pixopoint.com/page3/">Page 3</a></li>
      </ul>
    </li> [/code:39s3wr98]

    #4755
    subster
    Member

    Your really the best one, Ryan!

    #4756
    Anonymous
    Member

    The plugin is ever so sweet.

    All I wanted was a bunch of fully custom drop downs without using the underlying WP structure (categories, etc.) By the time I read this old thread, the number of custom menu boxes provided with this plugin had been upped from 2 to 4, but the comment above indicated that only one custom box was all that was ever needed anyway.

    Originally, I had dropped this code below into each of the 4 custom boxes, and then I had just renumbered the Title Topics from 1 to 4:

    <li><a href="">Topic-Title-1</a>
    <ul>
    <li><a href="">Dropdown1 topic</a></li>
    <li><a href="">Dropdown2 topic</a></li>
    <li><a href="">Dropdown3 topic</a></li>
    <li><a href="">Dropdown4 topic</a></li>
    <li><a href="">Dropdown5 topic</a></li>
    <li><a href="">Dropdown6 topic</a></li>
    </ul>
    </li>

    However, I thought that I was stuck with only 4 custom pull downs. Then, I realized from the comment above that this code below in each custom box would give me two side-by-side pull-down menus for a total of 8, etc.

    Put this into a single custom code box to get two pull down menus:

    <li><a href="">Topic-Title-1-A</a>
    <ul>
    <li><a href="">Dropdown1 topic</a></li>
    <li><a href="">Dropdown2 topic</a></li>
    <li><a href="">Dropdown3 topic</a></li>
    <li><a href="">Dropdown4 topic</a></li>
    <li><a href="">Dropdown5 topic</a></li>
    <li><a href="">Dropdown6 topic</a></li>
    </ul>
    </li>
    <li><a href="">Topic-Title-1-B</a>
    <ul>
    <li><a href="">Dropdown1 topic</a></li>
    <li><a href="">Dropdown2 topic</a></li>
    <li><a href="">Dropdown3 topic</a></li>
    <li><a href="">Dropdown4 topic</a></li>
    <li><a href="">Dropdown5 topic</a></li>
    <li><a href="">Dropdown6 topic</a></li>
    </ul>
    </li>

    Hope this helps someone.

    #4757

    Hi,
    Sorry for the ridiculously long wait time before I have replied.

    Thanks for the input Spiffer <img decoding=” title=”Smiley” />

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.