ThemeShaper Forums » ThemeShaper WordPress Themes


Custom theme trsnsfer troubles

(5 posts)
  • Started 12 years ago by dansiop
  • Latest reply from em hr
  • This topic is not resolved
  1. dansiop


    I followed Ian Stewarts guide to creating a wordpress theme as I had to transfer a static website to wordpress and I have been successful all apart from the navigation and its drop down. I was hoping that someone could let me know exaclty what I am doing wrong.

    Here is the original website : (You can see the navigation that is required)

    Here is the website that I have created based on this website but has wordpress pages / navigation and 2 widgets on the left hand side :

    I just can not work out why the drop down navigation isnt showing. I can not even get the down arrows to show that there are child pages.

    Posted 12 years ago #
  2. On your development version your missing the script

    mainmenuid: "smoothmenu1", //menu DIV id
    orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
    classname: 'ddsmoothmenu', //class added to menu's outer DIV
    //customtheme: ["#1c5a80", "#18374a"],
    contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]

    and the id to make it work

    div class="ddsmoothmenu" id="smoothmenu1">

    Posted 12 years ago #
  3. dansiop

    I thought it was to do with that but I am unsure how to add it as my header.php has the following line which controls the menun:

    <?php wp_page_menu( 'sort_column=menu_order' ); ?>

    I have managed to change it to

    <div class="ddsmoothmenu">

    but I am not sure how to change it to:

    <div class="ddsmoothmenu" id="smoothmenu1">

    Any suggestions on how I could do it?

    Posted 12 years ago #
  4. dansiop

    Can anyone help me with this please?

    Posted 12 years ago #
  5. Look here:

    The same logic could be applied to other elements such as divs

    Posted 12 years ago #

RSS feed for this topic

Topic Closed

This topic has been closed to new replies.