Bridge: Postal extension

$75.00

Fetch posts from your website, make new new ones, upload post thumbnails and link/update page thumbnails

SKU: WUSKU_0_ASSET_WUP Category:

Description

Query your posts table with all the power WordPress has to offer and fetch anything or everything WordPress can deliver...

Search for posts by:

  • post type
  • tags
  • categories
  • attachments
  • published status
  • password protected or not
  • specifying it\'s password
  • specifying a specific posts or page by it\'s name or id
  • doing a search against a custom search term
  • specifying multiple and/or nested taxonomies
  • specifying specific author or authors you want to find
  • excluding specific author or authors from your search results
  • searching by comment count
  • searching media by their mime types (jpgs, gifs, zip, video...)

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

  • You can decide whether or not to make searches affect the server cache
  • Return only the post ID\'s of your selected query
  • Specify the return order of your search results
  • Search by date
  • Search by meta field
  • Write posts of any post type
  • Upload the feature image for the post


The Bridge : Postal extension includes many sample functions to show you how to use the asset but to learn how to use the search features of WordPress you will have to learn that from the WordPress website itself since there is a lot to learn and many examples to help you understand it all, not to mention it is forever being kept up to date. To learn how to use Bridge :Postal, consider this the official documentation: https://codex.wordpress.org/Class_Reference/WP_Query
As for some samples of how easy I have made it to use, have a look at some of the code from the demo script included in the project:
    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 );

    }

Download the complete documentation now

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

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.