Results 1 to 2 of 2

Thread: How to show custom field on <post_meta> change show Price

  1. #1
    Thread Starter
    Expired Customer salujo70's Avatar
    Join Date
    May 2015
    Posts
    137
    Thanks
    11
    Thanked 7 Times in 6 Posts

    How to show custom field on <post_meta> change show Price

    1. Show customs field cp_city,..... Show on
    PHP Code:
    /**
     * Adds the ad meta in the loop after the ad title.
     * @since 3.1
     *
     * @return void
     */
    function cp_ad_loop_meta() {
        global $post, $cp_options;

        if ( is_singular( APP_POST_TYPE ) ) {
            return;
        }
    ?>
        <p class="post-meta">
            <span class="folder"><?php if ( $post->post_type == 'post' the_category', ' ); else echo get_the_term_list$post->IDAPP_TAX_CAT''', ''' ); ?></span> | <span class="owner"><?php if ( $cp_options->ad_gravatar_thumb appthemes_get_profile_picget_the_author_meta'ID' ), get_the_author_meta'user_email' ), 16 ); ?><?php the_author_posts_link(); ?></span> | <span class="clock"><span><?php echo appthemes_date_posted$post->post_date ); ?></span></span>
        </p>
    <?php
    }
    add_action'appthemes_after_post_title''cp_ad_loop_meta' );
    default show catagories, author, date/time
    how to add more: cp_city.....(custom field)

    2. Price default Symbol + Value Ex: $ 20, $ 50 how change to Value + Symbol EX: 20 $, 50 $

    Can i help you???

  2. #2
    dimitris's Avatar
    Join Date
    Oct 2011
    Location
    Earth
    Posts
    20,618
    Thanks
    222
    Thanked 1,865 Times in 1,765 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Samcy How can I show ads by state? (or value from another custom field)
    By locationtournage in forum Help Using ClassiPress
    Replies: 2
    Last Post: March 23rd, 2014, 05:55 AM
  2. Hide ad prices if price field is empty else show
    By damanjit in forum ClassiPress General Discussion
    Replies: 3
    Last Post: February 11th, 2014, 09:13 AM
  3. Free ads still show the Price field
    By jakemelon in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: January 29th, 2012, 09:04 PM
  4. Custom Field wont show , HELP
    By tlexington in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: November 5th, 2011, 06:35 PM