Normally when i create a project or website with custom fields. The user can edit the information in the WP CMS. I came across visual composer and thought to try it.
When you have a page or custom post type the WYSIWYG editor changes to the one for from visual composer(if you press back-end button). But the custom fields, for example; the Excerpt or a date are not editable by visual composer.
I came across several options; AVC-VC bridge plugin and vc_mapping.
VC Mapping:
https://wpbakery.atlassian.net/wiki/pages/viewpage.action?pageId=524332
When i try to implement this it creates a new field in the Visual composer editor. It doesn't make the advanced custom field editable with the visual composer plugin.
The plugin has the same effect as mapping.
Does anyone have experience with this?
To sum up my question: How can you change the advanced custom fields values with visual composer in the back-end & front-end.
Thank you for your time and tips!
Related
I tried following along to this tutorial but it is using a much older version of the API than the current version so it didn't work:
https://www.youtube.com/watch?v=8PAV_9JKW48
Ok, so apparently you need the WPGraphQL for Advanced Custom Fields plugin for it to work.
Download the latest version as a zip from the GitHub releases page, then install it into your WordPress instance by uploading the zip folder (Plugins > add new > Upload Plugin).
Make sure that the "show in GraphQL" checkbox is checked on any advanced custom fields that you make or they won't appear in the GraphQL output.
These are all the WordPress plugins that you need to make everything run smoothly:
Advanced Custom Fields
WP Gatsby
WP GraphiQL
WP GraphQL
WPGraphQL for Advanced Custom Fields
Restart Gatsby once everything is installed.
I have the latest WordPress version and PHP 7.3
I would like to use the API that is available since 4.7 as long as I read.
For now, I have installed the ACF Pro and I have added some custom fields in Users
But my problem is that these custom fields does not appear in API
I would prefer not to use any plug-ins (if it is not nessasery in order to have a stable code, rather than updates and plug-ins covering other plug-ins.. and so on.. ), but of course if this is the only and easier way, let's go we that!
I have done so far "How to expose all the ACF fields to Wordpress REST API in both pages and custom postypes"
through another post here in overflow: How to expose all the ACF fields to Wordpress REST API in both pages and custom postypes
which it was also helpful for other reasons.
I have already installed ACF to REST API - v3 plugin, but I do not know the next steps.. Custom fields still does not appear yet. what should I do after that?
Furthermore, I have tried and installed "JSON API User" but I think I am missing something..
Could you give me some explanations how all these works, and steps to continue? I would like to have my custom fields of Users available to API (fields I have like classes, sectiones, PIN and so on)
I'm trying to figure out how to display my visual composer elements inside of my Storefront single product page.
I can view visual composer in the backend, but it is not appearing in my single product post.
Is there a particular hook that I need to call for it to show?
Thank in advance.
Login to your WordPress dashboard. Goto "Visual Composer > Role Manager". In Post types field, select "custom". And check the "post" checkbox button.
Basically our architecture is such that we are using a headless WordPrss CMS. Meaning out data is managed through WordPress admin. However the front end is to be built using any front end frameworks like Angular etc. So my question is, if I have a license of Visual composer and installed it in WordPress through admin. Can I use Visual composer in front end which is custom and not a normal WordPress theme?
This is technically possible, but it's not something that will work out of the box. Your custom frontend will have to 'understand' the content Visual Composer produces, thus VC has to be loaded in the frontend as well.
On a data level VC populates the post with custom shortcodes and 'deciphers' them in the frontend. Start with VC Wiki: https://wpbakery.atlassian.net/wiki/display/VC/Visual+Composer+Pagebuilder+for+WordPress and specifically API section: https://wpbakery.atlassian.net/wiki/display/VC/Inner+API
Has anyone used the MainWP Plugin for managing multiple WordPress sites?
I have recently been using it and on each site where I am using Advanced custom fields plugin for creating custom fields in my posts. But when I created the bulkpost using the MaiWP dashboard, the custom fields are not being saved when publishing new post. Has anyone ever encountered this problem and maybe resolved it?
Any help would be much appreciated.