• Resolved DenisCGN

    (@deniscgn)


    Hello,

    I wonder, if there is something like a POST ID Array, from the search results (form).
    I ask, because it is very very difficult to change the look of the post results.

    So I thought, if there is an ARRAY (or something) with all the results of post IDs, then I could HOOK into my design and hand over these IDs to my post layout query.

    Does anyone know?

    Cheers,
    Denis

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

    (@ninjew)

    Hello Denis,

    The WP_Query takes place in the file geo-my-wp/plugins/posts-locator/includes/class-gmw-posts-locator-form.php on line 308, and the results of the query are added to $this->query.

    On line 332 of the same file there is the filter:

    
    apply_filters( 'gmw_pt_form_after_posts_query', $this->form, $this );
    

    I am not sure, but you might be able to use this filter for your purpose.

    I hope this helps.

Viewing 1 replies (of 1 total)

The topic ‘Post Array’ is closed to new replies.