<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Programming Tips Archives - Ideas and Pixels</title>
	<atom:link href="https://www.ideasandpixels.com/articles/category/programming-tips/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.ideasandpixels.com/articles/category/programming-tips/</link>
	<description>The Best Cincinnati Web Design Agency</description>
	<lastBuildDate>Thu, 21 Jun 2018 23:12:56 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Elementor: How To Make A Column or Section A Link</title>
		<link>https://www.ideasandpixels.com/articles/elementor-how-to-make-a-column-or-section-a-link/</link>
					<comments>https://www.ideasandpixels.com/articles/elementor-how-to-make-a-column-or-section-a-link/#respond</comments>
		
		<dc:creator><![CDATA[ideasandpixels]]></dc:creator>
		<pubDate>Thu, 21 Jun 2018 23:12:56 +0000</pubDate>
				<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<guid isPermaLink="false">https://ideasandpixels.com/?p=2825</guid>

					<description><![CDATA[<p>Elementor can do some wonderful things, but there are a few places where it still falls short. As a quicktip, I wanted to share how to make an entire column...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/elementor-how-to-make-a-column-or-section-a-link/">Elementor: How To Make A Column or Section A Link</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Elementor can do some wonderful things, but there are a few places where it still falls short. As a quicktip, I wanted to share how to make an entire column or section in Elementor for WordPress clickable. It&#8217;s as easy as three lines of code!</p>
<p>Here&#8217;s an easy jQuery fix for anyone having trouble making columns or sections links. Just give your column a class of &#8220;click-child&#8221;, then add this code:</p>
<p><code>jQuery(document).ready(function() { jQuery("body").on("click", ".click-child", function() { var href = jQuery(this).find("a").attr('href'); window.location = href; }); });</code></p>
<p>It&#8217;s really that easy. Be sure to include jQuery on your site prior to enqueueing this code to avoid errors.</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/elementor-how-to-make-a-column-or-section-a-link/">Elementor: How To Make A Column or Section A Link</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/elementor-how-to-make-a-column-or-section-a-link/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Elementor Template Element: Basically get_template_part() As An Elementor Widget</title>
		<link>https://www.ideasandpixels.com/articles/elementor-template-element-theme-widget/</link>
					<comments>https://www.ideasandpixels.com/articles/elementor-template-element-theme-widget/#respond</comments>
		
		<dc:creator><![CDATA[Allen Gingrich]]></dc:creator>
		<pubDate>Sat, 17 Mar 2018 17:39:44 +0000</pubDate>
				<category><![CDATA[Free Stuff]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<guid isPermaLink="false">https://ideasandpixels.com/?p=2817</guid>

					<description><![CDATA[<p>I&#8217;ve recently picked up Elementor after watching from the sidelines for the last two years. This page builder, which once was lost in a crowd, has found itself, and in...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/elementor-template-element-theme-widget/">Elementor Template Element: Basically get_template_part() As An Elementor Widget</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve recently picked up Elementor after watching from the sidelines for the last two years. This page builder, which once was lost in a crowd, has found itself, and in my opinion, is approaching top status, in terms of overtaking Visual Composer (what do they call it now?)</p>
<p>I did find a few features lacking though. Things that should probably be built in are still missing, but hey, I&#8217;m sure they&#8217;ll get to it eventually. I guess I could get off my ass and contribute, as well.</p>
<p>Here&#8217;s my contribution. A simple plugin that allows you to select a theme template file from an Elementor widget and embed it in your Elementor document. I think it&#8217;s best to stay in Elementor the whole time, if possible, but there are some instances when it really slows you down (for more complex sections). This allows you to bypass that and develop the good old fashioned way. Enjoy!</p>
<p><a href="https://ideasandpixels.com/wp-content/uploads/2018/03/elementor-template-widget.zip">Click here to download Elementor Template Element</a></p>
<p>The post <a href="https://www.ideasandpixels.com/articles/elementor-template-element-theme-widget/">Elementor Template Element: Basically get_template_part() As An Elementor Widget</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/elementor-template-element-theme-widget/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>When Will WordPress Be Overhauled (or Rewritten)?</title>
		<link>https://www.ideasandpixels.com/articles/will-wordpress-overhauled-rewritten/</link>
					<comments>https://www.ideasandpixels.com/articles/will-wordpress-overhauled-rewritten/#respond</comments>
		
		<dc:creator><![CDATA[ideasandpixels]]></dc:creator>
		<pubDate>Sat, 10 Mar 2018 03:52:41 +0000</pubDate>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://ideasandpixels.com/?p=2811</guid>

					<description><![CDATA[<p>This is a question I&#8217;ve been seeing since early this decade. WordPress has been around for a long time. Like, almost two decades ago long. I remember playing around with...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/will-wordpress-overhauled-rewritten/">When Will WordPress Be Overhauled (or Rewritten)?</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>This is a question I&#8217;ve been seeing since <em>early this decade</em>. <a href="https://wordpress.org/" target="_blank" rel="noopener">WordPress</a> has been around for a long time. Like, almost two decades ago long. I remember playing around with WordPress for the first time in high school. It was in 2004, I was a 90&#8217;s (1989 actually!) kid in love with video games, and I liked one in particular called Asheron&#8217;s Call. I started seeing the first &#8220;fansites&#8221; for games popping up around the web and I decided I needed my own to truly pay homage to the game. First came a lot of learning HTML tables, then came WordPress, which made it all make sense (still with HTML tables).</p>
<p>I&#8217;ve used WordPress ever since. Fast-forward to today, and I would venture to say I&#8217;ve probably made just south of half a million dollars on WordPress&#8217;s back (and I&#8217;m only 29). It&#8217;s been a godsend to me and my family (it&#8217;s allowed me to build a family, even as a third year college dropout) and the constant shortcuts with plugins and hooks and <a href="https://wpshout.com/wordpress-event-system-understanding-hooks/" target="_blank" rel="noopener">the event driven infrastructure</a> that make it so unique (and that *<em>real developers*</em> love to rag on) has a real place in my heart. If WordPress never changed, I probably wouldn&#8217;t care. WordPress is possible only because of it&#8217;s almost always backwards compatible implementation. This has allowed websites to trust the platform and build with longevity in mind.</p>
<h2>WordPress rebuild on Node.js</h2>
<p>There were whispers throughout the community in the early part of the decade about <a href="http://wesbos.com/wordpress-calypso-react/" target="_blank" rel="noopener">WordPress development transitioning to Node.js</a>. While I, too, was fascinated by Node at the time, I knew there was no way that a backwards compatible software like WordPress would make such a drastic change. Especially when that change would feature both a complete language and architecture overhaul. It couldn&#8217;t happen. It wouldn&#8217;t happen. It was then that I understood that WordPress will exist for a long time in the same code base it always has. And that&#8217;s not such a bad thing, really.</p>
<h2>Will WordPress ever be overhauled? What should be changed?</h2>
<h3>WordPress probably will never be overhauled entirely. It will transition to the API as an option at first, then as a requirement over time.</h3>
<p>Does it have to be a code structure overhaul? Do we need to implement more modern standards if the ones we have facilitate us so well? I don&#8217;t think so. But I do think we can already see the future of WordPress by looking at the API system. The API is clearly a big part of how things will transition in the future. You see it with the API integration in <a href="https://developer.wordpress.com/calypso/" target="_blank" rel="noopener">WordPress.com and Calypso</a>. This is clearly the way things are heading. And I like it. It&#8217;s going to give us the ability to add an optional layer on top of our working infrastructure.</p>
<h3>Gutenberg is also a great step.</h3>
<p>Gutenberg fits in great with the trend that many WordPress developers have been going to as of late: using a pagebuilder plugin for content and structure management. While I was initially resistant to this, instead favoring an Advanced Custom Fields with Custom Post Types approach, I realize that I was wasting a lot of time creating interfaces that really didn&#8217;t need to be created in the first place. I tried implementing Visual Composer on a site from scratch and it actually went pretty well. Then I tried <a href="https://elementor.com/" target="_blank" rel="noopener">Elementor</a> and I was blown away. It didn&#8217;t feel <em>hacked together</em> like the other pagebuilders I had researched and tried (looking at you especially, Cornerstone). After building a few sites with it, it&#8217;s become clear to me that this is the future of WordPress development, whether I liked it or not.</p>
<h3>One thing truly needs change: <em>the post-based content system</em>.</h3>
<p>While the uses of which are very clever and rather broad, the fact that every bit of content that goes into WordPress is stored as a post is clue enough that the platform&#8217;s blog roots are still the heart of everything. But to be honest, 80% of the sites I build for clients don&#8217;t even use the default Post post type at all. It just sits there or we hide it with another plugin.</p>
<p>This, and the merging of very unlike pieces of data in database tables, will always limit WordPress&#8217; ability to be a full CMS without the help of many advanced plugins. WordPress is essentially is a mail boy who moonlights as a CEO. It&#8217;s built to write blog posts, but most of the time it runs entire websites. In fact, I&#8217;ve only made a handful of blog-only sites myself in all my years working with it. It&#8217;s a very understandable problem that it has, given the origins of the platform, but that doesn&#8217;t mean we must live with it forever.</p>
<h2>Conclusion</h2>
<p>For WordPress to really live up to it&#8217;s full potential, it&#8217;s going to need to become more than it is. It&#8217;s going to take <a href="https://wordpress.org/gutenberg/" target="_blank" rel="noopener">Gutenberg</a>, and structure changes, and the full integration of ideas like Elementor (which is seems like Gutenberg is positioning us to move toward). Until then, I will still use it on every non-technical project my company gets, but I do hope for an even better future where we innovate while staying mindful of where we came from.</p>
<p>Thoughts? Opinions? Please comment below.</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/will-wordpress-overhauled-rewritten/">When Will WordPress Be Overhauled (or Rewritten)?</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/will-wordpress-overhauled-rewritten/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Fix WordPress Media Library Not Working</title>
		<link>https://www.ideasandpixels.com/articles/wordpress-media-library-not-working-solution/</link>
					<comments>https://www.ideasandpixels.com/articles/wordpress-media-library-not-working-solution/#comments</comments>
		
		<dc:creator><![CDATA[Matt Valvano]]></dc:creator>
		<pubDate>Sat, 28 Jan 2017 23:23:58 +0000</pubDate>
				<category><![CDATA[Miscellaneous]]></category>
		<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<guid isPermaLink="false">http://ideasandpixels.com/?p=1675</guid>

					<description><![CDATA[<p>Author Note: If you find this post helpful please share it and thank you for visiting our website! We hope we solve this headache for you and more updates have...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/wordpress-media-library-not-working-solution/">How To Fix WordPress Media Library Not Working</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Author Note:</strong> If you find this post helpful please share it and thank you for visiting our website! We hope we solve this headache for you and more updates have been added to this list on 2-12-2018. I&#8217;ll work on making a detailed step-by-step YouTube video soon.</p>
<p>When working with WordPress, you will find out fairly quick that it can be pretty sensitive during updates and host transfers. This may create tension with the main reasons why you chose to use WordPress for your website in the first place, for example our issue being the Media Library. Our problems occurred during a server transfer for one of our clients. We realized that a lot of people were having this same issue, but no one had truly addressed it. Below are the steps to take when you find the WordPress Media Library not working correctly.</p>
<p><strong>Problem | </strong><em>When trying to upload a new image to the WordPress Media Library it does not work.</em></p>
<p><strong>Steps we take to solve this problem: </strong><em>These steps were taken and could potentially work at any given step so, you need to see if your Media Library works after each one.</em></p>
<h2>Step By Step Guide Towards WordPress Media Library Not Working Properly With Solutions</h2>
<h4>WordPress 4.9.2 Media Library Not Working Fix:</h4>
<p>PLEASE NOTE: I have not tested this, but I found this for the 3.9+ media library not working and apparently it involves the WP_Image_Editor default to GD. Add this snippet of code your functions php file:</p>
<p><code>function ms_image_editor_default_to_gd( $editors ) {<br />
$gd_editor = 'WP_Image_Editor_GD';<br />
$editors = array_diff( $editors, array( $gd_editor ) );<br />
array_unshift( $editors, $gd_editor );<br />
return $editors;<br />
}<br />
add_filter( 'wp_image_editors', 'ms_image_editor_default_to_gd' );</code></p>
<p>Source <a href="https://github.com/getsource/default-to-gd" target="_blank" rel="nofollow">Default To GD</a></p>
<p>If this does not fix your WordPress library, delete the code you put into your functions php file (that is if you tried it) and follow this list of solutions that I have developed over the years!</p>
<p><strong>Step 1:</strong> Disable all of your plugins and test to see if your media library is working. <em>Now test to see if your Media Library is now functioning:</em> (If it is working then go through and activate each plugin one at a time and see which one it is breaking your media library, then do not use it. Likewise if this does not solve the problem go to the next step)</p>
<p><strong>Step 2:</strong> Log into your admin panel.</p>
<p><strong>Step 3:</strong> Go to Settings &gt; Media</p>
<p><strong>Step 4:</strong> In the first writable field (Store uploads in this folder) it will state that the Default is wp-content/uploads but, it will not register this as “True”.</p>
<p><strong>Step 5:</strong> Type “<em>wp-content/uploads</em>” within the field. (Also, make sure that &#8220;Full URL path to files&#8221; is blank.)</p>
<p><strong>Step 6:</strong> Click, Save Changes. <em>Now test to see if your Media Library is now functioning if not go to the next steps:</em></p>
<p><strong>Step 7:</strong> Open up your File Transfer Protocol or (FTP).</p>
<p><strong>Step 8:</strong> Go to your wp-content section. This will be listed within your sever at YOUR-SITE .COM/<strong>wp-content</strong>/</p>
<p><strong>Step 9:</strong> Right click or highlight your “uploads” folder. If you do not have one then create one and test to see if your Media Library is now functioning. You need to have a folder here at YOUR-SITE .COM/wp-content/<strong>uploads</strong>/</p>
<p><strong>Step 9 UPDATE ADDITIONS (1-25-2018):</strong> If you do have an &#8220;uploads&#8221; folder add a dash into the folder name by renaming it to &#8220;-uploads&#8221; and then making a new folder called &#8220;uploads&#8221;. If something is going on with the current folder this will let you know and your images will be backed up in the new folder called &#8220;-uploads&#8221;. Next copy/paste your image folders into the new &#8220;uploads&#8221; folder one at a time. If the old folder or a file in that folder was corrupt you will find out!</p>
<p><strong>Step 10:</strong> If you have an uploads folder already or created a new one lets investigate the folder permissions. In your FTP migrate to this folder and right click on the folder to select its “File Permissions”.</p>
<p><strong>Step 11:</strong> Set the Numeric Value to 755 or 777 (777 can present a security risk see details below). <em>Now test to see if your Media Library is now functioning if not go to the next steps:</em></p>
<p><strong>Step 12:</strong> Go back into WordPress.</p>
<p><strong>Step 13:</strong> Go back into Go to Settings &gt; Media</p>
<p><strong>Step 14: </strong>Uncheck “<em>Organize my uploads into month- and year-based folders</em>”.</p>
<p><strong>Step 15:</strong> Click, Save Changes. <em>Now test to see if your Media Library is now functioning if not go to the next steps:</em></p>
<p><strong>Step 16:</strong> Still have your hair? We will figure this out. Let&#8217;s Go back into your File Transfer Protocol or (FTP).</p>
<p><strong>Step 17:</strong> Right click or highlight your “<em>wp-content</em>” folder.</p>
<p><strong>Step 18:</strong> Select “<em>File Permissions</em>”.</p>
<p><strong>Step 19:</strong> Set the Numeric Value of this directory to CHMOD 744. <em>Now test to see if your Media Library is now functioning and hopefully it is by now.</em> Please note if your website is still down, it could potentially one of two things. The first being a plugin that you chose or created. Most free plugins do not take in consideration that your site matters. It is a pain, but do some research on the person who uploaded the theme and be sure that you check their reviews. The second reason could be due to some of your folder permissions &#8212; they might have been lost during a host transfer.</p>
<p><strong>Step 20: UPDATE ADDITIONS (2-12-2018):</strong> Sometimes you will require more memory with your host as WordPress eats up a lot (GoDaddy seems to have this issue and I highly recommend switching to <a href="http://www.bluehost.com/track/mattyval/" rel="noopener" target="_blank">Bluehost</a>). If you plan on staying with your host navigate to your wp-config file and add the following code:</p>
<p><code><br />
define( 'WP_MEMORY_LIMIT', '256M' );<br />
define( 'WP_MAX_MEMORY_LIMIT', '256M' );<br />
</code></p>
<p>If this does not work try to increase the memory in the .htacess file by navigating to it and typing in this code:</p>
<p><code>php_value memory_limit 256M</code></p>
<p>Still no luck? Let&#8217;s try to add the PHP.ini file. Keep in mind this file, by default, is hidden and you may need assistance from your hosting company. If you are using a program, like FileZilla, make sure the show hidden files box is checked (This file will be found in the same areas as the PHP.ini and wp-config files are located):</p>
<p><code>memory_limit = 256M ; Maximum amount of memory a script may consume (64MB)</code></p>
<p><strong>Step 21:</strong> If these solutions don&#8217;t work double check your .htaccess file and make sure this file matches with the theme you have installed on your site. Sometimes if this is not setup correctly it will re-write the path of the uploaded image. This is something you will have to investigate on your own and you can <a href="http://codex.wordpress.org/htaccess" rel="nofollow" target="blank">click here to fix your WordPress htaccess file</a>.</p>
<p><strong>Step 21 1/2:</strong>Have you recently transfer your website to a new host or copy a theme over to a host? Now your WordPress images are not showing? </p>
<p>Check your cPanel and make sure the database wp_ prefix&#8217;s are correctly labeled and has the correct pathing name(s).</p>
<p>This can easily happen with purchased themes or if you started a new host and accidentally altered the mislabeled a database &#8211; If your new database prefix&#8217;s do not match EXACTLY with your existing media file settings your images will not work.</p>
<p>Likewise, you could have easily missed keyed a 0 (the number) instead of a O (the letter). Ouch!</p>
<p><strong>Step 22:</strong> Before proceeding any further please contact your web developer or hosting provider &#8211; Sometimes you may have unforeseen issues during WordPress updates that can alter your websites core foundation code and/or table fields. At this point it is easier for a web developer with knowledge of command lines to comb through a website to find strings of code that are broken. If you feel comfortable for the next grind feel free to proceed to the Last Resorts at your own risk.</p>
<p><strong>Step 23:</strong>Try re-installing WordPress again, but <strong>STOP &#8211; Did you backup your website before you thought about re-installing?</strong> Make sure to do this first. After re-installing WordPress start importing your themes files and plugins. If these solutions still do not work, feel free to contact us and we will try to help.</p>
<p><strong>Why does this reinstalling WordPress work?</strong> Sometimes your downloaded files get corrupted or do not download at all. Normally it is easier to reinstall WordPress than to go through and find the corrupted or missing files.</p>
<p><strong>Be Cautious:</strong> Doing some of these steps could potentially open up your website to a security breach, mainly by changing the directories and at step 19 to get your Media Library to function you can try CHMOD 777 in the directory.</p>
<p>The reason people highly suggest to not use 777 as file permissions is that it could potentially create a security breach because the CHMOD 777 means that everybody has access to the folder and can write/read the files. Violators sometimes may take advantage of this. We highly suggest that if you did change the folders to CHMOD 777, to contact your host provider and see if there is any way around this.</p>
<p>Keep in mind that most host servers have your website compiled on a server, with up to 100+ other customer websites. If they had to create any changes to that server for another client, your website will be affected too. If you mention this error to them they should be able to fix this issue or migrate your website to a different server. This will ensure that your new server will contain different site restrictions or security options allowing you to not use CHMOD 777. Feel free to comment if you find any other suggestions that can be taken to solve the WordPress Media Library to work properly.</p>
<p><strong>Last Resort:</strong> If you have tried everything you can always reach out to your hosting service to reset your server. With our hosing service they will automatically run backups, but they will charge us if we have to set our site back. Other hosting companies only do this if you pay. This is why you need to run your own backups on your websites. Each host is different, but again this is the very last step where all hope has been lost! <strong>YOU WILL LOOSE EVERYTHING</strong>, that is after the day your host ran its last backup. I cannot stress this enough, because 99% of the time you will not have to resort to resetting your server back. If your Media Library is still not working there is only one more step that I can fathom.</p>
<p><strong>Last Resort of the Last Resort:</strong> Sometimes the best resort is to simply moving hosting and redirect your domain to the new host. Reasons behind this is that many hosting companies split each server up for multiple customers and bandwidth can become spread to thin. It is fairly easy to switch hosts even if you do not have coding experience with the right customer service.</p>
<p>We have found that <a href="http://www.bluehost.com/track/mattyval/" rel="noopener" target="_blank">Bluehost</a> is amazing for transferring websites and they have great pricing. Best of all you get great bandwidth and due to their higher bandwidth it will assist with many of the WordPress Media Library issues you could be having. Best of all you cannot beat their customer service and they will get this issue fixed, even if it is still not working. They are top notch!</p>
<p><h4>Take advantage of this <a href="http://www.bluehost.com/track/mattyval/" rel="noopener" target="_blank">discounted WordPress web hosting starting at <s>$7.99</s> $3.95/mo. by clicking here</a>.</h4>
<p> You will get a FREE domain, FREE site builder, actual 1-click WordPress Installation and 24/7 Support from Bluehost!</p>
<hr>
<p><strong>Update:</strong> This issue also occurs when using WordPress on a MediaTemple dedicated-virtual server. <a href="https://www.ideasandpixels.com/articles/mediatemple-dv-server-how-to-change-ssh-write-permissions/" class="permalinker_link ">Here is an article we wrote on how to correct this issue on MediaTemple servers</a>.</p>
<p><strong>Update:</strong> If none of these steps work and you are using Chrome or IE, try Firefox. This seems to be an issue in IE and Chrome (maybe from these plugins) &#8211; Using FF 21 or 22 seemed to work for a few people.</p>
<p><strong>Have any other solutions to &#8220;WordPress Media Library Not Working&#8221;?</strong> Please don&#8217;t hesitate to add your solutions in the comments below.</p>
<h3>Hope this helps fix your media library!</h3>
<p>The post <a href="https://www.ideasandpixels.com/articles/wordpress-media-library-not-working-solution/">How To Fix WordPress Media Library Not Working</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/wordpress-media-library-not-working-solution/feed/</wfw:commentRss>
			<slash:comments>54</slash:comments>
		
		
			</item>
		<item>
		<title>Google Maps API &#8211; Invalid Key Or Referrer Fix</title>
		<link>https://www.ideasandpixels.com/articles/google-maps-api-invalid-key-or-referrer-fix/</link>
					<comments>https://www.ideasandpixels.com/articles/google-maps-api-invalid-key-or-referrer-fix/#respond</comments>
		
		<dc:creator><![CDATA[Allen Gingrich]]></dc:creator>
		<pubDate>Mon, 27 Jul 2015 22:28:38 +0000</pubDate>
				<category><![CDATA[jQuery Tips]]></category>
		<category><![CDATA[Programming Tips]]></category>
		<guid isPermaLink="false">http://ideasandpixels.com/?p=2277</guid>

					<description><![CDATA[<p>The Google Maps API should be easy to use, and it really is. What&#8217;s not easy is figuring out what&#8217;s wrong when it&#8217;s throwing the following error: Invalid Key or...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/google-maps-api-invalid-key-or-referrer-fix/">Google Maps API &#8211; Invalid Key Or Referrer Fix</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The Google Maps API <em>should</em> be easy to use, and it really is. What&#8217;s not easy is figuring out what&#8217;s wrong when it&#8217;s throwing the following error: <strong>Invalid Key or Referrer.</strong></p>
<p>One would think that the answer is obvious: you either have an invalid key or you&#8217;ve specified an incorrect referrer. But as with most generalized error messages, neither one is the answer. Google&#8217;s policy for their Google Maps API is that they don&#8217;t require a token or public key if you&#8217;re not using Maps for business purposes (which is only used when you exceed their daily quotas). If you don&#8217;t have your credit card details saved in the API console and you try to use a public key for your Javascript Maps call, it returns &#8220;invalid key&#8221;. Google forgot to tell us this important detail.</p>
<p>To fix this problem, simple remove your key from the API call. Simply using this will do:</p>
<pre><code class="language-javascript">&lt;script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?v=3&sensor=false"&gt;&lt;/script&gt;</code></pre>
<p>Yes, it&#8217;s that mind-numbingly simple to fix. As is life.</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/google-maps-api-invalid-key-or-referrer-fix/">Google Maps API &#8211; Invalid Key Or Referrer Fix</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/google-maps-api-invalid-key-or-referrer-fix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Get Post Meta Removing Paragraph Tags Fix</title>
		<link>https://www.ideasandpixels.com/articles/get-post-meta-not-adding-in-paragraphs-fix/</link>
					<comments>https://www.ideasandpixels.com/articles/get-post-meta-not-adding-in-paragraphs-fix/#respond</comments>
		
		<dc:creator><![CDATA[Matt Valvano]]></dc:creator>
		<pubDate>Wed, 27 Aug 2014 20:40:59 +0000</pubDate>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<category><![CDATA[get post meta not working]]></category>
		<category><![CDATA[get_post_meta]]></category>
		<category><![CDATA[php fix]]></category>
		<category><![CDATA[wordpress solutions]]></category>
		<category><![CDATA[wpautop]]></category>
		<guid isPermaLink="false">http://ideasandpixels.com/?p=2180</guid>

					<description><![CDATA[<p>I was working on a project and I was having an issue where my paragraph tags were disappearing from my custom field, while using $meta_values = get_post_meta( $post_id, $key, $single...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/get-post-meta-not-adding-in-paragraphs-fix/">Get Post Meta Removing Paragraph Tags Fix</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I was working on a project and I was having an issue where my paragraph tags were disappearing from my custom field, while using <code>$meta_values = get_post_meta( $post_id, $key, $single );</code> </p>
<p>After doing a bit of research I realized &#8220;<strong>get_post_meta</strong>&#8221; does not have the ability to add in paragraph spacing for a custom post type. This is when I found a crafty piece of code call <strong>wpautop</strong>&#8220;.</p>
<h2>How To Use WPAUTOP In-place Of Get Post Meta With PHP</h2>
<p>Instead of calling out to your description &#8220;Get Post Meta&#8221; like so:<br />
<code>$description = get_post_meta($your_field_id, 'description', true);																											echo ( "</p>
<p>" . $description . "</p>
<p>");<br />
</code></p>
<p>Replace it with the &#8220;WPAUTOP&#8221; markup:</p>
<p><code>echo wpautop(get_field('description'));<br />
</code></p>
<p>Cheers! It is that simple.</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/get-post-meta-not-adding-in-paragraphs-fix/">Get Post Meta Removing Paragraph Tags Fix</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/get-post-meta-not-adding-in-paragraphs-fix/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>WooCommerce Error On Checkout {“result”:”failure”,”messages”:”</title>
		<link>https://www.ideasandpixels.com/articles/woocommerce-error-on-checkout-result-failure-messages/</link>
					<comments>https://www.ideasandpixels.com/articles/woocommerce-error-on-checkout-result-failure-messages/#comments</comments>
		
		<dc:creator><![CDATA[Allen Gingrich]]></dc:creator>
		<pubDate>Tue, 03 Jun 2014 15:36:42 +0000</pubDate>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<guid isPermaLink="false">http://ideasandpixels.com/?p=2151</guid>

					<description><![CDATA[<p>Are you experiencing a random error upon checkout like the following? {“result”:”failure”,”messages”:” \n\t\t\t Country is a required field.\n\t\t\t First Name is a required field.\n\t\t\t Last Name is a required field.\n\t\t\t...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/woocommerce-error-on-checkout-result-failure-messages/">WooCommerce Error On Checkout {“result”:”failure”,”messages”:”</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Are you experiencing a random error upon checkout like the following?</p>
<blockquote><p>
{“result”:”failure”,”messages”:”<br />
\n\t\t\t<br />
Country<\/strong> is a required field.<\/li>\n\t\t\t<br />
First Name<\/strong> is a required field.<\/li>\n\t\t\t<br />
Last Name<\/strong> is a required field.<\/li>\n\t\t\t<br />
Address<\/strong> is a required field.<\/li>\n\t\t\t<br />
Town \/ City<\/strong> is a required field.<\/li>\n\t\t\t<br />
Postcode \/ Zip<\/strong> is a required field.<\/li>\n\t\t\t<br />
Email Address<\/strong> is a required field.<\/li>\n\t\t\t<br />
Phone<\/strong> is a required field.<\/li>\n\t\t\t<br />
You must accept our Terms &#038; Conditions.<\/li>\n\t\t\t<br />
Unfortunately we do not ship to to <\/strong>. Please enter an alternative shipping address.<\/li>\n\t\t\t<br />
Invalid shipping method.<\/li>\n\t\t\t<br />
Invalid payment method.<\/li>\n\t<\/ul>”,”refresh”:”false”,”reload”:”false”}
</p></blockquote>
<p>Yes? Fortunately, I was able to figure out how to fix this error quite quickly this morning. The issue has to do with WooCommerce pages. Updating WooCommerce to the latest versions seems to have the occasional effect of deleting some of the required pages. Yet, with the new version of WooCommerce, adding these pages back isn&#8217;t as easy as it used to be.</p>
<h2>How To Fix WooCommerce Checkout Error</h2>
<p>First, go into your database and into the table &#8220;options&#8221; (or wp_options, if you use the default prefix). Do a search for the option key &#8216;woocommerce_thanks_page_id&#8217;. Once you find it, note the page id that this corresponds with (the value), then go to http://yourwebsite.com/wp-admin/post.php?post=[put the page id from the database table here]&#038;action=edit . If it comes up blank or non-existent, this means you need to create a new thank you page. Create the page (name it whatever you want), then take the new page ID and replace the woocommerce_thanks_page_id with it in the database.</p>
<p>That should do it! This resolved the issue on two different websites for us, so it seems to be a fix-all. Let me know if you have success!</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/woocommerce-error-on-checkout-result-failure-messages/">WooCommerce Error On Checkout {“result”:”failure”,”messages”:”</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/woocommerce-error-on-checkout-result-failure-messages/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
		<item>
		<title>Skrollr Can&#8217;t Scroll On Mobile Devices</title>
		<link>https://www.ideasandpixels.com/articles/skrollr-cant-scroll-on-mobile-devices/</link>
					<comments>https://www.ideasandpixels.com/articles/skrollr-cant-scroll-on-mobile-devices/#comments</comments>
		
		<dc:creator><![CDATA[Allen Gingrich]]></dc:creator>
		<pubDate>Fri, 30 May 2014 23:42:04 +0000</pubDate>
				<category><![CDATA[jQuery Tips]]></category>
		<category><![CDATA[Programming Tips]]></category>
		<guid isPermaLink="false">http://ideasandpixels.com/?p=2149</guid>

					<description><![CDATA[<p>So you just found Skrollr for jQuery, started using it, and discovered your website won&#8217;t scroll on any mobile devices like the iPhone or Android. You just can&#8217;t figure out...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/skrollr-cant-scroll-on-mobile-devices/">Skrollr Can&#8217;t Scroll On Mobile Devices</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>So you just found Skrollr for jQuery, started using it, and discovered your website won&#8217;t scroll on any mobile devices like the iPhone or Android. You just can&#8217;t figure out why. Well here&#8217;s the solution &mdash; try not to beat yourself up about how easy and simple it is.</p>
<p>The README file states the following: <strong>Starting with skrollr 0.6.0 there&#8217;s just one thing you need to do: Include an element on your page with the id skrollr-body.</strong></p>
<p>Yes, that&#8217;s it. Add id=&#8221;skrollr-body&#8221; to your body element and scrolling is back.</p>
<p>Thank me later&#8230; or in the comments. 🙂</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/skrollr-cant-scroll-on-mobile-devices/">Skrollr Can&#8217;t Scroll On Mobile Devices</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/skrollr-cant-scroll-on-mobile-devices/feed/</wfw:commentRss>
			<slash:comments>4</slash:comments>
		
		
			</item>
		<item>
		<title>WordPress Plugin Won&#8217;t Create Tables</title>
		<link>https://www.ideasandpixels.com/articles/wordpress-plugin-wont-create-tables/</link>
					<comments>https://www.ideasandpixels.com/articles/wordpress-plugin-wont-create-tables/#respond</comments>
		
		<dc:creator><![CDATA[Allen Gingrich]]></dc:creator>
		<pubDate>Fri, 30 May 2014 22:18:23 +0000</pubDate>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<guid isPermaLink="false">http://ideasandpixels.com/?p=2146</guid>

					<description><![CDATA[<p>I&#8217;ve built a litany of WordPress plugins over the last five years, but one thing that always got me time and time again was the functionality of having my plugins...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/wordpress-plugin-wont-create-tables/">WordPress Plugin Won&#8217;t Create Tables</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I&#8217;ve built a litany of WordPress plugins over the last five years, but one thing that always got me time and time again was the functionality of having my plugins create their own database tables. It&#8217;s typically recommended that you avoid creating tables with your WordPress plugins if possible, utilizing resources like the options and meta tables, but sometimes you must. Here are some tips I always find myself falling back to when I can&#8217;t quite seem to get my WordPress plugin to create tables in the database upon installation.</p>
<h2>Make Your WordPress Plugin Create Tables</h2>
<p>Pay attention to the following working PHP and SQL statement:</p>
<pre class="prettyprint">
// Load global DB object
global $wpdb;

// Create the database table. Change your_table_name to your actual table name
$sql = "CREATE TABLE {$wpdb->prefix}your_table_name (
  referral_id bigint(9) NOT NULL auto_increment,
  order_id bigint(9) NOT NULL,
  user_id bigint(9) NOT NULL,
  date_completed datetime default '0000-00-00 00:00:00' NOT NULL,
  status varchar(24) NOT NULL,
  total_amount varchar(24) NOT NULL,
  disbursed boolean NOT NULL,
  PRIMARY KEY  (referral_id),
  KEY referral_id (referral_id)
);";

require_once(ABSPATH . 'wp-admin/includes/upgrade.php');
dbDelta($sql);
</pre>
<p>Some things to note here are:</p>
<ul>
<li>Every column statement is on its own line.</li>
<li>I surrounded the $wpdb->prefix portion with curly brackets. <strong>This one was big for me.</strong></li>
<li>I transformed certain commands to lowercase that otherwise might be uppercase, such as &#8216;auto_increment&#8217;.</li>
<li>There are no apostrophes or quotes around any of the column name declarations.</li>
<li>Unlike the WordPress.org tutorial, I am using PRIMARY KEY instead of UNIQUE KEY. I am also re-declaring the key below this with KEY key_id (key_id).</li>
<li>I have two spaces after the PRIMARY KEY declaration.</li>
</ul>
<h2>WordPress&#8217; dbDelta Function Is Tricky, But It May Be Your SQL Statement</h2>
<p>One thing I always do is run my SQL statement in phpMyAdmin to see if it works before trying it in the actual plugin activation hook. Often times this will point out that I have malformed commands.</p>
<p>I hope this helps! Good luck and let me know how you do.</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/wordpress-plugin-wont-create-tables/">WordPress Plugin Won&#8217;t Create Tables</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/wordpress-plugin-wont-create-tables/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Turn Off WordPress HTML Text Editor For Users</title>
		<link>https://www.ideasandpixels.com/articles/turn-wordpress-html-text-editor-users/</link>
					<comments>https://www.ideasandpixels.com/articles/turn-wordpress-html-text-editor-users/#respond</comments>
		
		<dc:creator><![CDATA[Matt Valvano]]></dc:creator>
		<pubDate>Wed, 05 Feb 2014 23:08:37 +0000</pubDate>
				<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[WordPress Tips]]></category>
		<guid isPermaLink="false">http://ideasandpixels.com/?p=2097</guid>

					<description><![CDATA[<p>Online marketers and web designers understand that sometimes a client will randomly have a craving to go in and change content on a site. This sounds great until they add...</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/turn-wordpress-html-text-editor-users/">Turn Off WordPress HTML Text Editor For Users</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Online marketers and web designers understand that sometimes a client will randomly have a craving to go in and change content on a site. This sounds great until they add 17 H1 title tags, bold every other word or simply make everything look like sparkling fun rainbows!</p>
<blockquote>
<p>I mean don&#8217;t get me wrong, I really enjoy rainbows, but sometimes even they&#8217;re too vibrant and the video below sums everything up!</p>
</blockquote>
<p>&#8220;Now, what about your online presence? Your designer says &#8220;you should use a tasteful color palette&#8221;. And you paid them how much? Really get your brand noticed with Florescentsizer!!&#8221;</p>
<p><center><iframe width="420" height="315" src="//www.youtube.com/embed/qgcX0y1Nzhs" frameborder="0" allowfullscreen></iframe></center></p>
<h2>So, how can I disable the Text editor for a User In WordPress?</h2>
<p>After a few times of this happening I now use two plugins to stop all of this from happening!</p>
<p>First install <a href="http://wordpress.org/plugins/tinymce-advanced/" target="_blank" rel="nofollow">TinyMCE Advanced</a> and then the <a href="http://wordpress.org/plugins/adminimize/" target="_blank" rel="nofollow">Adminimize</a> plugins.</p>
<p>Open your TinyMCE Advanced settings and set the fields you wish your user to be able to use. Less options seem to work much better or they may try to add in some more flare!</p>
<p><strong>Optional</strong> &#8211; Copy your websites theme&#8217;s styles into the drop down menu, by adding them into your <strong>editor-style.css</strong> (May need to create this). We tend to skip this step because we hard code the styles into our themes directly and they format automatically.</p>
<p>After this is done, take that user and make them an Editor. By doing this you are stopping 85% of the destruction they maybe able to cause!</p>
<p>Time for the fun! Open up Adminimize and check mark away at all of the stuff you do not want that user to mess with.</p>
<h2>Hide WordPress Yoast Plugin From Users and More!</h2>
<p>Now if you have been hired as an online marketer, you may want to blog a WordPress User from accessing your Yoast Plugin. You can even other elements in the TinyMCE such as the Title H1 tags and anything else in the dropdowns.</p>
<p>To achieve this, use FireFox or Chrome and right-click and inspect the element you want to hide on the page. Finds its ID as we have and use the image below as a guide to disable the Yoast Plugin from a user.</p>
<p style="text-align: center;"><img fetchpriority="high" decoding="async" class="aligncenter  wp-image-2107" alt="Hide Yoast Plugin From Users" src="http://ideasandpixels.com/wp-content/uploads/2014/02/Capture.jpg" width="598" height="509" srcset="https://www.ideasandpixels.com/wp-content/uploads/2014/02/Capture.jpg 996w, https://www.ideasandpixels.com/wp-content/uploads/2014/02/Capture-300x255.jpg 300w" sizes="(max-width: 598px) 100vw, 598px" /></p>
<p><strong>Did this help your situation out or do you have a better solution?</strong> Please let us know by commenting below!</p>
<p>The post <a href="https://www.ideasandpixels.com/articles/turn-wordpress-html-text-editor-users/">Turn Off WordPress HTML Text Editor For Users</a> appeared first on <a href="https://www.ideasandpixels.com">Ideas and Pixels</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.ideasandpixels.com/articles/turn-wordpress-html-text-editor-users/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
