I am using biblatex with style=authoryear and maxcitenames=2. For a reference with more than two authors \cite command produces
Erkus et al. 2010
and \textcite command produces
Erkus et al. (2010)
I would like to add a comma between et al. and the year only for the \cite command (but not for the \textcite command), i.e.,
Erkus et al., 2010
Erkus et al. (2010)
\renewcommand*{\nameyeardelim}{\addcomma\space}
Works only for single author references ( see this question), but does not work with the shorthand use of et al. for references with more than two authors. I do not want to use \DefineBibliographyStrings to redefine andothers and add comma after et al. since it also adds comma to \textcite citation, which I don't want.
I tried the following (see this question) but did not work:
\renewcommand*{\nameyeardelim}{%
\ifnumgreater{\value{listcount}}{2}{\nameyeardelim}{\addcomma\space}%
\ifnumequal{\value{listcount}}{1}{\nameyeardelim}{\addcomma\space}%
}


@<usrername>. Comment directly under our answers instead. That way you can make sure that we are pinged. – moewe Aug 04 '19 at 10:35\renewcommand*{\nameyeardelim}{\addcomma\space}should work (as I write in my answer,\DeclareDelimFormat{nameyeardelim}{\addcomma\space}would be preferred, but both work in essentially the same way). I guess the best thing would be to come up with an MWE (https://tex.meta.stackexchange.com/q/228/35864, https://tex.meta.stackexchange.com/q/4407/35864) that shows your current bibliography/citation setup. (Incompatibilities like this are the reason why we always like MWEs very much even if the question is simple.) – moewe Aug 04 '19 at 10:38