Hey @sosna sorry for the delay in responding to you. I do not get alerts on these support requests. In the future please use the github issues:
https://github.com/methnen/m-chart/issues
I don’t have access to BeTheme as it’s a theme that is purchase only from what I can tell.
Are you saying that the theme has a [chart] shortcode already and that that’s conflicting with M Chart?
If you don’t need the theme’s version of the [chart] shortcode the easiest thing to do would be to remove the themes version of the shortcode.
RGZ
(@daniel-garrido)
Hi @sosna5150,
You can edit the file wp-content\plugins\m-chart\components\class-m-chart.php at line 61, changing
add_shortcode( 'chart', array( $this, 'chart_shortcode' ) );
by
add_shortcode( 'm-chart', array( $this, 'chart_shortcode' ) );
After this, you must use the shortode [m-chart id="1837"] without conflicts with BeTheme.
Shure, you are at your own with M-Chart plugin updates…
Thank you for answer. @rgz I use your solution and everything works fine. @methnen by the way maybe is good idea to change shortdcode for M Charts from [chart] to something diffrent in next update? You could then be sure to it works for everyone. I suggest [m-chart] 😀
By the way I make translation for Polish language but I make it in my local files, so if you want them please give me your e-mail address and I can send them to you.
Greetings and thanks again!