Skip to content

Ilona Ferenc

WordPress and more…

  • Home
  • Portfolio
  • Notes
  • Contact
  • Twitter
  • Github
  • LinkedIn

Month: December 2016

MailChimp for WordPress – refresh page after form submission

//Refresh page after form subscription is successful
function if_change_redirect_url( $url ){
	//Get current page URL
	$url = $_SERVER['REQUEST_URI'];
	return $url;
}
add_filter( 'mc4wp_form_redirect_url', 'if_change_redirect_url' );

View on GitHub

Author IlonaPosted on December 5, 2016December 6, 2016Categories PHP, PluginsLeave a comment on MailChimp for WordPress – refresh page after form submission
Ilona Ferenc

I’m Ilona Ferenc.

I’m a freelance Web developer based in UK. I specialise in creating responsive WordPress websites, from simple blogging platforms to bespoke themes. Most of my work involves developing custom web applications or managing clients’ existing websites. I’m currently taking on new projects, so if you’re interested in working together, please get in touch or view my cv here.

Recent Posts

  • Change recipient of email notifications for new comments in WordPress using comment_notification_recipients filter
  • Why is there a smiley face at the bottom of my WordPress website?
  • Redirect to custom user dashboard after logging in with OneAll WordPress plugin
  • MailChimp for WordPress – refresh page after form submission

Categories

  • Clever Course
  • Comments
  • Jetpack
  • OneAll
  • PHP
  • Plugins
  • WordPress

Archives

  • February 2018
  • September 2017
  • August 2017
  • December 2016
  • Home
  • Portfolio
  • Notes
  • Contact
  • Twitter
  • Github
  • LinkedIn
Ilona Ferenc Proudly powered by WordPress