Change text “Result of filter”
-
In API section on the plugin’s main page I found:
BEAUTIFUL_FILTERS_INFO_POSTCOUNT
$postcount_paragraph is the default postcount string. You MUST add %d somewhere in the new string in order for the resulting number to appear.function modify_filterinfo_postcount($postcount_paragraph){ return 'Hej v?rlden '; } add_filter('beautiful_filters_info_postcount', 'modify_filterinfo_postcount');
I tried
return 'Hej v?rlden %d';
And it printed “Hej v?rlden %d” to the page, rather than “Hej v?rlden 24” or whatever number of posts were the result of filtering.
What am I missing?
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Change text “Result of filter”’ is closed to new replies.