<?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"

			>

	<channel>

		<title>WPFront &#187; All Posts</title>
		<atom:link href="https://wpfront.com/support/feed/" rel="self" type="application/rss+xml" />
		<link>https://wpfront.com/support/feed/</link>
		<description></description>
		<lastBuildDate>Thu, 06 Aug 2026 13:34:26 +0000</lastBuildDate>
		<generator>https://bbpress.org/?v=2.6.6</generator>
		<language>en-US</language>

		
		
					
				<item>
					<guid>https://wpfront.com/support/topic/cant-reactivate-site/#post-147242</guid>
					<title><![CDATA[Reply To: Can&#8217;t reactivate site?]]></title>
					<link>https://wpfront.com/support/topic/cant-reactivate-site/#post-147242</link>
					<pubDate>Fri, 24 Apr 2026 15:35:24 +0000</pubDate>
					<dc:creator>Brett Morris</dc:creator>

					<description>
						<![CDATA[
						<p>Uninstalled and reinstalled and now can activate BUT it keeps reverting to deactivated after a period of time?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/cant-reactivate-site/#post-147190</guid>
					<title><![CDATA[Can&#8217;t reactivate site?]]></title>
					<link>https://wpfront.com/support/topic/cant-reactivate-site/#post-147190</link>
					<pubDate>Mon, 20 Apr 2026 21:04:35 +0000</pubDate>
					<dc:creator>Brett Morris</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;ve been trying to reactivate our live site today and while I get emails saying it worked I&#8217;m still seeing the &#8220;WPFront User Role Editor Business Pro license is not activated. Activate&#8221; prompt. I&#8217;ve deactivated the site here and tried again. While the URL appears as licensed here when I try again, the site itself still shows the prompt.</p>
<p>What I can do to get this working?</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/license-not-working/#post-146499</guid>
					<title><![CDATA[License not working]]></title>
					<link>https://wpfront.com/support/topic/license-not-working/#post-146499</link>
					<pubDate>Thu, 05 Feb 2026 22:41:41 +0000</pubDate>
					<dc:creator>Davis April</dc:creator>

					<description>
						<![CDATA[
						<p>I had the license on my development site, and now that my production site is live I have deactivated the license on development.<br />
However, my production site doesn&#8217;t show an active license after attempting to activate. </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/how-do-i-cancel-auto-renew/#post-146466</guid>
					<title><![CDATA[Reply To: How do I cancel auto renew?]]></title>
					<link>https://wpfront.com/support/topic/how-do-i-cancel-auto-renew/#post-146466</link>
					<pubDate>Tue, 03 Feb 2026 08:17:37 +0000</pubDate>
					<dc:creator>gary@strategyonline.net</dc:creator>

					<description>
						<![CDATA[
						<p>How do I cancel? Why won&#8217;t you just publish the answer or give your clients an easy way to do this???</p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/how-do-i-cancel-auto-renew/#post-145063</guid>
					<title><![CDATA[Reply To: How do I cancel auto renew?]]></title>
					<link>https://wpfront.com/support/topic/how-do-i-cancel-auto-renew/#post-145063</link>
					<pubDate>Wed, 08 Oct 2025 18:12:12 +0000</pubDate>
					<dc:creator>Michael Miller</dc:creator>

					<description>
						<![CDATA[
						<p>I see others asking how to cancel, but am not seeing a response.</p>
<p>How do I cancel autorenew? I&#8217;m ok with being charged in a few days for the next full year, but need to ensure that I won&#8217;t be charged again next year.</p>
<p>Michael Miller </p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/programmatically-assign-roles/#post-142861</guid>
					<title><![CDATA[Reply To: Programmatically assign roles]]></title>
					<link>https://wpfront.com/support/topic/programmatically-assign-roles/#post-142861</link>
					<pubDate>Wed, 02 Apr 2025 17:05:48 +0000</pubDate>
					<dc:creator>Luis Paulo Lohmann</dc:creator>

					<description>
						<![CDATA[
						<p>To whom might have the same question, I followed Mr. Mohan&#8217;s instructions and used the native WP add_role method:</p>
<p><a href="https://developer.wordpress.org/reference/classes/wp_user/add_role/" rel="nofollow">https://developer.wordpress.org/reference/classes/wp_user/add_role/</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/programmatically-assign-roles/#post-142847</guid>
					<title><![CDATA[Programmatically assign roles]]></title>
					<link>https://wpfront.com/support/topic/programmatically-assign-roles/#post-142847</link>
					<pubDate>Tue, 01 Apr 2025 13:13:07 +0000</pubDate>
					<dc:creator>Luis Paulo Lohmann</dc:creator>

					<description>
						<![CDATA[
						<p>I&#8217;m importing users from a Windows AD directory and would like to assign secondary roles based on a meta field.</p>
<p>I tried adding a hook in functions.php and seemingly the roles are being added to the database, but not showing up in the editor front-end.</p>
<p>Could you please help me? Here&#8217;s the code:</p>
<pre><code>function assign_secondary_role($user_id) {
    // Retrieve the secondary role from user meta
    $secondary_role = get_user_meta($user_id, &#039;user_depto&#039;, true);

    // Map the secondary role to its role key
    $role_mapping = [
        &#039;T.i.&#039; =&gt; &#039;ti&#039;,
        &#039;Diretoria Executiva&#039; =&gt; &#039;diretoria_executiva&#039;,
        &#039;Marketing&#039; =&gt; &#039;marketing&#039;
    ];

    if (isset($role_mapping[$secondary_role])) {

        // Get existing roles
        $existing_roles = get_user_meta($user_id, &#039;wpfront_urole_secondary&#039;, true);

        if (!is_array($existing_roles)) {
            $existing_roles = [];
        }

        // Add the new secondary role
        $existing_roles[] = $role_mapping[$secondary_role];
        update_user_meta($user_id, &#039;wpfront_urole_secondary&#039;, $existing_roles);

        // Ensure roles are refreshed properly
        delete_user_meta($user_id, &#039;_wpfront_user_role_cache&#039;); // Clear WPFront cache
        clean_user_cache($user_id); // Clear WP cache
        
        // Force WPFront to reapply the role
        do_action(&#039;wpfront_user_role_update&#039;, $user_id);

        // Manually refresh user roles
        $user = new WP_User($user_id);
        $user-&gt;get_role_caps(); // Force reload of capabilities

        error_log(&quot;Assigned roles after update: &quot; . print_r(get_user_meta($user_id, &#039;wpfront_urole_secondary&#039;, true), true));
        error_log(&quot;Secondary role &#039;{$role_mapping[$secondary_role]}&#039; assigned to user ID {$user_id}.&quot;);

    } else {
        error_log(&quot;No secondary role found for user ID {$user_id}.&quot;);
    }
}

// Hook into user profile update
add_action(&#039;profile_update&#039;, function($user_id) {
    assign_secondary_role($user_id);
});</code></pre>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/product-page-is-messed-up-with-roles/#post-140553</guid>
					<title><![CDATA[Product Page is messed up with roles&#8230;]]></title>
					<link>https://wpfront.com/support/topic/product-page-is-messed-up-with-roles/#post-140553</link>
					<pubDate>Tue, 15 Oct 2024 11:00:35 +0000</pubDate>
					<dc:creator>Ronni Colangelo</dc:creator>

					<description>
						<![CDATA[
						<p>My product list page we use to update product information has a one character field for roles which makes the page a mess and unusable to my users.  How do we fix this or just disable it&#8230;</p>
<p><img class="lazy" src="data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%201%201'%3E%3C/svg%3E" data-src="https://umcollections.com/wp-content/uploads/2024/10/umcollections.com-screenshot-2024-10-15-at-06-43-34-products--ume-collections--wordpress.png" alt="Broken Product List" /></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/css-float-button-right-side/#post-140246</guid>
					<title><![CDATA[CSS Float Button Right Side]]></title>
					<link>https://wpfront.com/support/topic/css-float-button-right-side/#post-140246</link>
					<pubDate>Thu, 19 Sep 2024 21:05:45 +0000</pubDate>
					<dc:creator>Rob Hibbs</dc:creator>

					<description>
						<![CDATA[
						<p>Hi,</p>
<p>Can you provide the CSS to move the button to the right side?<br />
I tried using the float: right; property but it&#8217;s not working.</p>
<p>Link to page.<br />
<a href="https://mastersonmethod.com/uk_shop/" rel="nofollow">https://mastersonmethod.com/uk_shop/</a></p>
						]]>
					</description>

					
					
				</item>

			
				<item>
					<guid>https://wpfront.com/support/topic/notification-bar-is-hovering-above-lightbox-close-button/#post-139930</guid>
					<title><![CDATA[Reply To: Notification Bar is hovering above Lightbox Close Button]]></title>
					<link>https://wpfront.com/support/topic/notification-bar-is-hovering-above-lightbox-close-button/#post-139930</link>
					<pubDate>Thu, 22 Aug 2024 15:15:53 +0000</pubDate>
					<dc:creator>Syam Mohan</dc:creator>

					<description>
						<![CDATA[
						<p>Which page do I need to go to see the issue?</p>
<p>Thanks</p>
						]]>
					</description>

					
					
				</item>

					
		
	</channel>
	</rss>

