Custom Terms and ACF Fields

#145208
  • Resolved 中村 真由美
    Rank Math free

    Hi, I am setting meta & title for a custom post type. I’d like to insert the value of a field of the post type specified with ACF into its <title>.

    Let’s say I have a post type with its slug “case” and in it have an ACF field named “name”, what should I specify in %customterm(xxxx)%? I tried (case_name) but it didn’t work…

    Regards,
    Mayumi

Viewing 10 replies - 1 through 10 (of 10 total)
  • Roel John
    Rank Math business

    Hello,

    Thank you for contacting Rank Math.

    Can you try this %customfield(field-name)%.

    Please let us know if that helps.

    Thank you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Roel John
    Rank Math business

    Hello,

    I checked your screenshot and you still using %customterm(xxxx)% instead of %customfield(field-name)% can you confirm? Can you share your login info on the sensitive data so we can check?

    Thank you, and looking forward to your update.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    I think I’ve specified “name” as field name.
    Kindly check the site. The Post type in question is named 顧客事例

    Thanks

    Roel John
    Rank Math business

    Hello,

    Can you check now if that’s the right data you want to display?
    customfield

    Thank you, and looking forward to your update.

    Yes Yes!!
    Did you modify anything? or was that just cache issue?

    Roel John
    Rank Math business

    You just use a different variable. You need to put this %customfield(name)% instead of this %customterm(name)%.

    Oh I see. Thank you so much for pointing out.

    Regards,
    Mayumi

    Danial
    Rank Math business

    Hello,

    We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

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

The ticket ‘Custom Terms and ACF Fields’ is closed to new replies.