{"id":171,"date":"2014-05-27T23:33:18","date_gmt":"2014-05-27T17:33:18","guid":{"rendered":"http:\/\/promincproductions.com\/blog\/?p=171"},"modified":"2014-05-31T20:54:13","modified_gmt":"2014-05-31T14:54:13","slug":"wordpress-edit-image-button-post-hover-disappeared","status":"publish","type":"post","link":"https:\/\/promincproductions.com\/blog\/wordpress-edit-image-button-post-hover-disappeared\/","title":{"rendered":"WordPress &#8211; Edit Image Button in Post on Hover Disappeared"},"content":{"rendered":"<p>Ok, this one was driving me nuts&#8230; \u00a0So I&#8217;m in WordPress, well this site&#8217;s admin actually, trying to edit a post and the Edit \/ Delete Image buttons for when you hover over an image that is already in your post wasn&#8217;t showing. \u00a0At first I just blew it off, but then this really started to irk me&#8230; I really missed this button!<\/p>\n<figure id=\"attachment_172\" aria-describedby=\"caption-attachment-172\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-26-at-10.31.41-AM.png\" data-lasso-id=\"120\" data-rel=\"lightbox-gallery-7EhGZEI1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" class=\"size-medium wp-image-172\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-26-at-10.31.41-AM-500x312.png\" alt=\"This is what I was seeing - clicking on an image would highlight it, but the edit and delete buttons are gone.  The code is gone too if you inspect the page!\" width=\"500\" height=\"312\" \/><\/a><figcaption id=\"caption-attachment-172\" class=\"wp-caption-text\">This is what I was seeing &#8211; clicking on an image would highlight it, but the edit and delete buttons are gone. The code is gone too if you inspect the page!<\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_173\" aria-describedby=\"caption-attachment-173\" style=\"width: 500px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-26-at-11.35.03-AM.png\" data-lasso-id=\"121\" data-rel=\"lightbox-gallery-7EhGZEI1\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img decoding=\"async\" class=\"size-medium wp-image-173\" src=\"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-26-at-11.35.03-AM-500x312.png\" alt=\"This was a fresh install of WordPress 3.9.1 and the Edit Image and Delete Image buttons appear when you select and hover over the image as expected.\" width=\"500\" height=\"312\" \/><\/a><figcaption id=\"caption-attachment-173\" class=\"wp-caption-text\">This was a fresh install of WordPress 3.9.1 and the Edit Image and Delete Image buttons appear when you select and hover over the image as expected.<\/figcaption><\/figure>\n<h2>Remedies I tried (but they failed):<\/h2>\n<ul>\n<li>Installed a clean copy of WordPress 3.9.1 to ensure that this button still existed<\/li>\n<li>Compared database tables in my newly installed WordPress 3.9.1 to this installation and didn&#8217;t see anything out of place<\/li>\n<li>I did some Googleing (of course) and found some threads that implied that a plugin I&#8217;m using, <a href=\"http:\/\/www.laptoptips.ca\/projects\/tinymce-advanced\/\" target=\"_blank\" data-lasso-id=\"122\" rel=\"noopener\">TinyMCEAdvanced<\/a>, was the problem. \u00a0The simple answer is no, this is not the problem.\n<ul>\n<li>I tried deactivating the plugin<\/li>\n<li>I tried changing plugin options<\/li>\n<li>I looked through the plugin code for anything obvious<\/li>\n<li>I didn&#8217;t uninstall the plugin, but that was my next step&#8230;<\/li>\n<\/ul>\n<\/li>\n<li>I looked through every WordPress option I could find, including the <a href=\"https:\/\/promincproductions.com\/blog\/wordpress-configuration-page\/\" target=\"_blank\" data-lasso-id=\"123\" rel=\"noopener\">hidden options page I talk about in this post<\/a>.<\/li>\n<\/ul>\n<h2>The solution:<\/h2>\n<p>This was a palm-to-face moment for me&#8230; \u00a0Mainly because I hadn&#8217;t thought to try this one yet. \u00a0But the culprit was a plugin that I forgot I had installed and missed every time I looked through the plugin list to see if one of those were the culprit&#8230;. \u00a0The plugin was <a href=\"http:\/\/subinsb.com\/posting-code-blocks-on-wordpress\" target=\"_blank\" data-lasso-id=\"124\" rel=\"noopener\">Code Blocks<\/a>. <em><strong>(EDIT: This plugin is no longer an issue as of version 0.3 &#8211; see the update below)<\/strong><\/em> \u00a0I was using this to add blocks of code to the site. \u00a0It was simply adding some HTML code to a section of the post that I wanted styled as code, and would style it in the editor as well which was nice. \u00a0But I&#8217;m quite certain there are others out there that will do this as well, and I&#8217;ll have to find a replacement for it later tonight. \u00a0Thankfully with the plugin deactivated it still displays the posts to the viewers correctly.<\/p>\n<h2>Moral of the story:<\/h2>\n<p>The bottom line, is that when you run into strange issues in WordPress, start to break it down with what might be the source of the problem. \u00a0Most of the time, it&#8217;s a plugin that is affecting how things operate. \u00a0That is the rabbit hole path I took to find the solution, but I got too distracted by one or two random old threads that implied that might be the issue that I overlooked the simple and obvious one &#8211; the\u00a0<em>other<\/em> plugin that is affecting the WordPress Post Editor tools.<\/p>\n<h2>Update:<\/h2>\n<p>Thank you to\u00a0Subin Siby for fixing the bug in the plugin. \u00a0See his comment below. \u00a0I tested out the new version and it works perfectly! \u00a0And this is good, because I did look for a replacement plugin but couldn&#8217;t find a quality option. \u00a0There are some cool plugins and methods\u00a0that do code highlighting, but they are all more effort than Subin Siby&#8217;s\u00a0<strong>Code Blocks<\/strong> plugin. \u00a0I may look at\u00a0code highlighting options in the future, but for now this serves my purpose well! \u00a0(and actually many of the code highlighting options use similar methods as\u00a0<strong>Code Blocks<\/strong> in that it uses &lt;pre&gt;&lt;code&gt; tags with extra parameters. \u00a0So the two could mix well if needed.)<\/p>","protected":false},"excerpt":{"rendered":"<p>Ok, this one was driving me nuts&#8230; \u00a0So I&#8217;m in WordPress, well this site&#8217;s admin actually, trying to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":173,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wprm-recipe-roundup-name":"","wprm-recipe-roundup-description":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[9],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-development"],"jetpack_featured_media_url":"https:\/\/promincproductions.com\/blog\/wp-content\/uploads\/2014\/05\/Screen-Shot-2014-05-26-at-11.35.03-AM.png","jetpack_shortlink":"https:\/\/wp.me\/p4BbcR-2L","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":6,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"predecessor-version":[{"id":199,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions\/199"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media\/173"}],"wp:attachment":[{"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/promincproductions.com\/blog\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}