Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #303355

    colly72
    Participant

    I can’t see where I can edit the accordion content, using Cornerstone. Please see attached link. The text element seems to have the same problem.

    http://www.awesomescreenshot.com/image/329143/e7bfcd4868dfeade75584cac90753c6f

    #303556

    Rupok
    Member

    Hello There,

    Thanks for writing in! You should be able to edit the content from left panel upon clicking on the element.
    You can discover Cornerstone by exploring some easy video tutorial from our knowledge base – https://community.theme.co//kb/
    (See the dedicated section for Cornerstone on second row).

    If you still face any issue, feel free to let us know. We’ll be happy to assist you.

    Thanks for using X.

    Cheers!

    #304533

    colly72
    Participant

    That doesn’t work for me, with the accordion or text element. I don’t get any option to edit the content. I’ve tried disabling other plugins but it still doesn’t work. Other elements seem OK though?

    #304563

    colly72
    Participant

    Forgive me, it is a plugin conflict. The plugin that is stopping this working is the Insert Pages plugin, see https://wordpress.org/plugins/insert-pages/

    I really need this plugin for my site to work as intended and it works fine with older versions of X (using VC) but certain cornerstone elements seem to have issues.

    Is there anything you can do?

    Thanks,

    Michael

    #304605

    colly72
    Participant

    I’ve got around the issue now by creating a shortcode to do the Insert Pages plugin job, as follows:

    function insertcover(){
    $id = 539;
    $p = get_page($id);
    return apply_filters(‘the_content’, $p->post_content);
    }
    add_shortcode(‘cover’, ‘insertcover’);

    Would still be good to have the Insert Pages plugin problem resolved though.

    #304931

    Zeshan
    Member

    Hi there,

    Glad to hear you resolved the issue yourself! As for the 3rd party plugins, we cannot guarantee their compatibility as we do not support them.

    Thanks!

    #305763

    colly72
    Participant

    Hi,

    I’ve heard back from the plugin developer, who is happy to help debug, if you can provide a copy of the theme – see https://wordpress.org/support/topic/plugin-breaks-x-theme?replies=2

    Regards,

    Michael

    #306062

    Alexander
    Keymaster

    Hi Michael,

    Try adding this to functions.php of a child theme:

    add_action( 'cornerstone_load_builder', 'insertPagesCompatibility' );
    
    function insertPagesCompatibility() {
      global $insertPages_plugin;
      remove_action( 'before_wp_tiny_mce', array( $insertPages_plugin, 'insertPages_wp_tinymce_dialog' ), 1 );
      remove_filter( 'mce_external_plugins', array( $insertPages_plugin, 'insertPages_handleFilter_mceExternalPlugins' ) );
      remove_filter( 'mce_buttons', array( $insertPages_plugin, 'insertPages_handleFilter_mceButtons' ) );
    }

    That should address the conflict for you. It will prevent their TinyMCE plugin from loading in the Cornerstone builder, which is the source of the problem. You should still be able to use their shortcodes though.

    #306288

    Alexander
    Keymaster

    Hey just to confirm here, we’ve made an update in Cornerstone that should fix this. You can use that custom code until the next release, as which point it should work again.

    #309346

    Ljsaari
    Participant

    I had accordions in my page and now try to create new accordions with Cornerstone.
    Wiht the new accordion editor, I am not able to make brakes between the text lines, even you can see those brakes in the text and graphic mode (in the cornerstone editor). In the cornerstone view, all the accordion text comes just as long text without linebreaks… Why?

    I would like to get it like this http://www.mtkuusimaa.fi/askola/
    So wehn I paste that old accordion text and paste it in the accordion editor, all the linebreaks dissapear and it creates just a long line of text…

    #309365

    Christopher
    Moderator

    Hi there,

    Please update X.
    Please switch to text tab of editor and put the code in there.

    If it doesn’t help please open a new topic and provide us with page’s URL which you added accordion via Cornerstone in there, and login credentials.

    Hope it helps.