Altering page / category names in breadcumbs

You have to add this to your CSS. .breadcrumb_last { text-transform: capitalize; } As you can see, I used text-transform: capitalize;, to make the text looks like you need. In case you don’t know how to add CSS, check this out.

Get field in readable word

(Updated/new answer) How to make it show “United States (US)” instead, on the frontend, in a shortcode? First off, you got united-states (the country slug/key) instead of United States (US) (the country name) because your extrainfo_save_extra_user_profile_fields() function is saving the country slug/key instead of the country name. That’s not a problem, and I’d do the … Read more

Using wordpress functions in class and change my code to OOP PHP

Thank you guys for all the suggestions and answers. I have fixed it, see my code below: class advanza_form { // Class properties defined using PHP Coding Guidelines and taking security measures: http://www.php.net/manual/en/language.oop5.visibility.php public $site_id; public $affiliate_id; public $redirection; protected $url; private $response; private $header; // For debugging public $status_code; // For debugging public function … Read more

Custom Bulk Actions handler not firing

Hi first fix your condition if ( $action !== ‘out_of_stock’ || $action !== ‘in_stock’) { this condition will always run because your action is in contrast with “out_of_stock” or “in_stock”. So I think if you change the condition from OR to AND it will work. Then find out if the screen id is the one … Read more