Comments Israel Arredondo started the conversationJune 20, 2024 at 4:47pmI would like to know if I can connect to your Google Sheets REST API to display information through a custom field in WordPress.where id_halcon_1 = B-465Exampleif (is_user_logged_in()) { $user_id = get_current_user_id(); campos personalizados $custom_field_1 = get_user_meta($user_id, 'id_halcon_1', true); $custom_field_2 = get_user_meta($user_id, 'categoria_1', true); $custom_field_3 = get_user_meta($user_id, 'EQUIPO_1', true); echo '<p>Id Halcon: ' . esc_html($custom_field_1) . '</p>'; echo '<p>Categoria: ' . esc_html($custom_field_2) . '</p>'; echo '<p>Equipo: ' . esc_html($custom_field_2) . '</p>'; echo '<p></p>'; echo '<div url="******URL GOOGLE SHEET*****" data-sheetdb-search="ID=B-465" <p>ID: {{FECHA}} - {{NOMBRE}} - {{PAGO}}</p></div></div>'; } else { echo '<p>No hay ningún usuario conectado.</p>'; }Thank you so much !Israel Arredondo repliedJune 20, 2024 at 7:21pmI fixed with code snippets !thank you so much ! 1,767Miloš repliedJune 21, 2024 at 5:06pm Hi Israel,I am delighted to hear that this has been resolved. Thank you for letting us know. Anything else that we could assist with, please don't hesitate to create new tickets. Have a great day! :)Kind Regards, Miloš Jovanović[email protected] Rate my support wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community You can try wpDataTables add-ons before purchasing on these sandbox sites: Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables Sign in to reply ...
I would like to know if I can connect to your Google Sheets REST API to display information through a custom field in WordPress.
where id_halcon_1 = B-465
Example
if (is_user_logged_in()) {
$user_id = get_current_user_id();
campos personalizados
$custom_field_1 = get_user_meta($user_id, 'id_halcon_1', true);
$custom_field_2 = get_user_meta($user_id, 'categoria_1', true);
$custom_field_3 = get_user_meta($user_id, 'EQUIPO_1', true);
echo '<p>Id Halcon: ' . esc_html($custom_field_1) . '</p>';
echo '<p>Categoria: ' . esc_html($custom_field_2) . '</p>';
echo '<p>Equipo: ' . esc_html($custom_field_2) . '</p>';
echo '<p></p>';
echo '<div url="******URL GOOGLE SHEET*****" data-sheetdb-search="ID=B-465"
<p>ID: {{FECHA}} - {{NOMBRE}} - {{PAGO}}</p>
</div>
</div>';
} else {
echo '<p>No hay ningún usuario conectado.</p>';
}
Thank you so much !
I fixed with code snippets !
thank you so much !
Hi Israel,
I am delighted to hear that this has been resolved. Thank you for letting us know. Anything else that we could assist with, please don't hesitate to create new tickets.
Have a great day! :)
Kind Regards,
Miloš Jovanović
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables