Welcome, Guest
Username: Password: Remember me
Discussion about the Another Events Calendar plugin for WordPress.

TOPIC: Dyinamic ID

Dyinamic ID 2 months 5 days ago #1392

  • Ezekiel
  • Ezekiel's Avatar
  • Offline
  • New Member
  • Posts: 1
  • Karma: 0
Hi

Thanks for this beautiful plugin. I like its simplicity.

I have two issues I wish I could solve with this plugin. BTW, I am not an experienced dev but I understand code structure a bit.

1. Is can any shortcode be wrapped in a php tag like <?php [aec_events organizer=100], ?> or something like that?
2. How can I dynamically get the event or organizer ID?

Thanks once again for this plugin.

Ezekiel
The administrator has disabled public write access.

Dyinamic ID 2 months 5 days ago #1393

  • Super User
  • Super User's Avatar
  • Offline
  • Administrator
  • Posts: 265
  • Thank you received: 56
  • Karma: 14
1. Is can any shortcode be wrapped in a php tag like <?php [aec_events organizer=100], ?> or something like that?

Try using,
<?php echo do_shortcode('[aec_events organizer=100]'); ?>

2. How can I dynamically get the event or organizer ID?

I would need some more details like where and why you need to get these IDs. Also, share me your site link. So, I can guide you accordingly.
The administrator has disabled public write access.
Time to create page: 0.206 seconds