Title: [Plugin: amr-users] headings
Last modified: August 20, 2016

---

# [Plugin: amr-users] headings

 *  [carblanco](https://wordpress.org/support/users/carblanco/)
 * (@carblanco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/)
 * Hi,
 * Is there anyway to change the name of the headings? I know I can hide them.
    
   If not, when showing more than one custom field per column, I mean, when showing
   2.1, 2.2, 2.3 all the nice names are mixed one following the other.
 * Thx.
 * [http://wordpress.org/extend/plugins/amr-users/](http://wordpress.org/extend/plugins/amr-users/)

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

 *  Thread Starter [carblanco](https://wordpress.org/support/users/carblanco/)
 * (@carblanco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339730)
 * And also, if you hide the headings and then perform a search, headings appear
   again.
    ¿?
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339911)
 * Headings come from the ‘nice names’ at moment. So only way for now is to edit
   the nicenames to shorter ones and maybe add a   to force a space after the first
   in a column.
 * Will bear in mind for a later update to allow headings per report using nice 
   names as default.
 * Re hide / search / popup – is that in the public view / front end side ? – was
   only intended for there.
    backend always shows.
 *  Thread Starter [carblanco](https://wordpress.org/support/users/carblanco/)
 * (@carblanco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339912)
 * 1. But I’m showing a lot of custom values per column, shorter nicenames or   
   don’t solve the problem.
    [Look at the image](http://jumanjisolar.com/wp-content/uploads/headings.png)
 * 2. Re hide / search / popup – it happens in the public view, very strange because
   if you want to hide the headings is because you want to hide the headings 😉
 * Thanks.
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339943)
 * wow – amazing – never imagined it used like that.
 * Are those sort of ‘tickbox’ columns (ie true/false or very short values?)
    My
   spanish is hopeless – are you sure you don’t want to make them have their own
   columns and somehow use css to force the headings to go vertically to use less
   space?
 * eg:
    [http://scottgale.com/blog/css-vertical-text/2010/03/01/](http://scottgale.com/blog/css-vertical-text/2010/03/01/)
 * I’ve got a few projects on the go, so it may be awhile, but I can see custom 
   headings may be good to have.
 * Will look into hidden headings bug soon as I can, maybe hide with css for now?
 *  Thread Starter [carblanco](https://wordpress.org/support/users/carblanco/)
 * (@carblanco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339951)
 * Thanks for the tip but I think that is not for my case.
    What I’m doing is showing
   if a member is present or not in some provinces, and which are their activity
   areas. [Look at this other screenshot.](http://jumanjisolar.com/wp-content/uploads/headings2.png)
 *  Thread Starter [carblanco](https://wordpress.org/support/users/carblanco/)
 * (@carblanco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339977)
 * Any hint to add my own custom headings? I need it.
    Thanks.
 * anmari, can’t find your email for contact you for maybe a custom project, so 
   if you don’t mind mine is carblanco @ gmail . com (remove the spaces).
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339979)
 * Hi carblanco,
 * [anmari@anmari.com](https://wordpress.org/support/topic/plugin-amr-users-headings/anmari@anmari.com?output_format=md)
 * I’ve long ago given up re obfuscating/hiding my email.
 * and gmail anti spam has got so good, normally not a problem.
 * At moment I don’t think there is a way with current version. I need to add some
   filters, pluggable functions….
 * you could try (this is totally untested right now, but if you tell me it works
   for you, I’ll leave it in the next update.
 * Add aboveline 641 of ameta-list:
 *     ```
       $cols = apply_filters('amr-users-headings', $cols,$icols,$ulist);
       ```
   
 * the next line should be
    `foreach ($icols as $ic => $cv) { /* use the icols as
   our controlling array, so that we have the internal field names */`
 * and write yourself a little plugin with an
    ‘add filter ‘ call see [http://codex.wordpress.org/Function_Reference/add_filter](http://codex.wordpress.org/Function_Reference/add_filter)
   and a function that accepts $cols – array of headings (the nice names) $icols–
   the internal field names (should ‘match’ $cols) $ulist – the list number (in 
   case different headings for diff lists)
 * modify $cols as you see fit and return $cols array from the function (must keep
   same number of elements)
 * Let me know if it works for you and I’ll leave the code in (else it will be tested
   when next I can make mods).
 *  Thread Starter [carblanco](https://wordpress.org/support/users/carblanco/)
 * (@carblanco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339998)
 * Hi anmari,
 * Thanks but it’s hard for me, I’m not a developer/programmer.
 * So, right now I’d only need that when doing a search, if I have hidden the headings,
   they don’t appear.
 * Anyway I’m writing to you an email with the subject “help with amr-users” 😉
 *  Plugin Author [anmari](https://wordpress.org/support/users/anmari/)
 * (@anmari)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2339999)
 * For the record, just worked out why carblanco’s headings are popping up in search–
   they are complex and the ‘data’ is included in the ‘technical heading’ line and
   that was coming up. Now both stored heading lines will be be excluded from search
   in next update.
 * Quick fix until update
    change line 1032 from `$start=1;` to `$start=2;`
 * more to come
 *  Thread Starter [carblanco](https://wordpress.org/support/users/carblanco/)
 * (@carblanco)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2340002)
 * WOW, fixed!
    Thanks a lot.
 * P.S. You got an email

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

The topic ‘[Plugin: amr-users] headings’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/amr-users_f6f6f4.svg)
 * [amr users](https://wordpress.org/plugins/amr-users/)
 * [Support Threads](https://wordpress.org/support/plugin/amr-users/)
 * [Active Topics](https://wordpress.org/support/plugin/amr-users/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amr-users/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amr-users/reviews/)

 * 10 replies
 * 2 participants
 * Last reply from: [carblanco](https://wordpress.org/support/users/carblanco/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-amr-users-headings/#post-2340002)
 * Status: not resolved