tom1899
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: Tracking pixel locationThanks bcworkz for the further clarification – that was exactly the type of response I was hoping for (intelligent and impartial).
I have found a solution. A theme hook gives me a few different locations aside from header/footer/body. So I used opne called: generate_after_primary_content_area
It eliminates the gap and validates per the script authors rules.
Again, thanks for taking the time!
Forum: Everything else WordPress
In reply to: Parent Page for Organization BUT NOT IN URL.Thanks George! (Definitley looking for “virtual” yes.) Appreciate the feedback and education. Exactly what I was looking for.
Forum: Fixing WordPress
In reply to: Landing Page OrganizationThanks Faisal for your reply. But was looking for a non-plugin alternative. May check this out though. Appreciate it!
- This reply was modified 7 months, 4 weeks ago by tom1899.
Forum: Plugins
In reply to: [Yoast SEO] Want breadcrumbs to reflect navigation…I had turned off “Has Archive” in CPT. Cleared cache. No difference.
There seems to be a disconnect between CPT and Yoast I am having trouble bridging. I have also asked Yoast Premium support and am waiting to hear back.
Forum: Plugins
In reply to: [Custom Post Type UI] CPT-UI: How to get Taxonomy Term to appear in post.Michael – I’m not really a developer – so I’m not intentionally storing anything. Just trying to use the tools – it’s giving me a result I don’t want. Hahaha.
Where do I add this code?
Also – why would the tool not do this by default? It seems like that should be an option?
Thanks!
Forum: Fixing WordPress
In reply to: Customizing Administrator RoleYeah – I have looked at it -however – there seems to be an inability to get Pro version right now. And was looking for different options.
- This reply was modified 2 years, 2 months ago by tom1899.
Worked perfectly Tim – appreciate the feedback!
Forum: Fixing WordPress
In reply to: General Question: Contact Form Spam + SMTPI will reach out to Gravity Forms. I would rather it send after stripping out the URL. Not telling the user that they need to remove the URL. That seems like that might escalate the problem in a % of cases.
Forum: Fixing WordPress
In reply to: General Question: Contact Form Spam + SMTPAlan,
I found this code that someone posted on another site. They put it in the functions.php page – but I am not sure where to put it on that page.
1 – Does this code look good?
2 – Can you let me know where to put it? Does it just go at the bottom of the page?// add custom validation to form add_filter( 'gform_field_validation_74_7', 'validate_phone_74_7', 10, 4 ); function validate_phone_74_7( $result, $value, $form, $field ) { $nourl_pattern = '(http|https)'; if ( preg_match( $nourl_pattern, $value ) ) { $result['is_valid'] = false; $result['message'] = 'Message can not contain website addresses.'; } return $result; }
thanks.
Forum: Fixing WordPress
In reply to: General Question: Contact Form Spam + SMTPThanks Alan,
The problem with the email spam is that we are getting URLS within the message. And no matter how much you try to educate employees – someone os going to click something.
It seems as though a simple “Do not alLow URLS in the message” Button – would be a great addition to any contact forms product (Gravity, CF7, WPForms, etc)
But I guess it is more involved than that.
Does your plugin help in that regard? ( I will go read up on it also)