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
  • #13954


    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.


  • #13956

    Support Team 4

    I need check it. I’ll write.

  • #13957

    Support Team 4

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

  • #13962

    This reply has been marked as private.
  • #13964

    Support Team 4

    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

    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://....

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