Results 1 to 1 of 1

Thread: Featured problem.

  1. #1
    Thread Starter
    Expired Customer mormmam's Avatar
    Join Date
    Nov 2012
    Thanked 0 Times in 0 Posts

    Featured problem.

    I found some problem with my site after I updated the Vantage theme from version 1.1.4 to 1.2 .
    Why I found that problem becuase I build my child theme of vantage without normal look and feels.
    That mean many file has been edited.

    What's my problem? The problem is about "va_get_featured_listings();" function for get featured post on homepage, category page and other page where's I dont know.

    Vantage Developer removed va_get_featured_listings() and absolutely Yes! I don't know why but I think, they have some reasons.
    For you who need to fix/used function like me ( No more time to find other way to fix this problem now) you can copy this functions to your child theme in functions.php

    It's old functions in Vantage 1.1.4 ( I search in my backup).

    PHP Code:
    function va_get_featured_listings() {

    $args = array(
    'post_type' => VA_LISTING_PTYPE,
    'posts_per_page' => $va_options->featured_per_page,
    'paged' => get_query_var'page' ),

    $args apply_filters'va_featured_listings_args'$args );

        if ( 
    is_taxVA_LISTING_CATEGORY ) ) {
    $where 'cat';
    $args['tax_query'] = array(
    'taxonomy' => VA_LISTING_CATEGORY,
    'terms' => array( get_queried_object_id() )
        } elseif ( 
    is_front_page() ) {
    $where 'home';
        else {

    $args['meta_key'] = 'featured-' $where;
    $args['meta_value'] = 1;

    $query = new WP_Query$args );

        if ( !
    $query->have_posts() )


    Umm, and I think, they changed many function. Ex. get_the_listing_category();

    And finally for this topic,

    I want to said something to Apptheme about Changelog.txt. Could you please add more function change in that file or please let me know about functions when you chage after update because I think many developer who bought your theme and modified for my works, It's really hard to find a lot of function has been chaged.

    Thank you.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Samcy Problem with Pay Only For Featured Ads
    By megawacior in forum Help Using ClassiPress
    Replies: 5
    Last Post: May 27th, 2014, 01:48 AM
  2. Featured Tab - Problem
    By marinos in forum ClassiPress General Discussion
    Replies: 5
    Last Post: May 21st, 2013, 04:57 AM
  3. Problem with Featured ads
    By enrique_traun in forum SuccessWeb
    Replies: 2
    Last Post: February 12th, 2013, 11:23 AM
  4. Featured Ad Problem
    By ytsejam in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: June 7th, 2012, 10:42 PM
  5. featured problem
    By brun381 in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: May 16th, 2010, 04:28 PM