WordPress LMS for Web and mobile › Forums › Ionic App Support › maintain two versions of course description
<p style=”text-align: left;”>For the app – is there a way to maintain two versions of course description? One for website and one for the app?</p>
Please check this link :
Did this but app still shows the visual composer data.
I don’t have child theme, so added the code in the theme’s functions.php to test it out, but to no result.
Refer this video: https://screencast-o-matic.com/watch/cqehjH03BM
Sometimes, your course page is built with elementor or visual composer , in those cases the description appears as garbage in the app as visual composer or elementor scripts are not loaded in the app.
This code fix, enables users to add a different course description for the App.
There are 2 parts :
Add following code in the Child Theme – functions.php
use this code: https://gist.github.com/shubham-99fusion/715f2eda8806f4c8b8106cd8ef546158
I haven’t created a child theme. Can I use this code in the customizer plugin?
Yes you can use this code to your customizer plugin also :
Refer this raw text code: https://gist.githubusercontent.com/shubham-99fusion/715f2eda8806f4c8b8106cd8ef546158/raw/eb78db58fcaf3ed79d1035202143373aae8e2dbd/App%2520course%2520description