How to hide Google maps from the listings pages?

  • Stoly
    Stoly
    Senior Member
     
    159 points

    How do I hide the maps section under description/completely remove it so it doesn’t show up on the individual listing’s pages?

    I would still like it on the ‘add listing page’ and ‘edit listing page’.

    Is this possible?

    Attachments:
    You must be logged in to view attached files.


    Steve
    Newbie
     
    17 points

    Edit the content-single-listing-auction.php file and remove the [GOOGLEMAP] shortcode.

    You can find the file in
    AT>content-single-listing-auction.php
    or
    Your Child Theme>content-single-listing-auction.php

    I hope this helped you. :)

    This reply was awarded the best answer by the topic poster.

    Stoly
    Stoly
    Senior Member
     
    159 points

    Hi Steve,

    Thank you so much for this Steve, I really appreciate it!

    I have another question to this now – how do I place the “description” part of the listings page to the ‘Details’ page? So it’s all one section/1 page.

    I did remove the google maps and the ‘tabs’ part of the coding, though how do I move the description of the listing to appear just above the details of the listings, so I have one page only. I have provided a screen shot.

    If you or anyone can provide some insight, that would be really great.

    Thankyou :)

    Attachments:
    You must be logged in to view attached files.

    Stoly
    Stoly
    Senior Member
     
    159 points

    Okay,

    I figured it out, yet the Details tab moves up and down and the content slightly jumps up and down, so I need this to be fixed now.

    I edited the same page like you said – I removed the tab id’s parts, then added the [CONTENT] part, thats is if anyone is interested.

    I tried removing the “active” and adding the “active” part to the code of t2, but no fix.

    The top border of the details text disappears when you hover over it.

    Attachments:
    You must be logged in to view attached files.

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

You must be logged in to reply to this topic.