derekmhart
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Control ScrollbarsI’m a bit confused. I don’t need help with anything related to my theme. This is very generic code I am requesting assistance on. Is this not the right forum to do that?
If anybody is ever interested in this, here is the code I added to functions.php in the child folder of the theme I’m using, and it works perfectly. Just had to organize it. Login01 is hardcoded which is not ideal.
function redirect_logged_in_user()
{
if ( is_user_logged_in() && is_page( ‘login01’ ))
{
wp_redirect( home_url(‘/understand-each-other-dating-course-outline/’) );
exit;
}
}
add_action( ‘template_redirect’, ‘redirect_logged_in_user’ );I was hopeful that would work. When I log in from the site, it goes to a page like this:
And it DOES properly redirect to the URL I want.
But then if I exit the browser, and go directly to https://www.mysite.com/login, it does not redirect to the URL, but goes to the Ultimate Member account page.
Can I interrupt that and go the URL I want, as if the user has already logged in?
Worked! Thank you!
Forum: Plugins
In reply to: [PixelYourSite - Your smart PIXEL (TAG) & API Manager] Pixel Not Showing UpOK, please clarify. So I added understand_optin as a content_name in PixelYourSite, and it looks like this:
https://screencast.com/t/DxIIPpM71jit
So then in Facebook, I though that might mean that I would somehow see that content_name – but I don’t – I only can go by the URL. Here is the area I’m looking in Facebook Power Editor:
https://screencast.com/t/Cgp8NxDUtXf
So can you tell me how this content_name is more related to building a custom audience. I don’t understand how they connect.
Forum: Plugins
In reply to: [PixelYourSite - Your smart PIXEL (TAG) & API Manager] Pixel Not Showing UpOK I think that worked. Does this result look good?
https://screencast.com/t/H3yncNe7Lh6k
And this is the setting you recommend, right?