This topic has 1 reply, 2 voices, and was last updated 6 years by Kieran_SQ.

  • Author
  • #212291
     yusnebez
    Participant

    I need change link of button register. I like go to page menbership for selection the type of acount.

    #212304
     Kieran_SQ
    Moderator

    Hi,

    To do this you will need to be using the SweetDate Child theme and copy the below file from the parent theme into the child theme, recreating and folders that are not already present so that the paths match.

    /wp-content/sweetdate/page-parts/general-header.php

    To

    /wp-content/sweetdate-child/page-parts/general-header.php

    Around line 210 you will see the below code

    COPY CODE
    <?php if ( get_option( 'users_can_register' ) ) { ?>
    	<li class="header-register-button">
    		<a href="#" data-reveal-id="register_panel" class="tiny button radius">
    			<i class="icon-group hide-for-medium-down"></i>
    				<?php _e( "SIGN UP", 'kleo_framework' ); ?>
    		</a>
    	</li>
    <?php } ?>

    Change this to the below

    COPY CODE
    <?php if ( get_option( 'users_can_register' ) ) { ?>
    	<li class="header-register-button">
    		<a href="/path-to-my-page/" class="tiny button radius">
    			<i class="icon-group hide-for-medium-down"></i>
    				<?php _e( "SIGN UP", 'kleo_framework' ); ?>
    		</a>
    	</li>
    <?php } ?>

    In the above example you will see href=”/path-to-my-page/”, change the path to the page you wish to link to.

    Save the changes to the file in the SweetDate Child theme, clear your WordPress and server cache, any CDN and your bwosers cache (Ctrl+F5) to see the changes.

    Thanks,

    Kieran

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Custom development requests can be sent to dev@seventhqueen.com, one of the development team will be happy to discuss your needs.

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

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?