Hide `geodir_sidebar_right_open` and `geodir_sidebar_right_close` on Add Listing

This topic contains 3 replies, has 2 voices, and was last updated by  calcoasttech 9 years, 9 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #58714

    calcoasttech
    Expired Member
    Post count: 2

    Hello,

    I am using the Theme compatibility to wrap some custom HTML elements around the

    geodir_sidebar_right

    <aside> object. I noticed on the /add-listing/ page that the sidebar HTML is getting printed even though there is no sidebar there.

    I have attached screenshots of how it appears on a individual listing’s page and what it looks like on the add-listing page.

    I was hoping there was an easy way to prevent this from printing on *just* the /add-listing/ page

    #58715

    calcoasttech
    Expired Member
    Post count: 2

    Add Listing Page [wish to prevent sidebar from printing at all]:
    Add Listing Page

    Sample Listing’s Page [correct, cannot be changed]:
    Sample Listing's Page

    #58726

    Guust
    Moderator
    Post count: 29970

    Why not just add two text widgets in the sidebars of the relevant templates and not the Add-Listing template? No need to modify any HTML …

    #58729

    calcoasttech
    Expired Member
    Post count: 2

    Ahh I see what you’re saying.. going to give that a shot and let’s see how it works.

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount