开发者 | raeven |
---|---|
更新时间 | 2015年7月29日 20:54 |
捐献地址: | 去捐款 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.2.3 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
simple-contacts-manager/
directory to the /wp-content/plugins/
directoryThis is a straight forward plugin. And the steps below will summarize what you will do with it:
There are 2 ways to get your desired specific contact data:
PHP: you can use the cm_contact function then just supply the key of the contact that you are trying to get:
E.g.
<?php echo cm_contact('just_a_test-general-group_name'); ?>
Will have an output of:
Just a Test
SHORTCODE: you can use the shortcode [cm_contact key=""] then just supply the key or hit the "Get Shortcode" beside the contact
E.g.
[cm_contact key="just_a_test-general-group_name"]
Will have an output of:
Just a Test
The keys below will return all contacts in the section in an array