swingarody
Forum Replies Created
-
That’s fantastic, thank you!
Quick followup. I wasn’t able to use this hook to do the same for logout redirect. Can you advise on which might be the right hook to use for that?
For anyone looking for this in the future, here is a redirection snippet based on user role:add_filter('wprus_action_data', 'subscriber_redirects_yo' , 10 , 3);
function subscriber_redirects_yo( $data, $endpoint , $url ) {
if (is_user_logged_in()) {
$user = wp_get_current_user();
if ( $endpoint == 'login' && is_array( $user->roles ) && in_array( 'subscriber', $user->roles )) {
$data['callback_url'] = 'https://whatever-url.com/?im-here-guys';
}
}
return $data;
}Forum: Plugins
In reply to: [CM Tooltip Glossary] Can’t edit page with ElementorThanks.
Please update your documentation to reflect this bug.
Forum: Plugins
In reply to: [CM Tooltip Glossary] Can’t edit page with ElementorOkay I saw in another support thread that glossary was loading in an endless loop.
I disabled “Enable glossary filter for the content which is loaded using AJAX”, and it now works correctly.
Forum: Plugins
In reply to: [Multiple Domain Mapping on Single Site] UberMenu issue (and CORS errors)I just realised that, because we’re using a reverse proxy, we don’t need domain mapping. I switched off the plugin and updated the site address & wp address to the domain name we’re using, and now it works perfectly.
Great plugin btw!
Thank you.
I’m currently using a membership plugin, so technically they are not products, but different membership levels, and each level gets specific services.
I’ll have to check out the capabilities of custom fields, I’m only a beginner programmer.
Cheers.
Forum: Plugins
In reply to: [MailChimp Widget] Widget Hides after Submission+1 Also would like to know!
Forum: Plugins
In reply to: [Solid Code Theme Editor] cannot edit child theme filesThis should probably be in the FAQ section..
Great editor, but I always use a child theme
Forum: Plugins
In reply to: [Widget CSS Classes] add a class to ALL widgets?I have about 20 sidebars… too much effort.
I ended up just using jquery to addClass.
Thanks heaps for the quick reply!!
Forum: Plugins
In reply to: [Simplr Registration Form Plus+] Auto login after registrationIt’s in the MODERATION tab.
Ah, I just figured it out.
When you type in the edit box from front-end, the output looks like this:
text<br>more text<br>bla bla blaBut if you type code in html, every new line gets translated into br lines. so this:
text<br> more text<br> bla bla blabecomes this:
text<br><br> more text<br><br> bla bla blaSo if I want to edit from Admin > Widgets page, I need to wrap the text in <p> tags and make sure it’s on one line, like this:
<p>text<br>more text<br>bla bla bla</p>thanks,
You’re a legend.
I have another question though. When I go to edit the HTML widgets, it keeps adding extra<br>tags on the lines.. is there a way to disable that?aaah… nevermind I figured it out.
The title is within the <h2> tags, but the content actually needs to have it’s own html tags in the widget.
sorry about the confusion.