How to filter the widgets like calendar and archives based on category in WordPress

admin2025-01-07  5

Thanks for the reply now the news page and blog page of my website has sidebars to specific to those, but now the new problem raised on the widgets side. Specifically Calendar and Archive widget are mixing. news posted and blog posted dates are getting mixed up.Please suggest me how to filter these based on category. Please help me with the plugin if possible.

Thanks for the reply now the news page and blog page of my website has sidebars to specific to those, but now the new problem raised on the widgets side. Specifically Calendar and Archive widget are mixing. news posted and blog posted dates are getting mixed up.Please suggest me how to filter these based on category. Please help me with the plugin if possible.

Share Improve this question asked Jul 11, 2014 at 10:39 user3773610user3773610 11 bronze badge
Add a comment  | 

1 Answer 1

Reset to default 0

Filters widgets you can use to cahnge the output of the calendar and archive

Calendar

  • get_calendar

For archive widget you need to use a filters for parts of sql (changing sql statments)

  • getarchives_join
  • getarchives_where
转载请注明原文地址:http://conceptsofalgorithm.com/Algorithm/1736264471a970.html

最新回复(0)