Reusable Text Blocks
[resolved] Using featured image (3 posts)

  1. mccreath
    Posted 2 years ago #

    How does one call the featured image for a text block? I added one and it doesn't display automatically, but I don't see a way to call it specifically. In the case of this specific block, I'm using it as a widget in a sidebar.


  2. Hal Gatewood
    Plugin Author

    Posted 2 years ago #

    Yes, It's just there because some people asked for it to be available. It does not pull in automatically.

    I would recommend using this: where post_id would be the ID of your text block:


    Hope that helps.

  3. Hal Gatewood
    Plugin Author

    Posted 1 year ago #

    I just added in version 1.4.6 the ability to make custom templates. It looks for a template file like text-blocks-123.php where 123 is the ID of the text block you are loading. In that file you can then use the post thumbnail and lots of other stuff.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Reusable Text Blocks
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.