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?

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, privacy policy and cookie policy

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