WordPress.org

Ready to get started?Download WordPress

Forums

JSON API
get post by title (1 post)

  1. dnamarcel
    Member
    Posted 1 year ago #

    Would it be nice to add that to json api as well.
    getting post by title is now possible from version 3 in WP.

    $page = get_page_by_title('title page', OBJECT, 'post');

    last parameter defines type. either a page or post.

    see here:
    http://codex.wordpress.org/Function_Reference/get_page_by_title

    http://wordpress.org/extend/plugins/json-api/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic