Other parameters values that can be used in "In parameter"


#1

Hi,

Does anyone know what are the other values (other than ‘primary_tag’) that can be passed to this in parameter? :thinking:

{{#post}}
	{{#prev_post in="primary_tag"}}
		<a href="{{url}}">{{title}}</a>
	{{/prev_post}}

	{{#next_post in="primary_tag"}}
		<a href="{{url}}">{{title}}</a>
	{{/next_post}}
{{/post}}

#2

Well, I got an answer by exploring the code in core/server/helpers/prev_next.js as follows,

We are able to filter by following values currently.

  • primary_tag
  • primary_author
  • author

#3

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.