Search for posts by:
The list of options just keeps on going ! Mix and match these as you require... you have the full power of WordPress behind you!
Additional features
void FindPostByID() { WUPostalQuery query = new WUPostalQuery(); query.PostBasics.SpecifyPostId( 7 ); WUPostal.FetchPosts( query.QueryString, PrintResponse, OnError ); } void FindPostBySlug() { WUPostalQuery query = new WUPostalQuery(); query.PostBasics.SpecifyPostName( \"about-my-life\" ); //or query.PostBasics.SpecifyPageName( \"about-my-life\" ); WUPostal.FetchPosts( query.QueryString, PrintResponse, OnError ); } void OneAuthorByID(int id=123) { WUPostalQuery query = new WUPostalQuery(); query.Author.AddId( id ); WUPostal.FetchPosts( query.QueryString, PrintResponse ); } void OneAuthorByNiceName( string name=\"rami\") { WUPostalQuery query = new WUPostalQuery(); query.Author.AddNiceName( name ); WUPostal.FetchPosts( query.QueryString, PrintResponse, OnError ); } void MultipleSpecificAuthorsByID() { WUPostalQuery query = new WUPostalQuery(); query.Author.AddIds( new int [] { 2, 6, 17, 38 } ); WUPostal.FetchPosts( query.QueryString, PrintResponse, OnError ); } void MultipleSpecificAuthorsByNiceName() { WUPostalQuery query = new WUPostalQuery(); query.Author.AddNiceName( \"laurel\" ); query.Author.AddNiceName( \"hardy\" ); WUPostal.FetchPosts( query.QueryString, PrintResponse, OnError ); } void AllExcludingOneAuthor() { WUPostalQuery query = new WUPostalQuery(); query.Author.Exclude( 12 ); WUPostal.FetchPosts( query.QueryString, PrintResponse, OnError ); } void AllExcludingSpecificAuthors() { WUPostalQuery query = new WUPostalQuery(); query.Author.ExcludeMultiple( new int [] { 2, 6, 17, 38 } ); WUPostal.FetchPosts( query.QueryString, PrintResponse, OnError ); }
See exactly what you get before you decide to get it. Note that because the WP_Query object is a beast of a class it stands to reason that the function list might make this asset seem daunting. Once you see the sample code, though, you will be blown away by how easy the Bridge : Postal makes it to build your custom queries and get just what you want from your website.
Postal_Overview_ReadFirst
Postal_Warnings_ReadSecond
Postal_Ready_Made_Functions
Postal_FunctionList
© 2019 myBad Studios
Reviews
There are no reviews yet.