0

I'm having trouble while trying to use views arguments for replacing metatags description.

In the view title you can easily add the view argument for example "Blog posts in category %1" so the "%1" is the first argument and it's replaced in the view title, but it does not work for metatags.

For example I want the description of the metatag to say "Blog posts about %1 in example blog"

Is there any way so that view argument works for metatags?

1 Answer 1

0

I found that in the available tokens for the metatags while configuring the view, I can access the url arguments with this token [view:url:args]

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.