Giter Site home page Giter Site logo

makeitworkpress / wp-custom-fields Goto Github PK

View Code? Open in Web Editor NEW
68.0 9.0 15.0 3.44 MB

WP Custom Fields is an options, metabox and customizer framework for WordPress aimed at speeding-up plug-in and theme development.

Home Page: https://makeitwork.press/scripts/wp-custom-fields/

License: GNU General Public License v3.0

JavaScript 5.11% PHP 81.22% Less 6.26% TypeScript 7.41%
custom-metaboxes taxonomies wordpress wordpress-theme wordpress-development wordpress-options-framework metaboxes metabox user-profile customizer

wp-custom-fields's People

Contributors

4m1n0s avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wp-custom-fields's Issues

Data not save in database in initial and default values not working

Hi there

I made an option panel page but options do not save in the database initially and they just insert into database after the saving the settings. So there is a problem with default values and actually, I can not access any data without saving the settings once. While some other frameworks like Redux Framework store the options initially.
Can you fix it?
Thank you

Code editor is bugged in a couple of ways

The code editor module seems to be bugged in a few ways. The first is that you can't edit or type in it until you hit save changes and it refreshes the page. What you have typed in the editor also doesn't show until you click the box and when it shows the CSS is all messed up.

Initial load:
image

After clicking the editor (but can't type):
image

After clicking save changes and it reloads (now fully functional):
image

Then the next is that it doesn't seem to be saving some chracters correctly. Notably <> and ''.
For example, if I put in
<script>console.log('loaded in header');</script>
When I try and put that into the header it outputs as
<script>&lt;script&gt;console.log(&#039;loaded in header&#039;);&lt;/script&gt;</script>
image
No matter which way I try and echo or insert into the header it doesn't seem to ever want to show correctly.

This can also be observed if using the code editor to collect CSS. If you enter code such as

#test > .test {
color: red;
}

The > will be replaced with < and break the CSS.

I thought I could get around it by just using a textarea box but those sanatize the input and remove tons of characters.

"Repeatable" not working properly when nested

Greetings! I created the "repeatable" nesting as in the screenshot:
image

I expected that "repeatable" would work like this:

image

No tak eto ne rabotayet, vzamesto etogo, i pervaya knopka "repeatable" (glavnogo bloka) i vtoraya knopka (dochernego bloka) dobavlyayut polya v odin blok, chto kazhetsya mne ochen' ne logichnym.
But this doesn’t work, instead of this, both the first “repeatable” button (of the main block) and the second button (of the child block) add fields to one block, which seems very logical to me.

image

I really hope that you can help me with a solution to my problem. Thanks for your attention.

Sub Section feature

Hi there,
Please add sub section for option page. Just sidebar tab item drop down.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.