How can we call the shortcodes in flynt ? #541
-
Hey guys, is there anyone who has the complete documentation for flynt? As I started working on this theme for my new project. But I am not sure how can i start? Any advice would be highly appreciated!! Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
Very nice to meet you, welcome on Planet Flynt 🥳 Documentation For Flynt I would recommend reading through the repo README and the Getting Started page. If you're looking for a more high level info about what makes Flynt great, I've recorded a video about that (the video shows Flynt v1 though, which was the same concepts, but some code details are different). I do also want to record a more hands-on, rougher getting started video series where a simple site is created that shows a few nice tricks with Flynt...but it's hard to find the time for it at the moment 😬 Shortcodes <div>{{ someHtml|shortcodes }}</div> Does that help you to get on? All the best from 🇨🇭! Aaron |
Beta Was this translation helpful? Give feedback.
-
HI @aaronmeder Thank you for your prompt response. let's say my shortcodes coming from plugin file. name of shortcodes is [my_shortcodes]. Shortcode Values
` How can i use it here? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @aaronmeder Here is the more clarity Any solution? Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi @aaronmeder
How can we achieve that? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
Hey @rajpatel2435
The style.css file doesn't get loaded in the frontend.
You have to add your css to
assets/main.scss
and have a watcher (npm run start
) running or build a bundle (npm run build:production
for example). This gets compiled to a file in the dist that is loaded.btw: It's best practice to use a new discussion per question, so other people can find a helpful answer to the same question later on more easily.
It would be great if you could mark this discussion as answered for the same reasons ✅
Wish you a good Easter weekend.
Aaron