Locale changed but plugin still showing default language

Thanks @toscho — The problem plugin in particular is wp-pagenavi. The backend strings are being translated, however; the frontend remains in default en_US locale. I found this: https://wordpress.org/support/topic/translation-91 To be more specific, the text field values on plugin options page do not get translated so my assumption is that translations are malformed somewhere in the … Read more

Displaying saved category checked in a plugin?

I solved my own question as follow: foreach ($categories as $cat) { $category_explode = get_the_author_meta( ‘Category’, $user->ID ); //output 4,5,16 $cat_ex = explode(‘,’,$category_explode); ?> <label> <input type=”checkbox” name=”category[]” value=”<?php echo $cat->cat_ID; ?>” <?php foreach ($cat_ex as $cat_expld) { if($cat->cat_ID == $cat_expld){echo’checked=”checked”‘;} }?> /><span> <?php echo $cat->cat_name; ?> </label> <?php } ?>

Cannot access variables within a widget

This is more of a pure PHP than WordPress. You are implicitly creating $ranNum as local variable in function scope. $Example_Widget won’t access widget instance in PHP. What you should be using is $this->ranNum, for reading and writing. That will create object’s property implicitly, but you likely should declare it explicitly in your class definition … Read more

WordPress plugin addon [closed]

You have several options: Additional Plugins Similar to how Gravity forms works, you have the base plugin which is your standard plugin, then you build additional premium plugins that integrate into it using hooks to add additional functionality Enabling functionality Your standard plugin bundles everything inside it, but disables sections of functionality until they’re turned … Read more