JANUARY SALE: Directory Theme Now Only $49 -- Learn More

Ask the community

This is a community support forum where you can ask
questions and interact with other PremiumPress Customers.

Listing Page Display Code – custom display codes

  • Gerry
    Newbie 61 points
    July 22, 2013 at 7:07 pm

    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>

    <div class=”block-content”>
    <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″>
    <div class=”tab-pane” id=”t2″>
    [FIELDS hide=”map”]
    <div class=”tab-pane” id=”t3″>
    <div class=”tab-pane” id=”t4″>

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

    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?

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

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

  • Mark Fail
    Mark Fail
    Super Guru 12,899 points
    July 23, 2013 at 2:37 am

    iv stripped the rest out in 3.7

  • Viewing 3 posts - 1 through 3 (of 3 total)