• Hi,

    I really like this plugin.
    However, I am using Visual Composer to edit all of my posts and pages.
    So I would like to use VC as well for building my store pages as well.

    Is this possible in any way?

    I tried this in the settings for Visual Composer where I can set all (Custom) Post Types where VC can be used. But CPT wpsl_stores is not listed there.
    And this probably has to do with the priority given at registration time of the wpsl_stores CPT.

    Any help would be fine.

    Jan

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    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.

    Plugin Author Tijmen Smit

    (@tijmensmit)

    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?

    Thread Starter Jan Lucas

    (@jb_walton)

    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

    Thread Starter Jan Lucas

    (@jb_walton)

    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?

    Thread Starter Jan Lucas

    (@jb_walton)

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Visual Composer’ is closed to new replies.