I don’t currently own the visual composer plugin, but I will get it later today and see what happens, and how to possible fix it.
So I will get back to you about this.
I installed it, and under General Settings -> Default template for post types the Store Locator does show up. Or are you looking on another page?
Does it also not work for you with a default WP theme?
Hi,
Thanks, I was referring to te page ‘Visual Composer’ / ‘Role Manager’ where Visual Composer can be activated per role.
But on the page you are referring, the Store Locater CPT does not show up either.
I changed the theme to a default WP theme and it doesn’t show up either.
I will try it with a clean WP installation with only VC and Store Locater installed. Than I will install all my plugins and theme one by one to see what happens.
Jan
Hi,
I just installed a fresh WP installation.
After that I installed and activated your Store Locator.
After that I installed Visual Composer and it’s the same problem.
Store Locator does not show up in de Settings of Visual Composer.
Not as post type under ‘General Settings / Default templates’ and not under Role Settings as CPT.
So I see the Stores as CPT under Visual Composer.
Is the Store CPT registered with special priority?
Hi Tijmen,
I managed to get it to work.
However, I had to change the registration of the wpsl_stores CPT.
In wp-content/plugins/wp-store-locator/inc/class-post-types.php (regel 21)
add_action( ‘manage_wpsl_stores_posts_custom_column’, array( $this, ‘custom_columns’ ), 9, 2 ); (was ….1, 2…)
After that I could not use wpsl_stores as CPT, so I installed CPT-UI plugin to register a new CPT, using slug ‘wpsl_stores’.
Now I can use VC for the editing Stores !!!
Not a nice solution, but a working workaround.
Regards,
Jan