Random Text/Image

Description

07.26c05v2 Random Text Image

#1. Install Code

#1.1. You can add some Text Blocks, Image Blocks, like this

07.26c05v2 Random Text Image

#1.2. Add text #1# to first pair of Text Block – Image Block, like this

07.26c05v2 Random Text Image

With Images, you will add it to ALT, like this

07.26c05v2 Random Text Image

Use #2# to second pair of Text Block – Image Block

Use #3# to third pair of Text Block – Image Block

and so on

Using such symbols ensures the code can identify which text and images should appear together.

#1.3. Hover on Page where you use Text/Image Blocks > Click Gear icon

07.26c05v2 Random Text Image

#1.4. Click Advanced > Paste this code

  • If you use Personal/Basic Plan and your plan doesn’t support Injection, see #3.1
<!-- 07.26c05v2 Random Text/Image -->
<style>
  #random-textimg { visibility: hidden; }
  #random-textimg.rti-ready { visibility: visible; }
</style>
<script>
  window.RandomTextImgConfig = {
    sectionSelector: '#random-textimg',
    readyClass: 'rti-ready',
    avoidSameOrder: true
  };
</script>
<script src="https://code.beaverhero.com/textblock/0726c05v2randomtextimg.js"></script>

07.26c05v2 Random Text Image

#2. Customize

nothing now

#3. Other

#3.1. If you use Personal/Basic Plan and your plan doesn’t support Injection, you can edit current page (page where you use Text/Image Blocks) > Add a Markdown Block

04.26c10v2 Header Sound Icon

Add this code into Markdown

<script>
  window.RandomTextImgConfig = {
    sectionSelector: '#random-textimg',
    readyClass: 'rti-ready',
    avoidSameOrder: true
  };
</script>
<script src="https://code.beaverhero.com/textblock/0726c05v2randomtextimg.js"></script>

07.26c05v2 Random Text Image

Buy me a coffee