Widget logic – display widget only on add listing page

This topic contains 3 replies, has 3 voices, and was last updated by  Birgit Wilde 4 years, 10 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #490566

    Birgit Wilde
    Full Member
    Post count: 236

    Hello,
    I would like to display some widgets only on the Add Listing page and as far as I understand this can be done with the widget logic.

    In the documentation I can see how the code should look when a widget shall be displayed on the archive page or detail page.

    However, I could not find in the documentation what the widget logic must look like when a widget shall be displaid only on the Add Listing page.

    Can you help?

    Many thanks
    Birgit

    #490568

    Kor
    Moderator
    Post count: 16516

    Hi Birgit,

    Thanks for your reply. You can refer to the attached image that explains how this can be done. I hope it helps.

    #490571

    Alex Rollin
    Moderator
    Post count: 27815

    Have you tried

    
    
    
    is_page('add-listing')
    
    #490755

    Birgit Wilde
    Full Member
    Post count: 236

    perfect 🙂

Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket