Pls. note if you are planning to modify this file, your revisions will be removed after the gem elemets plugin update. So the most simple way is to edit existing style.
Templates you can see here:
/wp-content/themes/thegem/gem-templates/blog
For the safety update just copy the file which you need to change to the child theme with the same path.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Hi Support,
Is it possible to create a custom "Style" for News & Blog Settings?
Do you have any example code snippet for this?
HI!
Are you planning to update the theme?
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver
Hi Gregor,
I created a subtheme of theGem theme, I want to create a custom style to fit my project requirements.
I was thinking if I there is an Action or Filter I can put on the my child theme's function.php to add my custom style.
Or maybe I customise any of the existing "Styles", and change its template file?
HI!
Sorry, it's not simple to add new style via filter, more simple is to create the copy of this shortcode in the child theme (Functions.php) some hints:
For adding the new style you need to edit:
/wp-content/plugins/thegem-elements/inc/shortcodes/shortcodes.php
in the line 4407 can add it for VC
The shorcode code you can see in the line 1792
Pls. note if you are planning to modify this file, your revisions will be removed after the gem elemets plugin update. So the most simple way is to edit existing style.
Templates you can see here:
/wp-content/themes/thegem/gem-templates/blog
For the safety update just copy the file which you need to change to the child theme with the same path.
Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list.
Regards, Oliver