WordPress.org

Ready to get started?Download WordPress

Forums

Widget Logic
Widget on portfolio page (5 posts)

  1. Ryde Style
    Member
    Posted 1 year ago #

    Hi guys,

    I use your plugin with great satisfaction.
    Recently I added a portfolio page to my website, which now consists of two portfolio pages.

    Portfolio page 1 displays actions, using the posts in the actions category. It has it's own template called "page-Portfolio4Col.php
    http://krooneliefting.nl/aanbiedingen

    Portfolio page 2 displays bikes, using the posts in the bikes category + two child categories. It has it's own template called "page-Portfolio4ColSortable.php
    http://krooneliefting.nl/occasions

    As you'll understand, I'd like different widgets on these posts. But I've tried a lot but all without succes.
    Any idea of the codes I should use? Thanks.

    BR
    Jeff

    http://wordpress.org/extend/plugins/widget-logic/

  2. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    you could use the is_page or the is_page_template conditional tag…

    http://codex.wordpress.org/Conditional_Tags#A_PAGE_Page
    http://codex.wordpress.org/Conditional_Tags#Is_a_Page_Template

    but note the FAQ section about is_page

    http://wordpress.org/extend/plugins/widget-logic/faq/

  3. Ryde Style
    Member
    Posted 1 year ago #

    I've already tried the is_page as well as the is_page_template tag but both without success.....

  4. alanft
    Member
    Plugin Author

    Posted 1 year ago #

    have you tried is_page with the reset_query fix as described in that FAQ section?

  5. Ryde Style
    Member
    Posted 1 year ago #

    I downloaded a plugin calles "widget controller". Did the job

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic