Good day!
I really like the Hana Code Insert plugin.
But I was faced with the following problem.
I need to access this plug-in was only at the Administrator.
In wordpress there are 5 roles:
Administrator, Editor, Author, Contributor, Subscriber.
I have a user with “Contributor”. It is necessary that he could not see this plugin.
Or, I want the user could not configure the plugin, when it comes to the admin panel
In the standard version, unfortunately, possible.
Please tell me how to solve my problem?
It is possible to tell me step by step.
And, if possible, with screenshots.
Just updated and getting a blank editor window – disabled Hana Code Insert and it’s working again. I suspect this is due to security tightening with the latest build as this plugin is pretty powerful in terms of injecting code!
]]>Нужен этот плагин или его замена для совместимости с версией 4.2.2
]]>I have built this website with two installations of WordPress, one in English and one in French(dashboard is all in french etc). Now it all worked fine when it was created in the summer but now for some reason it is not working on the french installation.
I am using it in conjunction with KML Flash Embed to display a simple flash. It’s not KML Flash that is the issue as I have also had to remove the hana code from another double site french/english installation and the same thing happened but in this case it was with Paypal button code not a flash.
Please get back to me soon.
Thank you,
Site French : https://placelaseigneurie.com/terrains-prix/
Site English : https://placelaseigneurie.com/en/lots-pricing/
I’ve noticed with using Headway Themes theme template your shortcodes won’t work in the sidebar with widgets. Not a big deal just letting you know
]]>I love Hanna Code Insert. In a couple minutes, I am linking my Javascript code (edited in Sublime Text 2) to my web pages to add custom functionality and eliminate the need for so many “overly functional” and complicated plug-ins.
The problem is, I really want to link to a PHP file, so that I can edit in Sublime Text 2 and when I save, CodeKit 2 will reload my page. The problem is, whenever I add the following code:
<?php
include("https://[obscured]/wp-content/themes/emre/php/addRWTBDtoLibrary.php");
?>
I receive:
[ hana-code-insert ] 'Add RWTBD to user library' is not found
I am entering the shortcode as it appears and I have tried with and without <?php ?>
tags. I also have no problem when using a simple echo, and adding an echo to the code above doesn’t fix the problem. Is this just a limitation of the functionality of Hanna Code or is there something I may not be doing right?
Hi there, any possibilities that this will be updated any time soon to work with version 3.9.1? Or of course if there is something I am missing – it works on my other site on 3.5.2 so I have made quite a big assumption that it is a compatibility issue.
Thank you!
]]>This may not be the intended technical usage of this plugin…but all I am trying to do is display an image. The theme that I am stuck in using puts a border around all images. It looks horrible and I am too much of a newbie to know how to fix or change this. I have created an image link as follows:
<img src="https://www.watchgeekwear.com/wp- content/uploads/2014/06/Watch-This-Video-8-Big.png?">
This is inside of:
[hana-code-insert name='WatchVideoBW' /]
When I display the page, it just shows a broken image.
As I said, I am a newbie here…so I must be missing something really simple here.
Also, if I can manage to figure this out, will that annoying damn border around images be gone?
Thank you.
]]>The use of rss.php is deprecated please consider applying the following patch.
diff U3w wpmarketing_feed.php wpmarketing_feed.php
--- wpmarketing_feed.php Sat Jun 01 19:47:30 2013
+++ wpmarketing_feed.php Fri Mar 14 14:05:44 2014
@@ -39,18 +39,19 @@
extract( $args, EXTR_SKIP );
echo $before_widget.$before_title.$widget_name.$after_title;
echo '<a href="https://wpmarketing.org/"><img style="margin: 0 0 5px 5px;" src="https://wpmarketing.org/image/wpmarketing_rss.png" align="right" alt="WPMarketing.org"/></a>';
- include_once(ABSPATH . WPINC . '/rss.php');
- $rss = fetch_rss('https://wpmarketing.org/feed/');
+ include_once(ABSPATH . WPINC . '/feed.php');
+ $rss = fetch_feed('https://wpmarketing.org/feed/');
if ($rss) {
- $items = array_slice($rss->items, 0, 2);
+ $items = $rss->get_items( 0, 2 );
+
if (empty($items))
echo 'No items';
else {
foreach ( $items as $item ) { ?>
- <p><a style="font-size: 12px; font-weight:bold; text-decoration:underline" href='<?php echo $item['link']; ?>' title='<?php echo $item['title']; ?>'><?php echo $item['title']; ?></a><br/>
- <span style="font-size: 10px; color: #aaa;"><?php echo date('j F Y',strtotime($item['pubdate'])); ?></span>
- <?php echo substr($item['summary'],0,170) . '...'; ?></p>
+ <p><a style="font-size: 12px; font-weight:bold; text-decoration:underline" href='<?php echo $item->get_link(); ?>' title='<?php echo $item->get_title(); ?>'><?php $item->get_title(); ?></a><br/>
+ <span style="font-size: 10px; color: #aaa;"><?php echo $item->get_date('j F Y'); ?></span>
+ <?php echo substr($item->get_description(),0,170) . '...'; ?></p>
<?php }
}
]]>
Im using this code to add very long code snipets into posts. I added 11 code examples but for some reason it will not let me add any more than 11. Is it not possible to add any more instances of hana code on one website? If it is, what has gone wrong?
You can see what I’m doing at https://dazzlesnap.com
Please let me know asap as the client is in a bit of a hurry.
Thanks!
]]>Hello,
it seems not to be possible to insert a code more than once per post/page?
Thank you!
Endymion68
]]>Hi,
On sll my pages hana code is working, but not on the below one. Any idea why?
https://www.ruzzleonline.nl/ruzzle-highscores/
Kind regards,
Willem
]]>Hi,
I have been troubleshooting as to why the Soliloquy Slider plugin seemed to fail when trying to add new images. When clicking on the ‘add new images’ button, nothing would happen. I checked the error in Chromes Console and it gave me the following:
Uncaught ReferenceError: QTags is not defined
I then disabled all plugins one-by-one to locate the plugin that was causing the JS error, and found that it was the Hana Code one. I have been a huge fan of the plugin for a while now and have used it to embed over 100 videos into some of my sites in the past, so would hate to stop using it.
Do you have any idea as to why it would prevent JS from being executed in other plugins? Here is the conversation I had with the dev for Soliloquy which may help troubleshoot. Comments at bottom of page
Richard
]]>Shown but not work
]]>Hi-
Hana started getting very slow when loading the page to edit entries. Now it displays a fatal memory error when trying to update or add entries.
Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 8516437 bytes) in /home/content/m/i/l/site/html/wordpress/wp-includes/functions.php on line 734
The plugin still works (hana code is displayed correctly on pages), but can no longer edit and update the code in the plugin.
]]>Hi, this plug-in is great but i’m having a problem that I hope someone can help me.
I’m embeding widgets with this application with no problem, but when i try it with netvibes apps they just don’t work. I’d like to put this widget on my blog (in post area) https://es.eco.netvibes.com/apps/388524/new-york-times-widget-www-roma-ws but when i do the post appears in blank.
Any solution?
Thanks a lot.(excuse me for my English)
]]>Remember, you have only 10 code to use. Is it enough for you?
]]>I have been using this plugin for a while, it works great, but I only recently noticed that it inserts a dashboard widget promoting the creator’s blog. This also appears on the dashboard of subscribers.
This is not documented anywhere, certainly not in the repository notes, which is all that most people will read, and furthermore cannot be removed. This is sneaky, I don’t like it. I am sure I can find another plugin with the same functionality but without this ‘feature’.
]]>Hana’s primary functionality works, but the TinyMCE / WYSIWYG editor button is just there; it doesn’t do popup or do anything.
It does not work in Widgets.
It breaks WP’s auto-save and the post’s/page’s title-based link creator, although you can still manually click “Save Draft” or “Publish”.
This plugin is exactly what I want, but it’s breaking of autosave is too much risk–I’ve lost a couple posts in a short amount of time.
PLEASE update Hana for WP 3.0.1! Thanks!
]]>