• Hey Eyal,

    Just a quick question. I’m using the core plugin (upgrading shortly once I can get a few of the dev bits done!)

    I’m using a custom query for a few posts to show on the homepage that are local to the user:
    post_type=event&posts_per_page=4 etc..

    Is there a distance argument I can use? ie
    post_type=event&posts_per_page=4&distance=5 for example

    Basically just to show the user the events most local to them.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Eyal Fitoussi

    (@ninjew)

    Hi @paul-m-uk,

    I apologize for the delayed reply.

    Are you using the custom query with GEO my WP’s search results shortcode? Or with a normal WordPress template page?

    Thread Starter Paul Maloney

    (@paul-m-uk)

    Hi Eyal, Looking to do a custom query ideally. The shortcode I can’t use. It will be in a custom page template with a loop.

    Thread Starter Paul Maloney

    (@paul-m-uk)

    Hi Eyal, I haven’t heard back. I’m holding off buying the pro and post location addon as I need to know if I can use outside of your shortcode.

    Would something like:
    query_posts('post_type=service&posts_per_page=4&nearby=user');

    Work?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Custom Query Posts?’ is closed to new replies.