Passing boolean values with wp_localize_script
I am using wp_localize_script to pass a couple of values from my theme options to a javascript file. First I got the values from my theme options:
I am using wp_localize_script to pass a couple of values from my theme options to a javascript file. First I got the values from my theme options:
I use PageLines free version, with WordPress 3.3.1, for this website: http://new.teleosis.org/?page_id=76
So – at a client’s request, I am in need of being able to resize an image not the standard WordPress way… but from an image pulled-in from a theme option. I can’t simply use the custom_header area, as there will be two or three (I also have some options once the image is uploaded to let the user choose how the link should function (page, post, category, no link, external link, etc)). I’m using Options Framework Theme with great success and I can retrieve the image src just fine, it’s a matter of if this can somehow be used in combination with the add_image_size() function normally used for post thumbnails. I’d REALLY rather not go the timthumb route and stick with WordPress APIs (I know that’s a little contradictory to what I am doing in the first place…). Any help would be greatly appreciated. Thanks!
I’m creating a new WordPress template and I have a question:
I’ve added a custom Option Page to my new template (you can see what I’m doing Here and Here) but now I would like to add a new function.
Do you know Si Contact Form? In this plugin the end user can download a backup of all the settings and Upload it on a different website.
I would like to be able to add the same function into my new option page.
I know how to backup my settings logging to phpMyAdmin but sometimes end-user can’t login to phpMyAdmin or simply it’s better that he/she doesn’t login to phpMyAdmin :-).
Have you got any solution to this?
Actually all my custom functions are named:
‘appaqua__zona1c’;’appaqua__zona1x’ and so on… my theme shortname is appaqua.
Please by kind with me, I’m not a professional programmer and I’m really sorry if I used wrong words to explain what I need.
Thank you very much to all!