an
groups-icon

Listing Page Display Code – custom display codes

Wait a minute... This content is very very old. We no longer sell or support this theme version. New Topics
  • Version 9
    H Brown
    0 points
    Beginner

    This is a great feature but a small bug is present.

    with the code:

    <div class=”block”>
    <div class=”block-title”><h1><span>[TITLE]</span></h1></div>
    [map_location]
    [map-address1]
    [map-address2]
    [map-address3]
    [map-city]
    [map-country]
    [map-lat]
    [map-log]
    [map-state]
    [map-zip]

    <div class=”block-content”>
    [IMAGES]
    [GOOGLEMAP]
    <ul class=”nav nav-tabs” id=”Tabs”>
    <li class=”active”>Description

  • Details
  • Contact
  • Comments
  • <div class=”tab-content”>
    <div class=”tab-pane active” id=”t1″>
    [TOOLBOX]
    <h5>[TITLE]</h5>
    [CONTENT]
    [GOOGLEMAP]
    </div>
    <div class=”tab-pane” id=”t2″>
    [FIELDS hide=”map”]
    </div>
    <div class=”tab-pane” id=”t3″>
    [CONTACT]
    </div>
    <div class=”tab-pane” id=”t4″>
    [COMMENTS]
    </div>
    </div>

    <script type=”text/javascript”>
    jQuery(‘a[data-toggle=”tab”]’).on(‘shown’, function (e) {
    e.target
    e.relatedTarget
    });
    </script></div></div>

    If there is no data in the field then the short code is displayed. Is there a way to fix this so fields with no data do not appear and the short code is not displayed?

July 22, 2013 at 7:07 pm
  • Mark Fail
    11,848 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    July 23, 2013 at 2:29 am
  • Mark Fail
    11,848 points
    Platinum User
    Bronze User Silver User Gold User Platinum User Helpful Award Fast Responder Thank You Coffee Villian Award Video Testimonial
    Members Only Content

    This reply is for PremiumPress customers only.

    Login Now
    July 23, 2013 at 2:37 am
  • 403

    Views

    2

    Replies