Possible to default to Visual composer?


Home Forums Front End PM PRO Possible to default to Visual composer?

This topic is: Resolved
  • This topic has 4 replies, 2 voices, and was last updated 3 years ago by Kash.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #20240
    Kash
    Participant

    Is it possible to default to the visual composer, instead of text mode?

    #20243
    shamim
    Keymaster

    You can add following code in your theme’s (child theme’s if you are using) functions.php

    add_filter( 'wp_default_editor', function( $r ){
    	return 'tinymce';
    });
    

    remember if user change tab (visual/text) then that will be saved and will use that instead.

    #20291
    Kash
    Participant

    Thank you for the response. For some reason, it doesn’t work. I always switch to visual mode, but the next time always comes back to text mode. This only happens in FEP. If I write a post, I get the Visual mode by default.

    #20303
    shamim
    Keymaster

    This plugin use wordpress function to output its content area. Also i have tested and it keeps its tab if i change and come back later.

    Can you please deactivate all other plugins and activate to one of unmodified default theme (tweenty*) and test?

    #20305
    Kash
    Participant

    Thank you, and sorry…my mistake. Clearing my cache fixed it.

Viewing 5 posts - 1 through 5 (of 5 total)

You need to purchase ‘Front End PM PRO’ to create topic in this support forum.

If you already purchased ‘Front End PM PRO’ please LOGIN.