Forums

Create Post using metaWeblog.newPost (3 posts)

  1. joiwoo
    Member
    Posted 8 months ago #

    Hi guys,

    I have succesfully create new post by using the api metaWeblog.newPost. I can see the new post created under the All Posts admin page. But the problem is it won't show on the homepage. Ii will only show after I go to the edit page of the new post and click Update. What could be causing the problem here?

    This is the code:

    [Code moderated as per the Forum Rules. Please use the pastebin]

  2. joiwoo
    Member
    Posted 8 months ago #

    This is the code:

    http://pastebin.com/VBY7Cgu2

    A side note, the above scenario also happen even i use the wp_insert_post function. The new post is successfully created but won't show on homepage.

    It will only show after i click the update button in the edit post page. (Nothing is really being updated the title, the content still the same. All i did was just click the update button).

  3. joiwoo
    Member
    Posted 8 months ago #

    Anyone? Any hints or recommendation at all? Thanks in advance.

Reply

You must log in to post.

About this Topic