• Resolved baramagnus

    (@baramagnus)


    Hi, I don’t need to create loops but I just need simple shortcodes like [field title], display dates, etc. This was easy to do with Custom Content Shortcode but I haven’t figured out how to do it now. If I try things like <Field title /> directly on a post, it just vanishes and does not work. Can you guide me to how to use shortcodes like these directly on my posts? Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @baramagnus, great question! The syntax of CCS was built around shortcodes, but this limited the flexibility of the language and what people could do with it. L&L is way more flexible than CCS could ever be, but that meant moving away from a shortcode-based syntax that you can write directly into your builder. Here are a couple reasons for that switch. Since WordPress can’t natively understand L&L markup (unlike shortcodes), that means that L&L markup always needs to be written inside a template.

    Luckily, you can place your templates on a page using a shortcode if you’d like. Here’s an explanation of how to do that. There are a couple ways to display templates other than using shortcodes too so you can take a look at the different ways to place a template onto your page here.

    Hope that’s helpful, let me know if you have any other questions! Also, you might want to post your questions on the community forum next time since there are more people with different skill sets that browse that forum so you might get better/faster answers.

    Thread Starter baramagnus

    (@baramagnus)

    Hi @bentangible and thank you so much for explaining this. I am ideally looking for a shortcode plugin for my simple needs (but most out there are too simple, where it is difficult to select date formats and other things), but I will probably use your plugin simply because I like your project so much.

    I will post my question in the community forum next time.

    Thanks!

    Magnus

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Simple shortcodes’ is closed to new replies.