Skip to content
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

New Suggestions #1393

Open
codetot opened this issue Feb 3, 2021 · 1 comment
Open

New Suggestions #1393

codetot opened this issue Feb 3, 2021 · 1 comment

Comments

@codetot
Copy link

codetot commented Feb 3, 2021

I'm trying to migrate from ACF and have some cool ideas about improving the workflow.

Global Function

The function workflow:

To copy a file from any options page:


define('METABOX_SETTINGS', 'theme-slug');

function theme_slug_get_option($field_id) {
  return rwmb_meta($field_name, ['object_type' => 'setting'], METABOX_SETTINGS);
}

// Then you can call, for example
$footer_copyright = theme_slug_get_option('footer_copyright');

Quick Copy field name

I saw a great extension who made for ACF there: https://chrome.google.com/webstore/detail/acf-tools/ogliegjmpalokmaaeckcdgbhdeedcnmf

The key is we interact with fields from the backend very quickly. Could we bring these small changes to our plugin base? I guess it will increase more interest in your plugin.

copy-key

@codetot
Copy link
Author

codetot commented Feb 3, 2021

Google Fonts Field

It's a great idea if we could bring a Google Fonts selection as a single field with a preview. I know there is a way to customize it from Customizer, but we wish to bring all controls to customers in the same place only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants