Is this plugin still being maintained? It was last updated over a year ago.
]]>hello ,
please i need to add dynamic ads for ACF ( advanced custom fields )
just like the normal short code from elementor it support this option but sadly it doesn’t run the code
i wonder if there’s a way to add acf input in the widget so i can add codes dynamically ?
thanks in advance
]]>Hallo,
first of all: Thanks for the great plugin. It really works fine.
My question: Is it possible to use an icon in the title? I’ve tried for example
[span class=refresh][/span]Aktuelles
but it is displayed like in the line above – not with the desired icon. (A class-definition for “refresh” is written in the style.css)
Any idea how to fix this? Or another idea how to make an icon appear?
Thanks for your help and kind regards
Matta
Hello there,
Thank you for the useful plugin. Your plugin started showing a presistent annoying advetisement after the latest update, your update changelog shows “Refactoring and fixes” while it also adds advetisement.
“Worried about conversion rates??? No worries,?? Install Simple Sticky Add To Cart For WooCommerce to increase the conversion rate of product page.”
The dismiss button for this notice does not work and it’s an annoyance.
PAVEL
]]>After updating from PHP 7.4.26 to PHP 8.0.13, our site is busted with this error from PHP Code Widget:
Fatal error: Uncaught Error: Call to undefined function create_function() in [...]/wp-content/plugins/php-code-widget/execphp.php
Wordpress and all plugins including this one are fully updated.
Thanks much, and we look forward to a patch.
]]>I am using it with the Elementor plugin. It’s working fine inside the builder and on-page if I check as admin.
If I check as a normal user in a private window, it just prints out the PHP with opening and closing PHP tags, rather than executing it.
]]>Hi, i at Widget config (appearance > Widget), i have added Code Widget and aded PHP and HTML code, but unable to save it, even cant update the Title.
code widget version: 1.0.14
]]>Safari 15.0
MacOS Big Sur 11.6
SIDEBAR: PRIME STUDENT € 10 Euro di Sconto
Widget don’t Work Short, Php, Html.
Work only Text.
Why?
How can this be solved?
Thanks
Paul
]]>Hi!
My logs get clogged.
PHP Deprecated: Function create_function() is deprecated in /blah/plugins/php-code-widget/execphp.php on line 62
Any chance for an update?
]]>Hi, I’m glad to have found this plugin to implement small solutions directly.
Just installed it, but when editing a page I don’t see a menu (like on the screenshots) in the sidebar (and also not below the editor).
It is enabled and I am superuser / admin.
Where can I find the menu of the plugin?
Best regards … Horst
]]>Hello there,
Thank you for the useful plugin. Your plugin started showing a presistent annoying advetisement after the latest update, your update changelog shows “Refactoring and fixes” while it also adds advetisement.
“Worried about conversion rates??? No worries,?? Install Simple Sticky Add To Cart For WooCommerce to increase the conversion rate of product page.”
The dismiss button for this notice does not work and it’s an annoyance, I had to manually search my entire code base for the lines to find out which plugin was causing this and then manually remove lines 399 – 421 from the file: class-code-widget.php
As you can imagine having to edit core code in a live website isn’t the best solution, I’d appreciate placing such changes in your changelog so that if we’re to update we’re prepared to make necessary fixes, if any.
I do not mind subtle advertisement to help support plugin authors, but presistent advertising that cannot be dismissed is a bad choice.
Thanks!
]]>Hello,
I would like to update my version of PHP but I have not found the info here.
Thank you for letting me know.
When the code
<?php include( 'https://******/wp-content/themes/themename/doc-display.php' ) ; ?>
The content of the file is not included
]]>Hi
I have a pretty standard bit of code that’s not displaying properly, regardless if I use the “PHP” or the “HTML” option in the widgget.
<?php if( get_field('datasheet') ): ?>
<p><i class="fa fa-file" aria-hidden="true"></i> <a href="<?php the_field('datasheet'); ?>" target="_blank">Data Sheet</a></p>
<?php endif; ?>
Can you combine the html and the php in one widget?
]]>Greetings, when you update this next (soon, hopefully!) please allow the ‘Title’ field to be blank OR ideally, a checkbox to ‘not display title’.
If I remove the default placeholder text of ‘new title’ I can get the title to NOT display on the site (which is what I want, for no title to be shown), the words still remain in the back-end Widgets overview screen. It would be nice if I could use the title field so in the back end I know what the Widget is for, but we don’t want a title displayed on the front-end. Thanks!
]]>Hello, My website had a technical issues and generated a error email. Plugin is currently disabled. Can you look at the info below and see if you can spot anything I need to fix?
FROM EMAIL:
When seeking help with this issue, you may be asked for some of the following information:
WordPress version 5.5.3
Current theme: Flatsome Child (version 3.0)
Current plugin: Code Widget (version 1.0.7)
PHP version 7.4.10
Error Details
=============
An error of type E_ERROR was caused in line 53 of the file /home/aftermarket/public_html/wp-content/plugins/code-widget/class-code-widget.php. Error message: Uncaught Error: Call to undefined method Code_Widget::deactivate_feedback() in /home/aftermarket/public_html/wp-content/plugins/code-widget/class-code-widget.php:53
Stack trace:
#0 /home/aftermarket/public_html/wp-includes/class-wp-widget-factory.php(61): Code_Widget->__construct()
#1 /home/aftermarket/public_html/wp-includes/widgets.php(115): WP_Widget_Factory->register(‘Code_Widget’)
#2 /home/aftermarket/public_html/wp-content/plugins/code-widget/class-code-widget.php(380): register_widget(‘Code_Widget’)
#3 /home/aftermarket/public_html/wp-includes/class-wp-hook.php(287): register_code_widget(”)
#4 /home/aftermarket/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array)
#5 /home/aftermarket/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#6 /home/aftermarket/public_html/wp-includes/widgets.php(1773): do_action(‘widgets_init’)
#7 /home/aftermarket/public_html/wp-includes/class-wp-hook.php(287): wp_widgets_init(”)
#8 /home/aftermarket/public_html/wp-includes/cla
I just updated the plugin to version 1.0.7 and it caused a critical error on my website. I am running PHP 7.4.13 on WordPress 5.5.3. I currently have the plugin deactivated. Reactivating the plugin results in the critical error again. Please address this issue as soon as possible. Thank you.
Version 1.0.7 | By Sharaz Shahid | View details
This plugin failed to load properly and is paused during recovery mode.
An error of type E_ERROR was caused in line 53 of the file /chroot/home/xxxx/xxxx/public_html/wp-content/plugins/code-widget/class-code-widget.php. Error message: Uncaught Error: Call to undefined method Code_Widget::deactivate_feedback() in /chroot/home/xxxx/xxxx/public_html/wp-content/plugins/code-widget/class-code-widget.php:53 Stack trace: #0 /chroot/home/xxxx/xxxx/public_html/wp-includes/class-wp-widget-factory.php(61): Code_Widget->__construct() #1 /chroot/home/xxxx/xxxx/public_html/wp-includes/widgets.php(115): WP_Widget_Factory->register() #2 /chroot/home/xxxx/xxxx/public_html/wp-content/plugins/code-widget/class-code-widget.php(380): register_widget() #3 /chroot/home/xxxx/xxxx/public_html/wp-includes/class-wp-hook.php(287): register_code_widget() #4 /chroot/home/xxxx/xxxx/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters() #5 /chroot/home/xxxx/xxxx/public_html/wp-includes/plugin.php(478): WP_Hook->do_action() #6 /chroot/home/xxxx/xxxx/public_html/wp-includes/widgets.php(1773): do_action() #7 /chroot/home/xxxx/xxxx/public_html/wp-includes/class-wp-hook.php(287)
]]>
Dear Mr Shahid,
Thank you for including this widget for www.ads-software.com.
My question is why does the code widget display as code instead of as per code widget for mobile? I have included the following code as a link (“Send Request”) to pass URL parameters to a URL running WP Forms, and it works beautifully on a web browser but not when viewed on mobile. Any help is very much appreciated.
URL: https://divineautomation.com.au/new/product/siemens-rack-pc/
Widget Type : php code
Code:
<?php
preg_match(“/<h1 ?.*>(.*)<\/h1>/”, file_get_contents(“https://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]”), $matches);
echo ‘<a href=”‘;
echo esc_url(
add_query_arg( array(
‘wpf3695_2’ => ‘Request for Quotation’,
‘wpf3695_4’ => ‘Please send the latest pricing for ‘.$matches[1],
), site_url( ‘/services/’ ) )
);
echo ‘”> Send Request‘;
?>
]]>Plugin forces me to have something in title field, or default adds “New title”
Also, cant parse php in Title field.
]]>It causes error on installation. Doesn’t have valid header
]]>Hi,
Great plugin, but note that create_function() is deprecated as of PHP 7.2. I’m getting this PHP warning in 7.3:
Deprecated: Function create_function() is deprecated in *****/wp-content/plugins/php-code-widget/execphp.php on line 62
Can you update?
Thanks,
Brian