WordPress.org

Support

Support » Themes and Templates » Per page widgets

Per page widgets

  • Hi,

    Is it possible in WordPress to setup pages to show different widgets, but still using the same template?

    Example,
    – I have a template page-widget.php
    – page-widget.php has an area for inserting one widget and is supposed to be used for two different pages where one shows a list of images, and the other shows a list of videos
    – So when clicking on the Pictures link page-widget.php should display all my pictures, and when clicking the Videos link page-widget.php should display all my videos.

    Is it possible for me to setup WordPress so that I can specify a video listing widget and picture listing widget? Two different pages but the same template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello aselenwall,

    To do so, I would create two widget areas, one for images, and one for videos. If you insert the right widgets in the backend, you can chose the widget to show, when the page is called.
    You could use the title, or you can create a custom field (name media, and values image / video. Now you can check the value, to select the widget area to give out.

    Greets
    Paka

    I think this plugin is what you are looking for:
    http://wordpress.org/extend/plugins/per-page-widgets/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Per page widgets’ is closed to new replies.