• Hi,

    This can be feel as a curious or stupid question.

    I tried to find shortcodes documentation and could not find anything else that the list of ultimate, but nothing about parameters nothing in codex else than creation rules for development.

    I have written several shortcodes and added parameters into plugins in developments, so everything seams clear till today.
    I have to use the shortcode “menu” which appear as “su_menu” with ultimate.

    It doesn’t function as I would. I wish to display some submenu of current menu into a page.
    When I give the title of the menu (name of menu doesn’t exist in french version it is title) and I hope to get the display of the options of the corresponding menu.
    I get always the full menu (with the name given displayed).

    Then I search for a definition of the shortcode use rules and parameters (else than “title” or “name”), after half an hour I could not find anything else that the way to create shortcodes defined in Codex (which I know quite well).

    Must we (as user) seek the code to rebuild documentation ?
    I could not find a recent plugin which displays shortcodes data (registered data about into db).

    Please do somebody can help me ?

    Best regards

    Trebly

Viewing 1 replies (of 1 total)
  • Thread Starter Trebly

    (@trebly)

    Hi,

    Two days mean nobody interested in answering to this stupid question.

    I found a part of the problem :

    1. There is no documentation
    2. There is ‘in French à “pense-bête” ‘, à “memo” of a non existing documentation
    3. In this memo we can find that nu_menu has only two parameters the name od menu and the class
    4. So there nothing else than seeking the code to get information : I could extract this original documentation :
    5. The shortcode [nu_menu …] displays a whole menu defined into the theme.
      By default if the name is not valid the behavior is those of nav_menu because parameters are sent to wp_nav_menu without any test.
      Particularly if the menu name is those of a submenu you will get the whole menu.
      There is no parameter to display a submenu.
      Without CSS it is not usable.
      As I am searching for the display of various submenu so :
      – I am testing a new shortcode that I have developed and that I try to integrate into ultimate for editor integration (I am for now seeking where the form is generated from the atts (parameters requested for the shortcode).
      – If I cannot integrate I will have to develop a new shortcode plugin.

      Others plugin seems no more clear about submenu selection.

      Best regards

      Trebly

    • This reply was modified 8 years ago by Trebly.
Viewing 1 replies (of 1 total)
  • The topic ‘Shortcode documentation’ is closed to new replies.