688 posts
  • Has been part of the Envato Community for over 7 years
  • Has referred 1+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 10+ items on Envato Market
+3 more
_rg_ says

I was asking for some help just some time (hours) ago, here:

http://themeforest.net/forums/thread/wordpress-dashboard-widget-for-options-theme/22361

so… i started the tutorial, but never finished it…. and at same time i test some things, and now i’m able to build a theme options panel… or something like that.

Just see this (it´s working really!!):

The panel is a dashboard widget (i guess), once you active the plugin, it´s ready to save the options.

I made all into multidimensional arrays, so, i need to add just a line of code to add some new option field to the form, and also to the ddbb.

What you think???

Its a good idea to have a panel there to put some custom theme options? This could be loaded via plugin or into the functions.php for the theme… it´s same thing.

As you can see i also remove the rest of the dashboard widgets (i don´t need them at all) And i change via css many things. Ah, the menu items are created using magic-fields, that´s why i have many custom menues.

pd: one thing i couldn´t was to add a custom jquery function on the footer. I was able to include the js, same as i did with css, but for some reason, the jquery didn´t works. I also used a no-conflict approach, just in case, but no success…. any ideas?

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by