Class PocketListings
Methods summary
public static
|
|
public
|
|
public
|
|
public
|
|
public static
|
|
public
|
|
public
|
|
public
|
#
wp_query_listings( $query )
Altering wp_query before it gets executed - setting results per page value |
public static
WP_Query
|
|
public static
array
|
|
public
|
#
use_template( $template )
Renders templates based on the ones selected in general settings of the plugin |
public
|
#
pocket_listing_play_nice_with_default_template( $template )
A Hack to make Pocket Listings play nice with default theme templates. |
public
mixed
|
|
public
|
#
set_pocket_listing_excerpt( $more )
Another hack Since by default Pocket Listings renders content via the_content, we don't know if the template uses excerpts and strips all html off. Fot hat case we do the following: |
public
|
|
public
mixed|string|
|
#
listing_output( $content )
Renders a single listing details page implementation of the_content action hook |
public
stdClass
|
Properties summary
public
string
|
$post_type
|
#
'listing'
|