Viewing 1 replies (of 1 total)
  • Plugin Author Loomisoft

    (@loomisoft)

    Hi @st5uzmloopsqz7dr9egp

    If I understand the question, you just want a common block of text to be effectively imported into the post so you can then edit it on a case by case basis. If that’s the kind of thing you are looking for, then in all honesty, no.

    The idea behind the plugin is to modularise content. That way if a common block you use in say 300 posts/pages (e.g. some “Special Offer” box), was to change, you would only have to make the change in one place and not have to drill down into all 300 pages/posts … that would be a maintenance nightmare.

    However, the plugin allows you to have “variables”. One user we know of has a piece of text that says something like:

    “Have you visited London?” on the London page
    “Have you visited Paris?” on the Paris page
    “Have you visited Tokyo?” on the Tokyo page
    etc.

    This is done by having a content block (let’s say ID 820) that has:

    Have you visited [ls_content_block getvar=”varplace”]?

    Then on each page you define the variable when calling the block:

    On the London page you have: [ls_content_block id=”820″ varplace=”London”]
    On the Paris page you have: [ls_content_block id=”820″ varplace=”Paris”]
    On the Tokyo page you have: [ls_content_block id=”820″ varplace=”Tokyo”]
    etc.

    That way, you still have the modularity, but also have the flexibility to have slightly bespoke text on each page/post where the content block is called.

    Do let us know if this is useful to you.

    • This reply was modified 6 years, 11 months ago by Loomisoft.
Viewing 1 replies (of 1 total)
  • The topic ‘Insert text not shortcodes’ is closed to new replies.