Support Forum

Home Forums OceanPlaza WP Link in name Team member

All Wordpress Themes

This topic contains 5 replies, has 2 voices, and was last updated by  Support Team 4 3 years, 9 months ago.

  • Author
    Posts
  • #13954

    sannev
    Participant

    I have a question about the team member page.
    I would like a link to a page, when I click on the name or picture of the team member.
    On the demo site is also clickable.
    I added a screenshot with what I mean.

    Greetings

  • #13956

    Support Team 4
    Participant

    Hello!
    I need check it. I’ll write.

  • #13957

    Support Team 4
    Participant

    Write me, how you make this page? Better, give me link to this page.

  • #13962

    sannev
    Participant
    This reply has been marked as private.
  • #13964

    Support Team 4
    Participant

    Ok, but why you can’t use team members section (on demo site used this section)?
    You can add new members to this sections via wp-admin menu => Team Members. In Theme Options this tab “About Us”.

  • #13968

    Support Team 4
    Participant

    Also I can propose to you modify our shortcode. For this:
    1. Go to directory /wp-content/themes/oceanplaza/includes/tinymce/.
    2. Edit file customcodes.js. In file replace name="John Doe" to name="John Doe" namelink="".
    3. Edit file shortcodes.php. In file replace code $html .= '<div class="person-author-wrapper"><h5 class="person-name">' . $atts['name'] . '</h5>'; to this code:

    	if (!empty($atts['namelink'])) {
    		$html .= '<div class="person-author-wrapper"><h5 class="person-name"><a href="' . $atts['namelink'] .' ">'. $atts['name'] . '</a></h5>';
    		} else {
    			$html .= '<div class="person-author-wrapper"><h5 class="person-name">' . $atts['name'] . '</h5>';
    		};

    4. Now again insert shortcode and write link as http://.... http://prntscr.com/5jpa3u

The topic ‘Link in name Team member’ is closed to new replies.