WordPress.org

Ready to get started?Download WordPress

Forums

Per page widgets (3 posts)

  1. aselenwall
    Member
    Posted 2 years ago #

    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.

  2. paka
    Member
    Posted 2 years ago #

    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

  3. Internet123
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic