Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

How to attach “Article Class” to all “Post Template” blocks globally

  • Hello. How can I attach/assign the Article Class to each Post Template block that’s currently being used globally? Obviously, this is a breeze for content template elements for posts and archives, but for our pages, it’s a bit of a time-eater.

    Any ideas? Thanks.

  • Hi there,

    Unfortunately, there’s no built-in way to automatically assign all Post Template blocks in an <article> tag site-wide. If you’re referring to Query Loop blocks you’ve manually added to various pages, you’ll need to edit each instance and set the Post Template block’s HTML tag to article manually.

  • Thanks Alvind. Appreciate the response.

  • You’re welcome

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.