Josh
Forum Replies Created
-
Forum: Plugins
In reply to: [WP Edit] Why the WP edit PHP widget disappeared in ver. 3.4??You’re most welcome. Thank you for the kind understanding of my reasoning. I hope it wasn’t too time-consuming (lots of PHP widgets).
Please have a wonderful week.
Forum: Plugins
In reply to: [WP Edit] Changing between Visual and Text modesCan you take a screenshot for me to see the error console?
To the far right of the error (in the console); it will tell you what file is throwing the error. We need to check if it is a plugin file; or a main WordPress core file.
If it is the prior; we can disable the plugin and check again.
If it is the latter.. then the troubleshooting process is a little more involved; but completely outlined in the article I linked to above. Perform the steps in the article.. and figure out which plugin is causing the editor to not switch between tabs.
Forum: Plugins
In reply to: [WP Edit] Remove unwanted fonts from dropdown listYes, in your child themes functions.php file.
Forum: Plugins
In reply to: [WP Edit] Remove unwanted fonts from dropdown listHi,
As long as you are using a child theme; then we can place a function in there. The idea is we have to make a new list of fonts; removing the ones we don’t want to keep. There isn’t a way to just remove one… instead; we re-write the list to include all but the ones we don’t want.
Here is the function:
function remove_unwanted_fonts_from_dropdown($init) { // First, we must define a list of the default fonts // This is where you want to remove the fonts you don't want // Make sure to delete everything between the semi-colons $default_fonts = isset($init['font_formats']) ? $init['font_formats'] : 'Andale Mono=andale mono,times;Arial=arial,helvetica,sans-serif;Arial Black=arial black,avant garde;Book Antiqua=book antiqua,palatino;Comic Sans MS=comic sans ms,sans-serif;Courier New=courier new,courier;Georgia=georgia,palatino;Helvetica=helvetica;Impact=impact,chicago;Symbol=symbol;Tahoma=tahoma,arial,helvetica,sans-serif;Terminal=terminal,monaco;Times New Roman=times new roman,times;Trebuchet MS=trebuchet ms,geneva;Verdana=verdana,geneva;Webdings=webdings;Wingdings=wingdings,zapf dingbats'; // Now we add our new fonts back to the $init variable $init['font_formats'] = $default_fonts ; // Be sure to return the $init variable return $init; } add_filter('tiny_mce_before_init', 'remove_unwanted_fonts_from_dropdown');Forum: Plugins
In reply to: [WP Edit] Why the WP edit PHP widget disappeared in ver. 3.4??Hello,
I very much apologize for the inconvenience.You can download the last version of WP Edit (3.3) here:
https://wordpress.org/plugins/wp-edit/developers/Delete the updated version (3.4)… and install version 3.3.
Since the PHP widget was the only item removed…. it won’t affect any of the other functionality.
The PHP widget was removed because of a security risk. WP Edit is used across multiple setups.. and not everyone wanted site administrators to be able to access PHP.
Now.. since you will be using version 3.3… it means whenever you update WP Edit, those changes will be lost.
I would recommend finding a plugin that serves only to add PHP widgets; and copy over your widgets. Here is one from the repo:
https://wordpress.org/plugins/php-code-widget/Please let me know if I may be of any further assistance.
Forum: Plugins
In reply to: [WP Edit] Possible future issue due to PHP change that is planned ?Just a quick update.
I have removed the PHP widgets in version 3.4 of WP Edit. This will also solve the older PHP construct usage. I could have updated the class construct… but I think this PHP Widget option is a little dangerous, and I feel better removing it entirely from the plugin.
Thanks again.
Forum: Plugins
In reply to: [WP Edit] Changing between Visual and Text modesHello; sorry for my delay. Been swamped with updates lately.
If you are unable to switch between editors; then most likely there is a javascript error on the page somewhere. You’ll need to troubleshoot what is causing the error.
Please read the following article I wrote:
http://learn.wpeditpro.com/troubleshoot-blank-wordpress-editor/Although your editor is not blank… it is still related.
Another option would be to diagnose the javascript via your browser. There is an article here:
https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_ErrorsIf you find any errors; let me know and I’ll try to help find their origin.
Forum: Plugins
In reply to: [WP Edit] Ability to change width/margins?Thanks, my friend.
Forum: Plugins
In reply to: [WP Edit] Possible future issue due to PHP change that is planned ?Hi Michael,
Thanks… yes, this has been brought to my attention. The issue is coming from the PHP Widgets option; which is using the older PHP 4 style constructor.
This feature of WP Edit is a little risky; as it can allow users to enter PHP code (although they have to have the “manage_options” capability).
I think I will just remove the PHP Widgets from WP Edit. I have already removed it from the Pro version; which will be updated this weekend.
I’ll also update WP Edit before then (it’s a quick adjustment)… and get it pushed to the repo today or tomorrow.
Again, thanks for the heads up!
Forum: Plugins
In reply to: [WP Edit] Ability to change width/margins?Hi,
Well, there isn’t currently a way to easily do specifically that…. but…
You can easily accomplish it by adding a little custom CSS to the page in question.
Do you know how to add custom CSS to your site?
Do you have a link to the page in question?Forum: Plugins
In reply to: [WP Edit] WP Edit bar disappearLol… quite all right. Trust me; you are not the first and certainly won’t be the last!
That button has been my nemesis ever since I began this plugin 😉
Please have a wonderful day.
Forum: Fixing WordPress
In reply to: woocommerce _order_key and post_passwordThese questions might get better exposure if you asked them on the WordPress WooCommerce plugin support page:
https://wordpress.org/support/plugin/woocommerce(I’ve also tagged this post with “woocommerce”)
Forum: Fixing WordPress
In reply to: Menu ColorDid you get it figured out? It’s “red” now?
Forum: Fixing WordPress
In reply to: No data received ERR_EMPTY_RESPONSEWho is your hosting provider? Go Daddy??
Forum: Fixing WordPress
In reply to: Can;t get into the dashboardGreat!
Glad you got it working properly.
Congrats 🙂