Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 134430

mega666 on "small issue with theme customizer"

$
0
0

hey.

I've been learning hot to add theme customizer feature to a theme.
Used few sources for the code and help, but chose the Codex in the end.

I am using a snippet from the codex itself, slightly modified to add more settings.

The only thing I've done was to add few more color options. I am also using the Java script to show live changes.

THE ISSUE:
the function which calls back the settings saved values and adds the new values to a STYLE section in the header - Doesn't work. :/

it seems that it will not pull the saved value (or even the default one) with "get_theme_mod"

can someone have a look at the code and point me to the right direction please ??

Here's my functions.php file.

[Sorry, that's too much code to post on these forums - please use a pastebin per the forum guidelines - http://codex.wordpress.org/Forum_Welcome#Posting_Code ]

Thanks :)


Viewing all articles
Browse latest Browse all 134430

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>