In the blog is a very awesome article about admin option page. But I can’t make it to work in WP 2 .7. http://blog.themeforest.net/wordpress/create-an-options-page-for-your-wordpress-theme/
I simply download and enable adminoption theme. It saves values, but at the header php it seems that it isn’t getting those values.
I’ve found that you need to include that coding in each page you want to load values into.
For example, paste it into the top of index.php (after <?php get_header() ;?>) if you want to load thumbnails into your blog.
Hmm… Didn’t work for me…
But instead I tried to do this way: get_option(‘option_name’ ) And it worked like a charm
There is also code example in this tutorial: http://nettuts.com/tutorials/wordpress/creating-a-custom-wordpress-plugin-from-scratch/
- 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.