2

I want to add postThumbnail zone inside the top zone. I tried doing this

Telescope.modules.add("top","postThumbnail");

It did not work. Can anyone give me solution to this problem?

Nilesh Thakkar
  • 1,442
  • 4
  • 25
  • 36
sohan
  • 41
  • 8

1 Answers1

1

postThumbnail is the module. post_thumbnail is the template. Just a syntax error at this point, but the rest should work fine.

Telescope.modules.add needs an object as second argument, try this :

Telescope.modules.add("top", {
  template: "post_thumbnail",
  // you may need to tweak the order value
  order: 10
});

https://telescope.readme.io/docs/template-modules#adding-a-module

Community
  • 1
  • 1
saimeunt
  • 22,666
  • 2
  • 56
  • 61