Results 1 to 2 of 2

Thread: How to get ad-category and images of a post?

  1. #1
    Thread Starter
    Senior Member drabello's Avatar
    Join Date
    Nov 2010
    Location
    Rio de Janeiro
    Posts
    224
    Thanks
    23
    Thanked 19 Times in 15 Posts

    How to get ad-category and images of a post?

    I have to get post ID, Permalink, Title, ad-category and images of ad-listings.

    ID is ok:
    PHP Code:
    <?php echo get_post_meta($post->ID'cp_sys_ad_conf_id'true); ?>
    Permalink is ok:
    PHP Code:
    <?php echo get_permalink($post->ID); ?>
    Title is ok:
    PHP Code:
    <?php echo get_the_title($post->ID); ?>
    However I could not find function to get ad-category and images attached.

    Please note, I have to retrieve just the image URL (http://domain.com/wp-content/uploads...)

    Could you help?

  2. #2
    Thread Starter
    Senior Member drabello's Avatar
    Join Date
    Nov 2010
    Location
    Rio de Janeiro
    Posts
    224
    Thanks
    23
    Thanked 19 Times in 15 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. If I enable Price per Category then can I post to more than one category?
    By badmaash in forum ClassiPress General Discussion
    Replies: 0
    Last Post: November 9th, 2013, 04:39 PM
  2. single post images
    By masandra in forum Help Using ClassiPress
    Replies: 0
    Last Post: May 21st, 2013, 09:12 AM
  3. category, post ads, images problem
    By myanmarads in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: October 21st, 2011, 07:14 AM