Add this Code in your function.php file
function mito_login_message( $message ) {
if ( empty($message) ){
return "<p><a href="">hyperlink</a> Please login to continue</strong></p>";
} else {
return $message;
}
}
add_filter( 'login_message', 'mito_login_message' );
Related Posts:
- How to change redirection route to a php page for making it only accessible by logged-in members?
- Current WordPress Page Title as Search Parameter into A Tag
- How to get URL of current page displayed?
- How do I change/modify the_post_thumbnail(); html output?
- How do I make an HTML table from a database table?
- start_lvl Ignored in Custom walker_nav_menu
- Encode text string being appended as query to URL [closed]
- How to get the custom header image’s alt text?
- Why do templates contain so many PHP tag pairs?
- Is it safe to use $_SERVER[‘REQUEST_URI’]?
- Modify previous and next text from pagination links
- How do I use Shortcodes inside of HTML tags?
- add_filter the_content str_replace after shortcode
- The correct method to pass query vars in AJAX using ajaxurl
- Correct regex for wp_embed_register_handler
- How to check if feed URL was requested?
- Why would a GET variable one one page of a site cause a 404 error when a GET variable works on another page of a site?
- What exactly does “Posts page” do in WordPress?
- Where should I install a PHP library into WordPress so that code in a webpage can activate it?
- What is the best practice for escaping data URIs?
- WordPress Ajax always returns a 404 error
- Adding a search form inside a div
- urlencoding of the_title() doesn’t work?
- WordPress custom taxonomy description for each post?
- How do I get the author’s page url from their ID?
- Dynamic URL to reference custom PHP files
- WordPress Shortcode and Dynamic CSS
- Calling a method from functions.php on a click of a button
- Load custom field value into div with AJAX
- Blank on static home page?
- Correct way to make static pages editable in wordpress
- Conditional statement for parent, child and grandchild pages
- How do I edit the php/html for a particular post?
- Nice scroll to wordpress
- How to use SRCSET with get_the_post_thumbnail()?
- Multiple pages on one with different HTML
- How to use a frontend URL with a Plugin
- How do I make wordpress comment fields required?
- Two posts in same div – WP loop
- Is it ok to replace php code with html?
- Concatenate site_url and string doesn’t work
- How to display blog images using wordpress in existing project
- Add custom HTML to posts page
- How to add a post or page tag to the list of classes appearing in the body tag’s class attribute?
- WordPress Wysiwyg Content not being displayed
- What’s the proper way to use wp_enqueue_script/style?
- Callback URL in WordPress
- Javascript code inside “” in core WordPress files .php
- HTML table from shortcode with multiple parameters
- Minify HTML, CSS, JS with PHPWee?
- Wrong links in WordPress?
- Newbie question: no index.php? in my plain wordpress permalink
- How to display a value from a radio button in the options menu in wordpress
- Header has extra HTML block at top before my code
- How is WordPress manipulating the posts like there are folders?
- To echo or not to echo?
- Blank space at beginning of tag?
- How do I add HTML to a PHP function [closed]
- Custom image upload
- How to display recent posts on home page with custom HTML
- WordPress automatically adds tags when pasting code, how to stop it?
- Add HTML Attributes To Anchor Tags In `wp_list_categories()` Function
- Placing raw HTML inside a WordPress shortcode
- How to only show page id as body class?
- Slide in Panel WordPress Post
- Shortcode content output but not in correct place
- Extract subdomain and relative address from a url
- Remove query string specific key value
- Correct syntax to html php conversion
- An unwanted inline style is added to my body tag
- How to properly insert a link to a template in WordPress?
- Upload Image in a WordPress page using PHP
- Show post in slider
- Add itemprop Schema.org Markup to li Elements in wp_nav_menu
- Removing unneccessary p-tags (Not every p)
- Echo URL of large version of Featured Image
- How can I hide Home in my menu in a specific page?
- WordPress automatically adding html tag around PHP code
- Why does WordPress remove my variables in the URL?
- Missing sidebar parameter “fix” – before_content
- How Display Posts on category
- How to get the POST TITLE using the POST ID?
- HTML tags in bloginfo description
- ACF page while loop breaks footer while loop
- Getting a specific post values to another div or modal
- Add a class to the anchor tag on HTML5 gallery
- Transferring working local PHP site to wordpress – with database (MySQL)
- how to remove metadata from the posts of my blog?
- Load a page into a div with Ajax
- My form action url is being prepended with a directory that does not exists
- Where in PHP do I move title and meta (date) to bottom of each blog section?
- Converting HTML Template to WordPress Theme
- Multiple options not staying selected after saving
- Using the echo command adds unwanted br tags to source
- custom fields wordpress
- Why the JavaScript code is ignored from wp editor?
- Populate dropdown with Child Pages based on Parent Page chosen
- How to store data from multiple forms using ajax and php
- search and replace preword from author
- Embed html in php code