• kklo

    (@kklo)


    Hi,

    I installed it and it’s working, but I have a question.

    On the profile page does not appear the created fields, like using a theme, I believe that the fields should not appear.

    I would like to know how to insert these created fields manually into the profile page.

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    Thank you for contacting us!

    In order to display fields with data in the frontend you can use a shortcode [prflxtrflds_user_data display=* user_role=* user_id=*]. Just replase “” with the necessary data, all shortcode parameters ( display= user_role=* user_id=* ) are optional.

    Hi,

    Ok, but this shortcode can only be placed on one page.

    What would it look like if I had to place the code on the existing page of the theme itself? ex. user.php file

    Thanks
    kklo

    Plugin Author bestwebsoft

    (@bestwebsoft)

    Hi,

    You provided ‘user.php’ file as an example. WordPress uses this file to display the user’s profile page. Our Profile Extra Field plugin displays it’s extra fields on this page, see the screenshot – https://prnt.sc/orhay9. If the fields are not displayed on profile page – please check ‘Field Properties’ option in the exact field settings and select all necessary roles – https://prnt.sc/orhaq3.

    If you need to use shortcode in a custom .php or .html page – add the next line of code to the correct place: <?php echo do_shortcode( "[prflxtrflds_user_data display=* user_role=* user_id=*]" ); ?>.
    Just replase “” with the necessary data, all shortcode parameters ( display= user_role= user_id=*) are optional.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.