Forums

Trying to create theme options and need help with functions (1 post)

  1. artwork architects
    Member
    Posted 2 years ago #

    hello, i am new to wordpress and i am trying to create a some themes. i have html and css knowledge so that part of the design isnt an issue.

    before i even get into styles and design, i want my theme to have options (aiming high i know, but whats the point in learning unless i do it how i want it)

    so far i have written (copy and pasted from tutorials) the code needed to create my own top level menu and a few sub pages

    this is what i have so far

    [Code moderated as per the Forum Rules]

    how can i add multiple functions to a function?

    ie

    function collect_google_codes() {

    creates

    function google_analytics_code
    function google_webmaster_code
    function other_function

    sorry if this isnt explained very well, all of this is self taught and copy paste work

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by artwork architects
  • This topic is not resolved
  • WordPress version: 2.9.1