• Resolved Padaben

    (@padaben)


    Hi,
    I started to digg in the plugin to find out how to display on my frontend some informations
    as for company or contact, image, name, email, telephone, and some custom fields

    Is there some hooks or filters I can add to my template to get the values

    as things are in metas, I tought about by the contact email, get the id and then get the metas I an looking for.

    thanks for helping ??
    regards

    [ No bumping please. ]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @padaben,

    There are no related hooks for displaying values in the frontend. You can use shortcodes instead.

    To get all contact or company info please check the function ‘erp_get_peoples’ in erp/includes/functions-people.php file

    And to get all contact info for a single contact or company you can use class( located in erp/modules/crm/includes/class-contact.php ). Just pass contact id in class construct funtion.

    Thank you ??

    Thread Starter Padaben

    (@padaben)

    Thanks ! I found it hard to make it work.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘display frontend contact or company info’ is closed to new replies.