i’m developing a skin demonstration system. but i need get options from inactive layouts.
Resolved. But it’s necessary to improve the code. Any tips?
I’m beginner on PHP and WordPress. Please, assist!
Source Code: http://codepaste.net/dfjf7m
ot_get_option_by_layout($option_id, $layout_name', $default)
Final code: http://pastebin.com/9QAG1jFU
Most of all, enjoy your time here. Thank you for being a valued Envato community member.
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
Complete List of Smiley Codes