• I have installed the Dock Menu FX, all I need is to paste it’s code ‘<?php dockmenufx_echo_embed_code(); ?>’ “where you want it to show up”. I want it to be part of my theme, showing up on every page, so where do I paste this code at?

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Most likely you need to put it in header.php or index.php if you want it show on all pages and posts can help you more if we know theme you using.

    Thread Starter pdv227

    (@pdv227)

    I am using the Glossy Stylo 1.0.4 by aliwkbg Theme.

    Thanks!

    Where do want that dockmenu in the theme just under your blog name description

    Thread Starter pdv227

    (@pdv227)

    I would like it to go right under the title of my site. At the top so it is my menu but under the title.

    I have managed to put on a test website here is this what you want https://govpatel.com/wordpress if so you put that code in header.php after the last </div>

    Thread Starter pdv227

    (@pdv227)

    Yes thats what I want! But I tried that and this is what it told me

    Warning: simplexml_load_file() [function.simplexml-load-file]: /home/content/55/6670055/html/wp-content/flashxml/dock-menu-fx/settings.xml:19: parser error : Extra content at the end of the document in /home/content/55/6670055/html/wp-content/plugins/dock-menu-fx/dock-menu-fx.php on line 34

    Warning: simplexml_load_file() [function.simplexml-load-file]: <Scrolling_Properties> in /home/content/55/6670055/html/wp-content/plugins/dock-menu-fx/dock-menu-fx.php on line 34

    Warning: simplexml_load_file() [function.simplexml-load-file]: ^ in /home/content/55/6670055/html/wp-content/plugins/dock-menu-fx/dock-menu-fx.php on line 34

    Fatal error: Call to a member function attributes() on a non-object in /home/content/55/6670055/html/wp-content/plugins/dock-menu-fx/dock-menu-fx.php on line 35

    recheck if you if you followed the steps as I did not have any problem installing it on the theme

    Thread Starter pdv227

    (@pdv227)

    Ok when I went through those steps again it worked, the problem occurs and continues to occur when I customize my settings from the flash website (https://www.flashxml.net/dock-menu.html). I generate my settings, and paste them into the wp-content/flashxml/dock-menu-fx/settings.xml to overwrite it as it tells me to do, and that’s when I get the errors that I posted above.

    I am getting same error so there must be something in the script that needs to be changed as well.

    I noticed that setting that works has only 7 images while the settings from that site has more may be that is got something that you need to look into

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Where to paste php code to add menu?’ is closed to new replies.