Results 1 to 2 of 2

Thread: Classipress V4.2.7 Add a cp_tag value

  1. #1
    Thread Starter
    Amateur corecoder's Avatar
    Join Date
    Jun 2018
    Posts
    17
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Classipress V4.2.7 Add a cp_tag value

    How do I add a cp value as shown in the picture I included. On the old classipress was super easy, but I can not find where to change the php code for the ads in the FEATURED and LATEST listings to display it????

    classiquestion1.jpg

    Code:
    <!-- Display cp_region data or default $ sign -->
    <div class="cp_region">
        <span>ACCEPTING : </span>
        <?php 
        $cp_region = get_post_meta( $post->ID, 'cp_region', true );
        if ( empty( $cp_region ) ) {
            echo '$'; // Display default $ sign
        } else {
            echo $cp_region; // Display cp_region value
        }
        ?>
    </div>

  2. #2
    jomarkosabel's Avatar
    Join Date
    Mar 2009
    Location
    Philippines
    Posts
    40,985
    Thanks
    170
    Thanked 3,409 Times in 3,280 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!
    Please help our moderating team work more efficiently by not sending us support questions via PM. You can read more about how AppThemes support works here. However, you can send a PM to follow up and remind me if I missed your support request/thread.

    Thank you and have a nice day.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)