how to integrate the OC to wordpress blog? it and to highlight promotions and products from the store?
thanks
I'm just posting a small tip here
http://www.wprecipes.com/wordpress-tip- ... mmatically
Using this you can insert posts to a wordpress blog programmatically.
http://www.wprecipes.com/wordpress-tip- ... mmatically
Using this you can insert posts to a wordpress blog programmatically.
Chris, Opencart Developers and Programmers,
Opencart Developers Opencart Programmers
https://www.chrisranjana.com
hi chrisran
thanks for your tip, but no undestand how i integrate promotion products opencart in wordpress insert inside posts...
thanks for your tip, but no undestand how i integrate promotion products opencart in wordpress insert inside posts...
Code: Select all
global $user_ID;
$new_post = array(
'post_title' => 'My New Post',
'post_content' => 'Lorem ipsum dolor sit amet...',
'post_status' => 'publish',
'post_date' => date('Y-m-d H:i:s'),
'post_author' => $user_ID,
'post_type' => 'post',
'post_category' => array(0)
);
$post_id = wp_insert_post($new_post);
Who is online
Users browsing this forum: No registered users and 54 guests