<?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>WordPress &#8211; WebGeniusLab</title>
	<atom:link href="https://webgeniuslab.net/category/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://webgeniuslab.net</link>
	<description></description>
	<lastBuildDate>Mon, 13 Jul 2026 08:36:50 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>

<image>
	<url>https://webgeniuslab.net/wp-content/uploads/2026/06/cropped-favicon-new-32x32.webp</url>
	<title>WordPress &#8211; WebGeniusLab</title>
	<link>https://webgeniuslab.net</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Enable and Disable WP_DEBUG in WordPress</title>
		<link>https://webgeniuslab.net/how-to-enable-and-disable-wp_debug-in-wordpress/</link>
		
		<dc:creator><![CDATA[Sam Rodman]]></dc:creator>
		<pubDate>Tue, 30 Jun 2026 16:03:44 +0000</pubDate>
				<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://webgeniuslab.net/?p=2224</guid>

					<description><![CDATA[When something breaks on your WordPress site — a white screen, a plugin conflict, or a theme error — the fastest way to find the cause is to turn on WP_DEBUG. This built-in WordPress debugging mode reveals the exact error message and the file it came from, so you can fix the problem instead of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>When something breaks on your WordPress site — a white screen, a plugin conflict, or a theme error — the fastest way to find the cause is to turn on <strong>WP_DEBUG</strong>. This built-in WordPress debugging mode reveals the exact error message and the file it came from, so you can fix the problem instead of guessing. In this guide you will learn how to enable WP_DEBUG in WordPress, how to log errors to a file instead of displaying them on screen, and how to safely disable debugging before your site goes live.</p>
<h2>What Is WP_DEBUG?</h2>
<p>WP_DEBUG is a PHP constant defined in your site&#8217;s <code>wp-config.php</code> file. When it is set to <code>true</code>, WordPress stops hiding PHP notices, warnings, and errors and shows them directly — either on the page or in a log file. It is disabled by default on every WordPress installation to keep visitors from seeing raw error output.</p>
<p>Three constants work together for debugging:</p>
<ul>
<li><code>WP_DEBUG</code> — master switch that activates debug mode</li>
<li><code>WP_DEBUG_LOG</code> — saves errors to <code>wp-content/debug.log</code> instead of showing them on screen</li>
<li><code>WP_DEBUG_DISPLAY</code> — controls whether errors appear visually on the page (set to <code>false</code> when using the log)</li>
</ul>
<h2>Where to Find wp-config.php</h2>
<p>The <code>wp-config.php</code> file sits in the root folder of your WordPress installation — the same directory that contains <code>wp-admin/</code> and <code>wp-content/</code>. You can edit it via:</p>
<ul>
<li><strong>FTP / SFTP</strong> — connect with FileZilla or your preferred client and open the file in a text editor</li>
<li><strong>cPanel File Manager</strong> — navigate to <code>public_html/</code> (or your subdirectory), right-click <code>wp-config.php</code>, and choose Edit</li>
<li><strong>SSH</strong> — <code>nano wp-config.php</code> from your site root</li>
</ul>
<p><strong>Always make a backup of wp-config.php before editing it.</strong> A syntax error in this file will take down the entire site.</p>
<h2>How to Enable WP_DEBUG in WordPress</h2>
<p>Open <code>wp-config.php</code> and find this line near the bottom of the file:</p>
<pre><code>define( 'WP_DEBUG', false );</code></pre>
<p>Change <code>false</code> to <code>true</code>:</p>
<pre><code>define( 'WP_DEBUG', true );</code></pre>
<p>Save the file. WordPress will now display PHP errors, warnings, and notices directly on every page of your site. This is useful for a quick look, but not ideal if other people can see the site — move to the log-based approach below.</p>
<h2>Log Errors to a File Instead of Showing Them on Screen</h2>
<p>The recommended approach for debugging on a live or staging site is to write errors to a file. Add all three constants to <code>wp-config.php</code>:</p>
<pre><code>define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );</code></pre>
<p>With this configuration:</p>
<ul>
<li>Errors are written to <code>wp-content/debug.log</code></li>
<li>Nothing is shown to visitors on the front end</li>
<li>The <code>@ini_set</code> line suppresses errors at the PHP level as a safety net</li>
</ul>
<p>To read the log, open <code>wp-content/debug.log</code> in any text editor or tail it over SSH:</p>
<pre><code>tail -f wp-content/debug.log</code></pre>
<h3>Custom Log File Location (WordPress 5.1+)</h3>
<p>Since WordPress 5.1 you can specify a custom path for the log file by passing a path string instead of <code>true</code>:</p>
<pre><code>define( 'WP_DEBUG_LOG', '/home/youruser/private/debug.log' );</code></pre>
<p>This keeps the log outside the webroot and prevents it from being publicly accessible — a good practice on production environments.</p>
<h2>How to Disable WP_DEBUG</h2>
<p>When you have found and fixed the issue, always turn off debug mode before restoring normal traffic to the site. Set all constants back to <code>false</code>:</p>
<pre><code>define( 'WP_DEBUG', false );
define( 'WP_DEBUG_LOG', false );
define( 'WP_DEBUG_DISPLAY', false );</code></pre>
<p>Or simply revert <code>wp-config.php</code> to its original state with only:</p>
<pre><code>define( 'WP_DEBUG', false );</code></pre>
<p>Leaving WP_DEBUG enabled on a production site is a security risk — error messages can expose file paths, database table names, and plugin/theme code to anyone who visits the site.</p>
<h2>WP_DEBUG and WordPress Themes</h2>
<p>If you are using a <a href="https://themeforest.net/user/webgeniuslab" target="_blank" rel="noopener">WebGeniusLab theme</a> and something is not working as expected, enabling WP_DEBUG is the first diagnostic step we recommend. A PHP notice or deprecated function warning in the log will immediately point to the file and line number causing the problem.</p>
<p>Common things WP_DEBUG reveals in theme environments:</p>
<ul>
<li>A required plugin is deactivated (undefined function errors)</li>
<li>A PHP version incompatibility (deprecated function warnings)</li>
<li>A missing file referenced by a child theme</li>
<li>A memory exhaustion error that caused a blank page</li>
</ul>
<p>Once you have the error from the log, you can include it in a <a href="https://webgeniuslab.ticksy.com" target="_blank" rel="noopener">support ticket</a> and our team will diagnose it much faster.</p>
<h2>Quick Reference</h2>
<table>
<thead>
<tr>
<th>Constant</th>
<th>Value</th>
<th>Effect</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>WP_DEBUG</code></td>
<td><code>true</code></td>
<td>Enables debug mode</td>
</tr>
<tr>
<td><code>WP_DEBUG</code></td>
<td><code>false</code></td>
<td>Disables debug mode (default)</td>
</tr>
<tr>
<td><code>WP_DEBUG_LOG</code></td>
<td><code>true</code></td>
<td>Writes errors to wp-content/debug.log</td>
</tr>
<tr>
<td><code>WP_DEBUG_DISPLAY</code></td>
<td><code>false</code></td>
<td>Hides errors from the page output</td>
</tr>
</tbody>
</table>
<h2>Summary</h2>
<p>Enabling WP_DEBUG in WordPress takes one line in <code>wp-config.php</code>. For production sites, combine it with <code>WP_DEBUG_LOG</code> and <code>WP_DEBUG_DISPLAY = false</code> so errors are captured silently in a log file. Always disable debug mode once you are done — leaving it on exposes internal details about your site to the public. With the error in hand, fixing the problem (or reporting it to a theme or plugin author) becomes straightforward.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Increase PHP Memory Limit, max_input_vars, and Upload Size in WordPress</title>
		<link>https://webgeniuslab.net/how-to-increase-php-memory-limit-max_input_vars-and-upload-size-in-wordpress/</link>
		
		<dc:creator><![CDATA[Sam Rodman]]></dc:creator>
		<pubDate>Fri, 26 Jun 2026 14:59:13 +0000</pubDate>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://webgeniuslab.net/?p=2167</guid>

					<description><![CDATA[After installing a WordPress theme you may see warnings in the Theme Dashboard: insufficient PHP memory, file upload limit too low, or max_input_vars too small. All three are PHP configuration values that can be adjusted without touching WordPress core. Here&#8217;s how to fix each one. 1. Increase PHP Memory Limit WordPress requests 40 MB of [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>After installing a WordPress theme you may see warnings in the Theme Dashboard: insufficient PHP memory, file upload limit too low, or max_input_vars too small. All three are PHP configuration values that can be adjusted without touching WordPress core. Here&#8217;s how to fix each one.</p>
<h2>1. Increase PHP Memory Limit</h2>
<p>WordPress requests 40 MB of PHP memory by default, but modern themes and plugins — Elementor, WPBakery, Revolution Slider — need at least 256 MB to run reliably.</p>
<h3>Method 1: wp-config.php (recommended)</h3>
<p>Open <code>wp-config.php</code> in the site root and add the following line before <em>&#8220;That&#8217;s all, stop editing!&#8221;</em>:</p>
<pre><code>define( 'WP_MEMORY_LIMIT', '256M' );</code></pre>
<h3>Method 2: .htaccess (Apache servers)</h3>
<pre><code>php_value memory_limit 256M</code></pre>
<h3>Method 3: php.ini</h3>
<pre><code>memory_limit = 256M</code></pre>
<p><em><strong>Note:</strong> If your hosting plan does not allow changing this value, contact your host&#8217;s support or upgrade to a plan with a higher memory limit.</em></p>
<h2>2. Increase Maximum File Upload Size</h2>
<p>By default PHP limits uploaded files to 2–8 MB depending on the server. You&#8217;ll need a higher value when importing demo content, uploading videos, or working with large images.</p>
<h3>Method 1: .htaccess</h3>
<pre><code>php_value upload_max_filesize 64M
php_value post_max_size 64M</code></pre>
<h3>Method 2: php.ini</h3>
<pre><code>upload_max_filesize = 64M
post_max_size = 64M</code></pre>
<h3>Method 3: wp-config.php</h3>
<pre><code>@ini_set( 'upload_max_size', '64M' );
@ini_set( 'post_max_size', '64M' );</code></pre>
<p><em><strong>Note:</strong> <code>post_max_size</code> must be equal to or larger than <code>upload_max_filesize</code>. If post_max_size is smaller, the effective upload limit will not increase.</em></p>
<h2>3. Increase max_input_vars</h2>
<p><code>max_input_vars</code> caps the number of fields that can be submitted in a single POST request. Themes with large options panels (Redux Framework, Kirki) may silently fail to save settings when this value is too low. 3000 or higher is recommended.</p>
<h3>Method 1: .htaccess</h3>
<pre><code>php_value max_input_vars 3000</code></pre>
<h3>Method 2: php.ini</h3>
<pre><code>max_input_vars = 3000</code></pre>
<p><em><strong>Note:</strong> After editing php.ini, restart PHP-FPM (<code>php-fpm reload</code>) or Apache for the changes to take effect.</em></p>
<h2>How to Check Current Values</h2>
<p>Go to <strong>WordPress Admin → Appearance → Theme Dashboard → System Status</strong>. This page displays all current PHP values and flags anything that falls below the recommended threshold.</p>
<h2>Recommended Minimum Values</h2>
<ul>
<li><code>memory_limit</code> — 256M</li>
<li><code>upload_max_filesize</code> — 32M (64M for demo import)</li>
<li><code>post_max_size</code> — 64M</li>
<li><code>max_input_vars</code> — 3000</li>
<li><code>max_execution_time</code> — 300</li>
</ul>
<h2>Why These PHP Values Matter</h2>
<p class="font-claude-response-body break-words whitespace-normal">When you increase PHP memory limit, WordPress can hold larger arrays and process heavier operations without crashing mid-request. A low memory ceiling is the most common cause of the &#8220;white screen of death&#8221; during demo import or plugin activation, so raising it is usually the first fix to try. The same logic applies to the other two settings: upload limits control how large a single file can be, while max_input_vars decides how many form fields a theme options panel can save at once. Together these three values determine whether a feature-rich theme runs smoothly or fails silently.</p>
<p class="font-claude-response-body break-words whitespace-normal">Keep in mind that shared hosting often locks these values at the server level. If your edits to wp-config.php or .htaccess have no effect, the host is overriding them and you&#8217;ll need to open a support ticket or move to a plan with higher limits. On a VPS you have full control and can edit php.ini directly. After any change, always return to the System Status page to confirm the new values took effect, and if something breaks, enable debugging to see the exact error — our guide on how to enable WP_DEBUG walks through that process step by step.</p>
<h2>A Quick Word of Caution</h2>
<p class="font-claude-response-body break-words whitespace-normal">Before you increase PHP memory limit or edit any of these files, back up the original first — a single wrong character in wp-config.php or .htaccess can take the whole site down. Change one value at a time, reload the System Status page to confirm it applied, and remember that budget shared hosting often caps these limits at the server level no matter what you write in the file.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to Activate Your WebGeniusLab Theme: Purchase Code vs. License Key</title>
		<link>https://webgeniuslab.net/where-to-find-your-themeforest-purchase-code-step-by-step/</link>
		
		<dc:creator><![CDATA[Sam Rodman]]></dc:creator>
		<pubDate>Fri, 26 Jun 2026 13:40:36 +0000</pubDate>
				<category><![CDATA[Basics]]></category>
		<category><![CDATA[WordPress]]></category>
		<guid isPermaLink="false">https://webgeniuslab.net/?p=2160</guid>

					<description><![CDATA[Finding your ThemeForest purchase code is the first step to activating a premium WebGeniusLab theme. WebGeniusLab themes are sold through two channels: ThemeForest (Envato marketplace) and our own website powered by Freemius. Each channel uses a different activation method — if you bought on Envato you&#8217;ll need your ThemeForest purchase code, and if you bought [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Finding your <strong>ThemeForest purchase code</strong> is the first step to activating a premium WebGeniusLab theme. WebGeniusLab themes are sold through two channels: ThemeForest (Envato marketplace) and our own website powered by Freemius. Each channel uses a different activation method — if you bought on Envato you&#8217;ll need your <strong>ThemeForest purchase code</strong>, and if you bought directly you&#8217;ll use a Freemius license key. This guide covers both; find the section that matches where you purchased.</p>
<h2>ThemeForest Purchase: Using Your Envato Purchase Code</h2>
<h3>What Is a ThemeForest Purchase Code?</h3>
<p>A Purchase Code is a unique identifier for your ThemeForest license. It looks like this:</p>
<pre><code>xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx</code></pre>
<p>Each purchase has its own code. Under a Regular License, one code is valid for one website only.</p>
<h3>Where to Find Your Purchase Code</h3>
<ol>
<li>Go to themeforest.net and log into your account.</li>
<li>Click your profile avatar in the top-right corner.</li>
<li>Select <strong>Downloads</strong> from the dropdown menu.</li>
<li>Find the theme you purchased in the list.</li>
<li>Click the <strong>Download</strong> button next to the theme.</li>
<li>In the dropdown, choose <strong>License certificate &amp; purchase code</strong>.</li>
<li>A text file will open. Copy the value next to <strong>Item Purchase Code</strong>.</li>
</ol>
<p><em><strong>Note:</strong></em> <em>Your <strong>ThemeForest purchase code</strong> is always in Downloads → License certificate &amp; purchase code — not in any confirmation email.</em></p>
<h3>How to Activate</h3>
<p>Once the theme is installed, go to <strong>WordPress Admin → Appearance → Theme Dashboard</strong>. Paste your <strong>ThemeForest purchase code</strong> into the activation field and click Activate.</p>
<h2>Direct Purchase: Using Your Freemius License Key</h2>
<h3>What Is a Freemius License Key?</h3>
<p>If you purchased the theme directly from the WebGeniusLab website, your license is managed by Freemius — a dedicated licensing platform for WordPress products. Instead of a Purchase Code, you receive a <strong>License Key</strong> that looks like this:</p>
<pre><code>sk_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx</code></pre>
<p>A single license key covers one website (single-site license) or multiple websites, depending on the plan you purchased.</p>
<h3>Where to Find Your Freemius License Key</h3>
<ol>
<li>Check your purchase confirmation email — the license key is included in the body of that email.</li>
<li>Alternatively, log into your account on the WebGeniusLab website.</li>
<li>Go to <strong>My Account → Licenses</strong>.</li>
<li>Find the theme in the list and copy the license key.</li>
</ol>
<p><em><strong>Note:</strong> If you purchased via Freemius and can&#8217;t find the email, use the account portal on the WebGeniusLab website to retrieve your key at any time.</em></p>
<h3>How to Activate</h3>
<p>After installing the theme, go to <strong>WordPress Admin → Appearance → Theme Dashboard</strong>. Enter your License Key in the activation field and click <strong>Activate</strong>. Your site&#8217;s domain will be registered to the license automatically.</p>
<h2>ThemeForest vs. Freemius: What&#8217;s the Difference?</h2>
<p>Both channels give you the full theme and access to updates. The main differences:</p>
<ul>
<li><strong>ThemeForest</strong>: purchase is managed by Envato, updates are downloaded from ThemeForest or via the Theme Dashboard after activation.</li>
<li><strong>Freemius (direct)</strong>: license is managed on the WebGeniusLab website, updates are delivered automatically via the WordPress dashboard without any manual steps.</li>
<li><strong>Multi-site licensing</strong>: Freemius offers flexible multi-site plans; ThemeForest requires a separate purchase per site.</li>
</ul>
<h2>Frequently Asked Questions</h2>
<h3>My ThemeForest purchase code isn&#8217;t being accepted — what should I check?</h3>
<ul>
<li>Make sure there are no extra spaces before or after the code when pasting.</li>
<li>Confirm you&#8217;re entering the code for the correct theme.</li>
<li>If the code is already registered to another domain, a new purchase is required.</li>
<li>If the problem persists, contact support and include a screenshot of the Downloads page.</li>
</ul>
<h3>My Freemius license key isn&#8217;t working — what should I check?</h3>
<ul>
<li>Verify you copied the full key without extra spaces.</li>
<li>Check that your license hasn&#8217;t reached its site activation limit in the account portal.</li>
<li>Make sure you&#8217;re on the correct theme — each product has its own license key.</li>
<li>Contact support if the issue persists — include your order email address.</li>
</ul>
<h3>Can I transfer a license to a different domain?</h3>
<p>Yes. For ThemeForest licenses, contact Envato support. For Freemius licenses, log into your account on the WebGeniusLab website, deactivate the license on the old site, and then activate it on the new one.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
