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 include code only on specific pages?
- Redirection plugin – how to let the editor access the ‘redirection’ menu?
- Redirection Plugin: Redirect all URLs with a regular expression
- PHP Deprecated: Non-static method should not be called statically
- Loading shortcode with ajax
- Cannot strip JW Player shortcode?
- How to pass multiple values in shortcode?
- Can Not Redirect from Plugin-Registered Admin Page
- append stylesheet via shortcode
- 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
- Nested shortcodes
- How to redirect Old Post URL to new Post and keep Old post Comments?
- Redirect all blog links from WordPress.com site to new domain
- Plugin shortcode won’t work on a custom template file [closed]
- shortcodes displaying outside of content area with echo statement, not what I wanted [duplicate]
- 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)
- May i Use ShortCode in Template?
- how can I link to a PlugIn admin-sub-menu page after processing a formular
- Changed permalink structure. Need help with redirecting old posts
- Landing Page Redirect Chain | http->https->https www
- How can I create a custom shortcode that will return a custom post type by ID?
- how to create site exit messages with destination url displayed
- How to redirect a URL with parameters?
- AddToAny shortcode in the loop
- How to add an automatic refresh in WordPress for a Page/Post or an embedded OneDrive/Excel HTML Code?
- Making a Template for a CPT created by a plugin
- Nested shortcode functions accessing variable
- Calling an attribute from a plugin shortcode
- accessing wp.media api from a tinymce plugin
- Creating shortcodes in plugin
- Visual Composer shortcode for child theme dir
- Create shortcode to echo javascript
- Redirect to another page using contact form 7? [closed]
- Custom Shortcode Broken in WordPress 3.1
- Namespaced shortcode?
- Why shortcode always displayed after footer not in body
- Why am I unable to load scripts in head in plugin?
- How do I pass custom shortcode-extracted variables (taxonomy) into a query function for WordPress RoyalSlider?
- Where to find the code used to render a page that has a shortcode and a template defined?
- WordPress 4.3 broke meta redirect (with url params plugin)
- convert more tag to shortcode
- Mask and Track Outbound Links
- Shortcode does not expand in Facebook like
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- How to use template inside plugin shortcode with variables for big HTML code
- How to rewrite URL and get the values?
- Is there a good way to load tiny_mce_popup.js through editor.windowManager.open?
- How to prevent tabs from opening all at once
- Executing Javascript in Plugin
- Shortcode and variable
- Making the ‘add to cart’ button redirect to PayPal
- How can I achieve this, using shortcodes
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- How To Use do_shortcode with WooCommerce One Page Checkout
- How to get current cart values using WC_Shortcodes?
- login form should redirect to register page for in 1st login next time it should redirected to home page
- Can I add Short Code Of A Plugin In The Code Editor of WordPress?
- www redirects to another directory in wordpress
- insert og image link in wordpress post
- Get a value from a shortcode for another function
- How to check if short code is present in template?
- Redirect to a page while maintaining search query parameters without causing an infinite loop
- Why is my shortcode not working?
- How to send new visitor to a splash page for only one time in wordpress?
- WordPress Admin login redirect to homepage
- WordPress show descriptions under images in gallery
- redirect to a custom page
- Modify Plugin PHP Class in Child Theme – Correct Method
- How to add HTML to a template only when user is logged out/ not registered
- How to pass value to a plugins shortcode?
- function of parent not working in childtheme
- Is it possible to get a shortcode generated by a plugin, then, using a function, create a new post using that shortcode?
- Hide some shortcodes on posts from back-end
- Trouble implementing python on WordPress
- How to display single arbitrary facebook post with a shortcode?
- How to redirect from plugin page
- Custom shortcode with dynamic rewrite
- Template redirect inside of plugin not redirecting
- Posting code inside the post instead of in the template file using shortcode
- apply_filters to content but ignore shortcodes
- Can’t redirect to previous page after using GET
- Why function hooked using object are executing at all time?
- Pulling RSS from site and display it in posts
- Trying to Understand Shortcodes.
- Shortcode return is printing a 1 afterward
- Any way to hook into WP after a page displays?
- Integrate Razorpay quick payments plugin with contact form7 plugin
- Display HTML5 jQuery Audio Player On Front Page
- Invalid argument supplied for foreach()
- Shortcode to do math with url variables
- How to get URL param for pagination in shortcode?
- Buffered output in chunks and shortcode – how do I achieve that?
- Page with redirect
- How can I add a zip code service availability checker in WordPress without Woocommerce? [closed]