How customize Additional Fields

Home Forums WordPress Theme CityBook – Directory & Listing WordPress Theme How customize Additional Fields

This topic contains 5 replies, has 2 voices, and was last updated by  CTHthemes 2 months, 1 week ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #29321

    nauticaeditrice
    Participant

    Supported

    Hi, I need to customize the style of Additional Fields that are currently seen as in the screenshot.
    I would like the style to be
    name_field1: value
    name_field2: value

    e not

    name_field1:
    value
    name_field2:
    value

    I have edit listing.php

    <div class="content_addwidgets-wrap">
                    <?php 
                    foreach ($add_fields_arr as $addfield) {
                        echo '<div class="content-add-field-label add-field-'.$addfield['type'].'">'.$addfield['label'].'</div>';
                        echo do_shortcode(get_post_meta( $listing_id, P_META_PREFIX.$addfield['name'], true ));
                        
                    }
                    ?>

    but widget box go under container. See the screenshot
    thank you for help

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

    CTHthemes
    Keymaster

    Send me the listing page to check.

    #29361

    nauticaeditrice
    Participant

    Supported

    the site is working locally, I send you the file listing.php modified by me
    Thank you

    #29362

    nauticaeditrice
    Participant

    Supported

    the file in txt format

    #29363

    nauticaeditrice
    Participant

    Supported

    I can not send it

    #29430

    CTHthemes
    Keymaster

    You can try zip the file first.

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

You must be logged in to reply to this topic.

New featues: CityBook - Listing & Directory WordPress Theme version 2.1.4 was outUpdate now
+