דלג על ניווט

תגיות: 

נושא זה מכיל 0 תגובות, יש ל 1קוֹל.

עודכן לאחרונה על ידי lucap-5 לפני 7 חודשים, 4 שבועות.

בסיוע: Lauren.

מחבר פוסטים
מאי 15, 2024בְּ- 6:21 pm #15632027

lucap-5

I have a search page that shows some products and there is a filter. I have added the following code in order to list the results number:

[wpv-found-count] [wpml-string context='RESULTS']RESULTS[/wpml-string]

Is there a way to change the word RESULTS to RESULT when there is only 1 result?

Solution: WPML only handles the translations, so you would need a function to count the results and then display your desired content.