• Resolved tye

    (@tye)


    Hey – am I using logic correctly? When I enter the following:

    is_single( array( 1, 2, 3, 4 ) )

    It doesn’t work, nothing displays.

    Also just a question, can logic work alongside choosing individual pages?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mej de Castro

    (@mej)

    Hi @tye

    The following codes should work:
    Specific page: is_single( 40725 )
    Specific pages: is_single( array(40725, 39533) )
    Specific pages: is_single( 40762 ) || is_single( 39533 )

    Yes, logic work alongside choosing individual pages

    Thank you and please let me know if you have other questions.

    Regards,
    Mej

    Thread Starter tye

    (@tye)

    is_single( array(40725, 39533) ) – this doesn’t work, it disables all output of the widget….

    Plugin Author Mej de Castro

    (@mej)

    Hi @tye,

    is_single(array(40725, 39533)) works on my end. You may shoot over the screenshots and details to [email protected] and our team can review that with you!

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Using Logic’ is closed to new replies.