Skip to navigation Skip to content
There's a snippet for that!

WordPress Snippets

  • $0.00 0
  • Home
  • Home
  • Cart
  • Checkout
  • Homepage
  • My account
  • Sample Page
  • Shop
Home / WooCommerce / Frontend Snippets / Add a message above the login / register form
Posted on March 6, 2019March 6, 2019 by Snippy Snipperson

Add a message above the login / register form

Add this code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin. Please don’t add custom code directly to your parent theme’s functions.php file as this will be wiped entirely when you update the theme.

This code will add a custom message above the login/register form on the user’s my-account page.

Please note that for this code to work you’ll need to have the following settings checked, in “Accounts & Privacy”

Categories: Frontend Snippets, WooCommerce
Tags: forms, Frontend, login

Post navigation

Previous post: Customize the WooCommerce breadcrumb
Next post: Remove Stripe Icons
Categories
  • Frontend Snippets
  • General Snippets
  • WooCommerce
Recent Snippets
  • Remove Mine from orders
  • Disable the WooCommerce variable product “From: $X” price.
  • Change the orderby parameter for the Featured Products section in Storefront for WooCommerce
  • Change the number of categories and the order on the homepage when using Storefront
  • Hide the “Downloads” menu item in WooCommerce on the “My Account” page
  • Add PIP support to Shipping Multiple Addresses
  • Remove Subscriptions Price
  • Custom redirect for users after clicking return to shop
  • Edit Stripe Icon
  • Remove Stripe Icons
  • Add a message above the login / register form
  • Customize the WooCommerce breadcrumb
  • Add a surcharge to cart and checkout – uses fees API
  • Automatically Complete Orders
  • Remove product content based on category
  • Hide sub-category product count in product archives
  • Editing product data tabs
  • Make price widget draggable on touch devices
  • Custom sorting options (asc/desc)
  • Change the default state and country on the checkout
  • Override loop template and show quantities next to add to cart buttons.
  • Allow HTML in term (category, tag) descriptions
  • Custom tracking code for the thanks page
  • Make address fields wider
  • Apply a coupon for minimum cart total
  • Exclude products from a particular category on the shop page
© There's a snippet for that! 2019
Built with Storefront & WooCommerce.
  • My Account
  • Search
  • 0