Enable Theme Option for Subdomain in WordPress Multisite
Some time ago, I had a void and seldom update this blog. Currently I’m building a social networking like facebook, its name MySmapalas Network. You can see it here. This site uses WordPress multisite (formerly known as WordPress MU). I really enjoy the advantages and convenience when using this site.
If you want to install a plugin or theme, you need to do is just find and then install it directly without uploading it first. Only with 1 or 2 click’s, plugin or theme will be installed.
Multisite wordpress wordpress differ in general. You can create a subdomain or subdirectory but only use one machine in the main directory (root directory). Indeed, there is an error when we use a particular theme on a subdomain then Theme Option be lost.
Indeed, there is an error when we use a particular theme on a subdomain then Theme Option be lost.
Now you don’t worry anymore, because the error can be corrected by replacing the word edit_themes be switch_themes. Usually the word can be found in functions.php on each theme.
For example, if you use Harmony theme. You can search for words:
add_theme_page($themename.” Options”, “”.$themename.” Options”, ‘edit_themes’, basename(__FILE__), ‘mytheme_admin’);
then change it to:
add_theme_page($themename.” Options”, “”.$themename.” Options”, ‘switch_themes’, basename(__FILE__), ‘mytheme_admin’);
Now you can see in each subdomain, Theme Option can be used again.




Home



oh good tips
salam friend
I will try to install.
thank for information subdomain in worpress multisite.
wah, pakek inggris, semogasaya paham
duh, merendah nih padahal blognya keren juga pakai bahasa inggris.. :hehe:
owh cuman ngganti edit themes ke switch themes aja ya mas.dapet info baru nih walau agak kurang ngerti dengan multisite cos gak pernah dipake :hehe:
*buka kamus* :rambut:
bentar, di cerna doeloe :baca:
:diem:
kunjungan balik nih…blog yang sangat bagus kayaknya…kapan2 kita tukeran link ya…
Kenapa harus nunggu kapan2.. Sekarang aja bro. Silahkan isi form di http://jembelisme.com/links
Haha.. thanks alot infonya gan…
solusinya keren!