The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Per page widgets (3 posts)

  1. aselenwall
    Posted 4 years ago #


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

    - 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
    Posted 4 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.


  3. Internet123
    Posted 4 years ago #

    I think this plugin is what you are looking for:

Topic Closed

This topic has been closed to new replies.

About this Topic