Skip to:
Content
Pages
Categories
Search
Top
Bottom

how can I insert posts in bbpress


  • mafcojp
    Participant

    @mafcojp

    how can I insert posts in bbpress?I insert in mysql database, but not show it.
    I indicate the query:

    INSERT INTO web_posts (
    ID,
    post_author,
    post_date,
    post_date_gmt,
    post_content,
    post_title,
    post_status,
    comment_status,
    ping_status,
    post_name,
    post_modified,
    post_modified_gmt,
    post_parent,
    guid,
    menu_order,
    post_type,
    comment_count
    )
    VALUES (
    ”,
    3,
    ‘2016-01-02 10:35:59’,
    ‘2016-01-02 10:35:59’,
    ‘xxxx’,
    ‘xxxx’,
    ‘publish’,
    ‘closed’,
    ‘closed’,
    ‘xxxx’,
    ‘2016-01-02 10:35:59’,
    ‘2016-01-02 10:35:59’,
    8,
    http://xxxx/xxxx/forums/topic/xxxx’,
    0,
    ‘topic’,
    0
    );

    thanks..

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar