Support » Plugin: AgentPress Listings » Non Featured Listings showing in featured listings

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Ron Rennick

    (@wpmuguru)

    Put in a support ticket at http://my.studiopress.com. No one is going to be able to help you without accessing the dashboard.

    Will do. Thanks.

    and thanks for the plug-in!

    Update from Genesis support: “It’s not currently possible to exclude certain properties from the featured listings widget, I’m sorry to say, although it’s possible this feature may be included in the future. For now, you can control which properties display in the widget and modify the display order by editing each property and modifying the published date: http://d.pr/i/ty6e That will change the order that properties appear. (To remove listings from your homepage, you could give them an older date, for example.)”

    wow,

    just read bstudio’s updated and can’t believe they’ve left this technical issue go unresolved with the AgentPress Listing plugin.

    Perhaps the good people at StudioPress must have thought everyone was going to climb aboard the IDX Plugin train.

    Can’t believe I’m experiencing the same problem without a go to solution after 5 months.

    Plugin Support Nick Cernis

    (@modernnerd)

    @crgbroker. Right now the Featured Listings widget is designed to display recently added property only. I’ll pass on your comments, though, in case the widget can be adapted to display results from a certain taxonomy term. Thanks for the feedback!

    Hi everyone.

    I had the same need so I solved it – I don’t know how to do it differently – editing the plugin files.

    Search in agentpress-listings/includes/class-featured-listings-widget.php

    The following (around line 35):

    $query_args = array(
      'post_type'      => 'listing',
      'posts_per_page' => $instance['posts_per_page'],
      'paged'          => get_query_var('paged') ? get_query_var('paged') : 1
    			);

    And change it to:

    $query_args = array(
      'post_type'      => 'listing',
      'posts_per_page' => $instance['posts_per_page'],
      'paged'          => get_query_var('paged') ? get_query_var('paged') : 1,
      'post__in'       => get_option( 'sticky_posts' )
    			);

    The last line filters the query to just the sticky post.
    You can set the sticky post in the listing page (backend).

    If anyone can tell how to change the query without editing the plugin files would be great.
    Thanks,

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Non Featured Listings showing in featured listings’ is closed to new replies.