Title: [Plugin: Cimy User Extra Fields] Extra fields in author.php page
Last modified: August 20, 2016

---

# [Plugin: Cimy User Extra Fields] Extra fields in author.php page

 *  [marc](https://wordpress.org/support/users/marcellofoglia/)
 * (@marcellofoglia)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-cimy-user-extra-fields-extra-fields-in-authorphp-page/)
 * Ciao e complimenti per il plugin…ho 2 questioni non risolte:
 * 1. ho inserito il seguente codice nel file author.php
    ` <?php $values = get_cimyFieldValue(
   1, false); $old_name = “”;
 *  foreach ($values as $value) {
    $user_id = $value[‘user_id’]; $new_name = $value[‘
   user_login’];
 *  if ($old_name != $new_name)
    echo “<br /><br />”.$new_name.”<br /><br />”;
 *  echo $value[‘LABEL’].”: “;
    echo cimy_uef_sanitize_content($value[‘VALUE’]).”
   <br />”;
 *  $old_name = $new_name;
 *  }
 *  ?>`
    ed ovviamente per ogni utente mi restituisce i campi inseriti per l’ utente
   1…come posso far vedere nella parte pubblica i dati rispettivi ad ogni utente?
 * 2. ho inserito un campo immagine ma nella parte pubblica mi fa vedere l’ url 
   dell’ immagine e non l’ immagine stessa.
 * grazie mille
 * [http://wordpress.org/extend/plugins/cimy-user-extra-fields/](http://wordpress.org/extend/plugins/cimy-user-extra-fields/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [marc](https://wordpress.org/support/users/marcellofoglia/)
 * (@marcellofoglia)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-cimy-user-extra-fields-extra-fields-in-authorphp-page/#post-2645827)
 * inoltre ho sostituito la stringa
 * $values = get_cimyFieldValue(1, false);
 * con
 * $values = get_cimyFieldValue($user[‘ID’], false);
 * ma non funziona…
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-cimy-user-extra-fields-extra-fields-in-authorphp-page/#post-2645860)
 * These are English language forums. Please use English.
 *  Thread Starter [marc](https://wordpress.org/support/users/marcellofoglia/)
 * (@marcellofoglia)
 * [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-cimy-user-extra-fields-extra-fields-in-authorphp-page/#post-2645873)
 * Hi and greatings for the plugin…2 questions:
 * 1. I insered this code in author.php file
    <?php $values = get_cimyFieldValue(
   1, false); $old_name = “”;
 * foreach ($values as $value) {
    $user_id = $value[‘user_id’]; $new_name = $value[‘
   user_login’];
 * if ($old_name != $new_name)
    echo “
 * “.$new_name.”
 * “;
 * echo $value[‘LABEL’].”: “;
    echo cimy_uef_sanitize_content($value[‘VALUE’]).”“;
 * $old_name = $new_name;
 * }
 * ?>
    obviously it gives me the entry for user 1…but I want that every user get
   his entry from profile.How can I do?
 * I tried to change the string
 * $values = get_cimyFieldValue(1, false);
 * with
 * $values = get_cimyFieldValue($user[‘ID’], false);
 * but doesn’t work…
 * 2. I also insered an image but in public profile it makes me see the image url…
   not the image…

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: Cimy User Extra Fields] Extra fields in author.php page’ is 
closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cimy-user-extra-fields_dae8f3.svg)
 * [Cimy User Extra Fields](https://wordpress.org/plugins/cimy-user-extra-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cimy-user-extra-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cimy-user-extra-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/cimy-user-extra-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cimy-user-extra-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cimy-user-extra-fields/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [marc](https://wordpress.org/support/users/marcellofoglia/)
 * Last activity: [14 years, 2 months ago](https://wordpress.org/support/topic/plugin-cimy-user-extra-fields-extra-fields-in-authorphp-page/#post-2645873)
 * Status: not resolved