Your themes functions.php is the first file that gets loaded after wordpress, it loads on every page load so you can get a variable with it. You could create a function similar to so and put it in your functions.php of your theme:
global $fromwhere;
if(isset($_GET['from']) and $_GET['from'] == 'columbiansite'){
global $fromwhere;
$fromwhere="columbia";
}
you can then edit the contact 7 form plugin like:
global $fromwhere;
if($fromwhere == 'columbia'){
recpient="[email protected]";
}
You would then need to change the redirect from the columbian site to include ?from=columbiansite
at the end of the url.
Not an exact code example but a example of the processes that would yield the desired result. There may be a filter for the contact form 7 recipient but im not familiar with the plugin.
Related Posts:
- WordPress Shortcode to get URL Parameters $_GET[‘name’] redirects for no reason at all
- How to add a shortcode button to the TinyMCE editor?
- How to customise the output of the WP image gallery shortcode from a plugin?
- How to include code only on specific pages?
- Custom media upload content for inserting custom post shortcode
- Redirection plugin – how to let the editor access the ‘redirection’ menu?
- Checking if an attribute exists in a shortcode
- SSL redirect loop using WordPress HTTPS Plugin
- how to include other plugins css files in a shortcode?
- What characters are allowed as a shortcode tag and how should they be sanitized?
- All shortcodes not working on custom theme
- enqueue script only if it is not already enqueue
- Shortcode output appears before post body [duplicate]
- Redirection Plugin: Redirect all URLs with a regular expression
- Autogenerate wordpress shortcodes using array?
- PHP Deprecated: Non-static method should not be called statically
- How to parse nested shortcodes?
- Loading shortcode with ajax
- Enqueue style inside shortcode but its loaded at the bottom of page (before footer scripts)
- Adding Custom Fields for Img in Posts
- How to call shortcode function directly and pass $atts
- How To Ignore a Filter On Applying Filter the Content In a Function
- Cannot strip JW Player shortcode?
- Shortcode display outside the div
- How to pass multiple values in shortcode?
- flush_rewrite_rules not working on plugin deactivation, invalid URLs not showing 404
- Can Not Redirect from Plugin-Registered Admin Page
- append stylesheet via shortcode
- Shortcode under a Shortcode Multiple times Possible?
- Detecting $_GET parameters from any page + Cookie
- Pass $this to function nested in another public function of the same class
- change plugin shortcode function [closed]
- Calling function from within functions.php returns unwanted value
- plugin shortcodes not working on custom theme- unsure how to fix
- How to list all active and specific shortcodes in wordpress
- Dynamic HTML not displaying at respective place
- shortcode doesn’t work
- How to send “Location” header on plugin form submit event?
- Plugin form unable to process
- Custom url structure for custom template
- Calling shortcode in wp_localize_script strips result
- Nested shortcodes
- WordPress shortcodes & performance
- Is it possible to make shortcodes NOT case sensitive?
- wordpress custom login successful redirect hook
- Short code for Venues
- do_shortcode() doesn’t work if shortcode contained in variable, works if shortcode passed as string
- Layout shop page: resize images and columns
- How to add inline css/js inside a shortcode
- Can’t access my WP dashboard: fatal error? [closed]
- How extend shortcode default values for a plugin?
- how to show database content in wordpress post
- wp_specialchars and wp_specialchars_decode in a shortcode plugin
- How to redirect Old Post URL to new Post and keep Old post Comments?
- What’s the _wp_desired_post_slug value for?
- Redirect all blog links from WordPress.com site to new domain
- Only execute jQuery function(on document ready) on the page has shortcode from plugin [duplicate]
- Shortcode in AJAX popup
- Frontend editing, Frontend user dashboard
- echo do_shortcode is not working on theme’s template
- Looking for a solution – slightly convoluted problem
- Can’t get custom posts of taxonomy to show
- Plugin shortcode won’t work on a custom template file [closed]
- Can I use a Shortcode output as an HTML attribute value?
- WP theme with Backbone
- shortcodes displaying outside of content area with echo statement, not what I wanted [duplicate]
- Shortcode doesn’t work if I directly paste its function in a template file?
- Trying to count the total number of paragraphs inside a blog article
- How Can I Pass the Shortcode’s $atts Variable to the Plugin’s Javascript Function
- Adding json as params to shortcode
- Shortcode is not working in homepage page template (custom front page)
- Can wp_localize_script be used within a shortcode?
- Shortcode to generate and save password in a file
- Force [wordpress_social_login] shortcode to display where it is embedded [closed]
- Overriding Attributes values in Shortcode Plugins
- May i Use ShortCode in Template?
- Pass variable to nested shortcode
- Add custom variable in Contact Form 7 mail body
- Demystifying and understanding shortcode nomenclature
- How to modify shortcode attributes with data from current post
- get shortcode value
- Confused about shortcode and settings values
- Running jquery script after shortcode [closed]
- How to generate CSS from a shortcode within a plugin
- how can I link to a PlugIn admin-sub-menu page after processing a formular
- Add htmlentities and/or shortcode into data-attributes
- Storing Options in a Shortcode
- Custom CSS for plugin form
- Any Short code Availble for Get Post List With Thumbnail Plugin?
- How does automatic redirection for the redirection plugin work?
- Where to call add_shortcode function in WordPress Plugin Boilerplate?
- Changed permalink structure. Need help with redirecting old posts
- Show history of post revisions on front end
- Prevent shortcode from being wrapped in tags
- WordPress Redirect Not Working – AJAX Callback Response Not Picked Up
- Landing Page Redirect Chain | http->https->https www
- How to remove html code in excel downloads using phpspreadsheet with wordpress plugins shortcode
- Plugin echos text from shortcode function in gutenberg page editor
- Shortcode based chart plugin
- Plugin shortcodes not working in custom theme