Hello!
How to use WordPress PHP functions on site, i.e the_modified_date(‘d.m.Y, H:i’)?
I am using Bakery.
This topic has 4 replies, 2 voices, and was last updated 4 years, 5 months ago ago by Olga Barlow
Hello!
How to use WordPress PHP functions on site, i.e the_modified_date(‘d.m.Y, H:i’)?
I am using Bakery.
Hello,
Sorry, but your question is not very clear for me. You can use PHP functions (default or custom) according to PHP rules. If you need to make customization use the child theme for these purposes https://www.8theme.com/documentation/docs/child-theme/ and don’t make changes in the parent theme files because you will lose them after the theme update.
Regards
I need to show data from database, like options, pages data, meta data using different functions (i.e the_modified_date). I see, I can use HTML blocks, but no PHP blocks?
Hello,
Because it does not work in this way. If you need to make any PHP changes using child theme functions.php. Create shortcodes and then use these shortcodes in the frontend HTML blocks.
Regards
The issue related to '‘using wp functions on site’' has been successfully resolved, and the topic is now closed for further responses