Comments (5)
Hi @leowski! I’m glad you’re making use of this plugin.
How are you building your front end form?
If you’re using CMB2’s "Bringing Metaboxes to the Front End” method, although untested, this field should work. Let me know if there are any issues.
If you’re writing something bespoke then feel free to pick apart this field for your specific use case.
from cmb_field_map.
Thanks for your quick answer!
That's what I thought. I already tried this solution without any success but it's not due to your plugin, I just can't display any metabox in my front end template.
I'm apparently missing something.
or should do the job right?from cmb_field_map.
There is this note in the documentation:
Note: If you use cmb2_admin_init, like in the example_functions.php file, to register your metaboxes, they will not be available on the front end. Use cmb2_init instead.
from cmb_field_map.
Yeah I did checked this and I'm using "cmb2_init"
from cmb_field_map.
Where are you placing the form? You might need to specify the second parameter ($object_id
) of cmb2_metabox_form()
. Just thinking about the current page context, CMB2 takes the current post ID if it's not specified. Mind you, I'd expect to see the form either way :)
Without the rest of your code, it’s difficult to troubleshoot further! Let me know how you get on.
from cmb_field_map.
Related Issues (20)
- Setting the starting point HOT 4
- Adoption HOT 3
- Add composer repository HOT 2
- Install issue HOT 1
- Google Maps API key now required for admin HOT 15
- Against Google Maps' Terms to store data longer than 30 days HOT 2
- Does not work with term meta + split_values HOT 1
- API Key Is required? HOT 3
- Forked and updated plugin HOT 1
- Google Map not shown correctly in Bootstrap modal HOT 1
- How to change placeholder value 'Enter a location' ?
- Add directions or open link in new page for directions HOT 1
- How installation? HOT 1
- Marker not showing
- This API project is not authorized
- Search field not updating the marker on the map HOT 1
- Render the map from the administrator's settings page.
- First post map are showing but next post map are not showing HOT 1
- API Key activated but maps asking for ownership HOT 2
- How to point a callback function if it live inside class?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmb_field_map.