• Resolved Brandon

    (@wiseenough)


    In the page/post editor, there is a setting called “Block ID.” Unfortunately, on the front-end, the value isn’t stored as an ID but instead as a different variant under class. Could this be changed to support id=”” as suggested by the backend?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author all_bootstrap_blocks

    (@areoimiles)

    Hi @wiseenough

    The “Block ID” is a unique identifier for the block, that the system uses to apply styles correctly on the front end, it’s not meant to be used as an anchor ID (there may be a time in the future where this ID could change so it shouldn’t be relied upon as an anchor ID or to apply custom styles etc). Originally, this was hidden from the admin as it’s only used in the background, it’s only been added as another user requested it.

    However, if you’d like to add the id attribute to a block you can do this by selecting the block, then scrolling down and opening the “Advanced” panel in the block settings. You should see the “HTML Anchor” field. That is where you should place your id value.

    Hopefully this helps.

    Miles

    Thread Starter Brandon

    (@wiseenough)

    Thanks Miles! That is a good suggestion to use the HTML Anchor field. Thank you again.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Block ID’ is closed to new replies.