Viewing 4 posts - 1 through 4 (of 4 total)
  • #137965
    Maton72
    Member
    Post count: 17

    Hi Foolks,

    It has been a while since I asked for help, but need to ask again. Hope you had a restful Christmas and have some time to help me out.

    1) I need to place a register hyperlink on the top header of my page next to ‘Login’ (as seen in pictures). How do I do this?

    2) I have a login screen (from a plugin) with the following address (http://www.thecrazyscientist.com/wp-login.php?action=register). How do I link this address to the button from question 1?

    3) How do I remove the Neighbourhood writing and include my logo?

    4) As you can see in the picture, at the moment there is a bunch of writing up the top of the login page. What does this mean and how do I remove it?

    Thanks in advance. I really love your theme and support.

    Kind Regards

    Maton72

    Attachments:
    You must be logged in to view attached files.
    #138110
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    1) Unfortunately that is not part of the current theme functionality, we use WooCommerce functionality for the login page, users will be able to register from there

    2) Why are you using that screen instead of the my account screen: http://neighborhood.swiftideas.net/my-account/

    3) You can add your own logo in the Theme Options > General Options

    4) Looks like your server does not include GD Image Library, please can you check this with your Hosts and ask them to enable it

    – Kyle

    #138136
    Maton72
    Member
    Post count: 17

    Hi Kyle,

    Thanks for you help. I have added the image and found the ‘My Account’ page.

    1) How can I add some CSS to modify the ‘login’ link in the header to be ‘Register/login’?

    2) How can I change the blue lines in the header to transparent or black.

    Thanks again for your prompt reply and help.

    Regards
    Darin

    #138138
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    1) You’ll need to be using a child theme, then add this to the functions.php of the child theme:

    /* AUX LINKS
    	================================================== */ 
    	if (!function_exists('sf_aux_links')) {
    		function sf_aux_links($position, $alt_version = FALSE) {
    		
    			// VARIABLES
    			$login_url = wp_login_url();
    			$logout_url = wp_logout_url( home_url() );
    			$myaccount_page_id = get_option( 'woocommerce_myaccount_page_id' );
    			if ( $myaccount_page_id ) {
    				$logout_url = wp_logout_url( get_permalink( $myaccount_page_id ) );
    			  	$login_url = get_permalink( $myaccount_page_id );
    			  	if ( get_option( 'woocommerce_force_ssl_checkout' ) == 'yes' ) {
    			    	$logout_url = str_replace( 'http:', 'https:', $logout_url );
    					$login_url = str_replace( 'http:', 'https:', $login_url );
    				}
    			}
    			$options = get_option('sf_neighborhood_options');
    			$show_sub = $options['show_sub'];
    			$show_translation = $options['show_translation'];
    			$sub_code = $options['sub_code'];
    			$show_account = $options['show_account'];
    			$tb_search_text = $options['tb_search_text'];
    			$aux_links_output = $ss_enable = "";
    			
    			if (isset($options['ss_enable'])) {
    				$ss_enable = $options['ss_enable'];
    			} else {
    				$ss_enable = true;
    			}
    			
    			// LINKS + SEARCH OUTPUT
    			$aux_links_output .= '<nav class="std-menu '.$position.'">'. "\n";
    			$aux_links_output .= '<ul class="menu">'. "\n";
    			if ($show_sub) {
    				$aux_links_output .= '<li class="parent"><a href="#">'. __("Subscribe", "swiftframework") .'</a>'. "\n";
    				$aux_links_output .= '<ul class="sub-menu">'. "\n";
    				$aux_links_output .= '<li><div id="header-subscribe" class="clearfix">'. "\n";
    				$aux_links_output .= do_shortcode($sub_code) . "\n";
    				$aux_links_output .= '</div></li>'. "\n";
    				$aux_links_output .= '</ul>'. "\n";
    				$aux_links_output .= '</li>'. "\n";
    			}
    			if ($show_translation) {
    				$aux_links_output .= '<li class="parent aux-languages"><a href="#">'. __("Language", "swiftframework") .'</a>'. "\n";
    				$aux_links_output .= '<ul id="header-languages" class="sub-menu">'. "\n";
    				if (function_exists( 'language_flags' )) {
    				$aux_links_output .= language_flags();
    				}
    				$aux_links_output .= '</ul>'. "\n";
    				$aux_links_output .= '</li>'. "\n";
    			}
    			if ($show_account) {
    				if (is_user_logged_in()) {
    					$aux_links_output .= '<li><a href="'.wp_logout_url(home_url()).'">'. __("Sign Out", "swiftframework") .'</a></li>'. "\n";
    					if ( $myaccount_page_id ) {
    					$aux_links_output .= '<li><a href="'.get_permalink( $myaccount_page_id ).'" class="admin-link">'. __("My Account", "swiftframework") .'</a>'. "\n";
    					} else {
    					$aux_links_output .= '<li><a href="'.get_admin_url().'" class="admin-link">'. __("My Account", "swiftframework") .'</a>'. "\n";
    					}
    				} else {
    					$aux_links_output .= '<li><a href="'.$login_url.'">'. __("Login/Register", "swiftframework") .'</a>'. "\n";			
    				}
    			}
    			if (($position == "header-menu" && !$alt_version) && $ss_enable) {
    			$aux_links_output .= '<li><a class="swift-search-link" href="#"><i class="fa-search-plus"></i><span>'.do_shortcode($tb_search_text).'</span></a></li>'. "\n";		
    			}
    			$aux_links_output .= '</ul>'. "\n";
    			$aux_links_output .= '</nav>'. "\n";
    		
    		
    			// RETURN
    			return $aux_links_output;
    		
    		}
    	}

    2) In the color customiser it uses the header divider color

    – Kyle

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register