Posts by phppoet

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

i was facing the same issue . here’s how i managed it .

class my_checkout_fields_class {
    var $countries;

function __construct() {

        $this->countries = new WC_Countries();

}

}
Now you can get billing and shipping fields respectively in this class.
$billlingfields             = $this->countries->get_address_fields( $this->countries->get_base_country(),'billing_');

$shippingfields             = $this->countries->get_address_fields( $this->countries->get_base_country(),'shipping_');

regards

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

Ours just approved

iThemes Exchange Shipping Estimates
http://codecanyon.net/item/ithemes-exchange-shipping-estimates/9715333

for best Engagement Plugin

thanks

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

RIP

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

I can understand your sadness. Success does not give happiness everytime but i wonder how zambia or afghanistan could be better for you then Europe ?

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

i have 3 year old girl and i have bought one laptop for her and i show her long cartoon video of her choice to prevent her from distrub me in my work . I usually work a lot when she is sleep . its really hard to concentrate on work when she is awake .

best regards

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

yes . I even experiencing it from last 15 mins.

i have tweeted to envato support .

hope they will look into it soon .

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

no. It should work fine with activation hook . make sure post slug , name exactly matches with post type name in insert post .

you should consider using something like which has worked for me every time

http://pastebin.com/p19amW9K

regards

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says
your code looks okay . Here is what is working for me
if ((empty($error)))  {
            $new_post = array(
            'post_title'    =>    $title,
            'post_content'    =>    $description,
            'tags_input'    =>  array($tags),
            'post_category'    =>    array($_POST['cat']),  
            'post_status'    =>    'publish',          
            'post_type'    =>    'book',  
        );

        //insert post

        if (!isset($pid)) {
        $pid = wp_insert_post($new_post); 
       }
45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

agree 100%

45 posts
  • Has referred 10+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Made it to the Authors' Hall of Fame
+3 more
phppoet says

buyer has purchased item , its his right to give whatever he/she wants . most of the buyers don’t judge items on the merit of item because they don’t buy it for the sake of making review . Most of buyer buy items because of some need and after spending money if things do not work their way then they have a right to rate whatever they wish . We never complain when buyer gives 5 start due to good support only .

by
by
by
by
by
by