-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In port/Export #50
Comments
You can find his change log on his site at the top there is a version number, currently 2.1.5 with a gear next to it. Or you can follow this link which I copied: |
Thanks for the link and info! On Wed, May 21, 2014 at 7:59 PM, ScottishSamurai
Elliot DISCLAIMER: If you have received it by mistake please let me know by reply and then If you as intended recipient have received this e-mail incorrectly, please |
@elliot-labs what do you want to In- and Export? From the Theme? Don't know wich part of Wordpress is a Theme-Task to In-/Export? |
He means the import and export option for the Theme Options/settings page(s). That's discussed a lot in the theme's support forum; because when you've made huge changes in the theme options page of HUEMAN, then you have no possibility to save them, to export them, for example to import exactly these settings to another blog - or just to backup these settings. |
Oh yeah, now I get it! :) I will / can create this function if I get a list of all Settings (the names in the database) and I hope that these Settings will all get saved as a Wordpress Option!? |
I'm not a coder/developer but as far as I know, theme settings as well as special, custom plugin settings are mostly saved/exported/imported as XML-file HUEMAN theme settings are made with Option Tree - doesn't OptionTree offer the possibility to export its settings, therefor the theme settings of HUEMAN? |
I will have a look at OptionTree - and yes, if I code it my own I will create a XML-File. |
Got it ... it's Line 14 of functions.php @AlxMedia would be nice if you can integrate an option to dissable/enable the OptionTree Settings Page or delete it. |
Thanks, works perfect! It would be great, if that's implemented in the next theme update :-) |
To disable this Setting is a risk, so do you a favour and enable it after the backup. ;) |
Tested and solved this Issue: /* dis-/enable OptionTree-Settings Page - @Gummibeer (via GitHub)
/* functions/theme-options.php -> Line 145
/* // General: OptionTree
array(
'id' => 'admin-ot-page',
'label' => 'Option Tree Page',
'desc' => 'Show OptionTree Pages in Admin-Area',
'std' => 'off',
'type' => 'on-off',
'section' => 'general'
),
/* ------------------------------------ */
function remove_ot_menu () {
if ( ot_get_option('admin-ot-page') == 'off' ) {
remove_menu_page( 'ot-settings' );
}
}
add_action( 'admin_init', 'remove_ot_menu', 2 ); @AlxMedia Add it to the functions.php and the Array in the comment to functions/theme-options.php. |
Thanks for the understanding and willingness to implement the inport/export feature! I am looking forward to seeing it in the next update! |
Sorry for so much Commits - my forked repository was dirty and I have to delte it. :/ |
Did you test the new settings? |
#50 (comment) Yes, if I don't forget anything it should work. In my Wordpress-Installation it works fine. :) |
Cool! That was the fastest feature implementation that I have ever seen! Where will the inport/export button/setting be? |
I'm not the Theme Developer - that's why it's just a Pull-Request - implement it by your own or wait for the real update - sry. :/ |
lol k. I got confused because you were listed as a contributor. I thought that you could do stuff with it. For the importing and exporting all that was required was that simple code change? |
It's a standard OptionTree Function to Backup the Settings - but it's in the OptionTree Settings-Page and it's recommended to disable this page for "normal" users (not developers) cause you can destroy the whole theme if you don't know what you have to do there. I will try to bugfix the Issue referenced in 53. |
Thanks! |
The last Commit in the Pull Request #52 solve the Bug that the Add Media Lightwindow loads infinite. |
Issue presscustomizr#50 Conflicts: functions/theme-options.php
I and a few others would like to have this feature. It would make site backups and deployments easier.
Could you put it in the Theme Options? Thanks!
P.S. Where is your change log? I can't find it on Wordpress or your website.
The text was updated successfully, but these errors were encountered: