I have created a view and I want to show filtered posts passing arguments via the URL. Example:
http://mysite.com/press/2012-01
I want to show all press posts created in January'2012.
How can I do that ?
|
I have created a view and I want to show filtered posts passing arguments via the URL. Example: http://mysite.com/press/2012-01 I want to show all press posts created in January'2012. How can I do that ? |
||||
|
Take a look at the core Views example Archive ( |
|||
|
|
|
You need to use Contextual Filters in order to pass arguments to the view. |
|||
|
|
arg– Nikhil M Jun 22 '12 at 3:46