Elementor Templates with PHP code widget?
-
Hello,
This may be too much of a stretch and is well outside my skillset, but I am trying to see about ways to integrate elementor with Participant Database. I’ve listed three options below.
Is it possible to create the any of the participant database custom templates:- using a php widget (like this one)?
For example, using it to determine the record_id –
<?php?if?(?$this->participant_id?>?0?)?:??> ????????<?php?$thisRecord?=?new?PDb_Template($this);???>
then use another instance of the php widget for something like this:
<?php?$thisRecord->print_field('first_name');??>
And so on displaying each field throughout the elementor template, within whatever template we design in Elementor?
2. create custom dynamic tags for the records to use in elementor?
3. creating a custom shortcode for each field in the database and inserting it into an elementor template.
If any of this works, would using the elementor’s display conditions suffice, or would this custom template file still need to be stored here: /wp-content/participants-database-templates/ - using a php widget (like this one)?
- The topic ‘Elementor Templates with PHP code widget?’ is closed to new replies.