%count(varname)%

#750596
  • Resolved Anonymous
    Rank Math free

    Hello,

    I found %count(varname)% option in the SEO Title settings. I have a website with job listings and I was wondering if it would be possible to display a number of available jobs just next to the job’s title?

    Best regards,
    Lukasz

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

    I appreciate your interest in using the %count(varname)% variable in the SEO Title settings. This variable allows you to add a counter for a specific variable, starting at 1 and incrementing each time it’s used on the page.

    To display the number of available jobs next to each job title, you can use the following format:
    Job Title %count(job)%

    This will dynamically add a number next to each job title, starting from 1 and increasing with each job listed on the page.

    If you encounter any issues or need further assistance with setting this up, feel free to reach out.

    Best regards.

    Sources:
    Using Variables in the SEO Title and Description » Rank Math
    General Tab in Meta Box of Rank Math SEO Plugin
    Rank Math ‘Titles and Meta’ Options and Settings

    Anonymous
    Rank Math free

    Hi,

    Thank you.

    What I would like to achieve is to display the total number of jobs in the title of the page where the job listings are. Just on this one page. Would it be possible?

    Hello,

    Thank you for contacting Rank Math support.

    That variable can only be used to set a counter for our plugin’s variables. If you want to show the count of the jobs available on the job listing page, then you can modify and use the following filter to create a custom variable: https://rankmath.com/kb/variables-in-seo-title-description/#how-to-add-custom-variables

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    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 3 replies - 1 through 3 (of 3 total)

The ticket ‘%count(varname)%’ is closed to new replies.