WP User Frontend
How to change login link on add post page ? (2 posts)

  1. Anand
    Posted 3 years ago #

    i have my own login page in frontend for users to log-in.

    But add post page show a login link to non-logged in users which takes them to wp-login.php

    Is there any way to change that url so that it will take users to my own custom login page.


  2. professor99
    Posted 3 years ago #

    You will have to change the following code in the file wpuf-add-post.php.

    function shortcode( $atts ) {
            if ( is_user_logged_in() ) {
                $this->post_form( $post_type );
            } else {
                printf( __( "This page is restricted. Please %s to view this page.", 'wpuf' ), wp_loginout( get_permalink(), false ) );

    The Professor

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP User Frontend
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.