Tags Customization

#647312
  • Resolved Anonymous
    Rank Math free

    %tags(limit=1&separator= | &exclude=11,22)%

    in this my tags are : abcd, 1234, !@#$

    how can i show the 2nd tag which is 1234 only?
    how can i shot the 3rd tag which is !@#$ only?

    also can i show values from a custom field? like this? if yes then how can i show the v2.5.6-gms from below cf?

    datos_informacion (key name)
    value =
    Array
    (
    [app_status] => updated
    [descripcion] => app_desp_short
    [version] => v2.5.6-gms
    [tamano] => Varies with devices
    [fecha_actualizacion] => app_updated
    [last_update] =>
    [requerimientos] => Android: 6.0 and up
    [consiguelo] => https://play.google.com/store/apps/details?id=com.theruralguys.stylishtext
    [categoria_app] => GAMES
    [os] => ANDROID
    [offer] => Array
    (
    [amount] =>
    [currency] => USD
    )

    [novedades] => BUG FIXES
    )

Viewing 1 replies (of 1 total)
  • Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    You can control which tag should be shown in the &exclude= part of the variable. To exclude the other tags and show a specific value only, you may need to edit those tags and get the tag_ID value like this

    tag2

    In the example above, the variable would be like %tags(limit=2&separator= | &exclude=270, 2)%, assuming I’m removing another tag_ID 2.

    Regarding the custom field, unfortunately, our %customfield(...)% doesn’t support array data as it only renders strings.

    In this case, you can create a custom variable using this guide and return a processed array data as a string.

    Hope that helps.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 1 replies (of 1 total)

The ticket ‘Tags Customization’ is closed to new replies.