• Resolved Newki75

    (@newki75)


    Hello guys,

    I’m testing your plugin for a client and I have 2 questions:

    • In a single page member, can we display the content field at the end, instead of being before email / personal url?
    • I have some departements and in my departments page, I’d like to display only the member of this department. I don’t manage to create the right shortcode.

    Tx a lot for your answers,

    Marine

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support milton9220

    (@milton9220)

    Hi,

    To do display the content field at the end instead of being before email/ personal url, you have to do override our plugin template file in your child theme. To do override template plugin files create: child-theme-name/tlp-team/layouts/layout-name.php in your child theme directory.

    To generate a page showcasing members organized by department, you need to create a shortcode. While configuring the shortcode, navigate to the filtering tabs where you can choose the specific department you want to display on the page.

    Thank You

    Thread Starter Newki75

    (@newki75)

    Hey @milton9220,

    Perfect for the shortcode. For the template, as it’s a member detailled view that I would like to change, this one, https://www.radiustheme.com/demo/plugins/team/team/cristna-william/, the file is single-team.php? I’ve tried but broke everything lollll

    Do I have to move this part only? Txxxxxxx

                    if ( in_array( 'content', $fields ) ) {
                        $html .= '<div class="tlp-member-detail">' . apply_filters( 'the_content', get_the_content() ) . '</div>';
                    }
    Plugin Support milton9220

    (@milton9220)

    Hi,

    Yeah you have to override the single-team.php file and you can override the file from this directory child-theme-name/tlp-team/single-team.php

    if ( in_array( 'content', $fields ) ) { $html .= '<div class="tlp-member-detail">' . apply_filters( 'the_content', get_the_content() ) . '</div>'; }

    Yeah, to move content part, you have to do in this code.

    Thread Starter Newki75

    (@newki75)

    Argg it doesn’t work but I don’t know if it comes from the code or the child theme file creation.

    If I try, as a test, the change in the plugin file, nothing changes. Can u send me the file with this inversion ? Name – Short Bio – Email – Personal Website and then Content. Txxxxxxxx

    Plugin Support milton9220

    (@milton9220)

    Hi

    Please try this https://prnt.sc/QZPFhBv2GYqV

    Thank You

    Thread Starter Newki75

    (@newki75)

    Did it, let’s wait for their answer now, Tx for your support ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Single page order and department shortcode’ is closed to new replies.