Listing Page Display Code – custom display codes

WordPress Business Themes Forums Responsive Themes Directory Theme Listing Page Display Code – custom display codes

Discontinued - The forum content is out of date. For theme support please use our support desk here.

Listing Page Display Code – custom display codes

July 22, 2013
Gerry Gerry
  • Gerry
    Gerry
    Newbie 61 points

    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
    Mark Fail
    Super Guru 12,814 points

    ill see what i can do, i did blank out most of the fields but seems there maybe additional ones.

    July 23, 2013 at 2:29 am
  • Mark Fail
    Mark Fail
    Super Guru 12,814 points

    iv stripped the rest out in 3.7

    July 23, 2013 at 2:37 am
  • Viewing 3 posts - 1 through 3 (of 3 total)

    Didn't find what you were after?

    Chat with us now

    or contact our support team