Spaces between Variables in ALT + TITLE

#87329
  • Resolved flober
    Rank Math business

    Hi,
    setting auto ALT and TITLE for images:

    EXAMPLE: %focuskw% %customterm(product_cat)% %parent_title% %title% %count(varname)% %currentyear%
    outputs a white-space for empty variables:
    alt=”Name Name Chi siamo 1 2020″
    title=”Name Name Chi siamo 1 2020″

    How can i prevent this?
    THX

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hello,

    Thank you for contacting Rank Math today.

    Do you mean to have the output as a single word like: NameNameChisiamo12020 ? I wouldn’t recommend this as the main purpose of adding the Alt tag to the images is to describe the images in a readable way to both users and search engines.

    Looking forward to helping you. Thank you.

    flober
    Rank Math business

    Hello,

    sry, i try to describe better:
    %focuskw% %customterm(product_cat)% %parent_title% %title% %count(varname)% %currentyear%
    outputs:
    alt=”Name Name Chi siamo 1 2020″
    title=”Name Name Chi siamo 1 2020″

    if %customterm(product_cat)% %parent_title% dont exist, the systemoutputs a empty space, so outputs
    alt=”Name Name 1 2020″
    title=”Name Name 1 2020″
    with empty spaces

    How can i prevent that a empty variable outputs a space between?
    THX

    Hello,

    Sorry to disappoint but that feature is unfortunately not available at this time.

    With that being said, there are existing feature requests, so I’ve added your vote to our internal suggestions lists. If your suggestions are something that we’re able to introduce, I’ll be sure to let you know.

    flober
    Rank Math business

    Thank you!

    Hello,

    We are glad we could assist you.

    Do you wish to close this thread in the meantime?

    If you have any further question(s), please let us know. Thank you.

    flober
    Rank Math business

    THX

    Hello,

    We are glad we could assist you.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Spaces between Variables in ALT + TITLE’ is closed to new replies.