Changeset 3416434
- Timestamp:
- 12/10/2025 01:00:28 PM (4 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
events-block-for-the-events-calendar/assets/blueprints/blueprint.json
r3416388 r3416434 78 78 "step": "writeFile", 79 79 "path": "/wordpress/wp-content/mu-plugins/events-block-notice.php", 80 "data": "<?php\nadd_action('admin_notices', function () {\n $demo_page = get_page_by_title('Events Block For The Events Calendar');\n $demo_edit_url = $demo_page ? admin_url('post.php?post=' . $demo_page->ID . '&action=edit') : admin_url('edit.php?post_type=page');\n $site_url = get_home_url();\n\n echo '<style>div#cpfNoticePanel,div#ehe-admin-cb { display: none !important; }</style>';\n\n echo '<div class=\"notice notice-info is-dismissible\" style=\"padding: 25px; font-family: sans-serif; margin-top: 25px; border-left: 5px solid #00a0d2;\">\n <h2 style=\"margin-top: 0; display: flex; align-items: center; gap: 10px;\">\n Display your events on any page using a simple block\n </h2>\n <p style=\"margin-bottom: 15px; font-size: 15px;\">\n You can use the Gutenberg Events Block to beautifully display events from The Events Calendar plugin. This powerful addon offers customization options for colors, fonts, and layouts — making your events list visually engaging and easy to style.\n </p>\n <div style=\"display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px;\">\n <a href=\"' . esc_url($site_url) . '\" class=\"button button-primary\" target=\"_blank\" style=\"padding: 10px 24px; font-size: 14px;\">🔍 View Demo</a>\n <a href=\"' . esc_url($demo_edit_url) . '\" class=\"button button-secondary\" style=\"padding: 10px 24px; font-size: 14px;\">🛠 Events Block</a>\n <a href=\"' . admin_url('edit.php?post_type=tribe_events') . '\" class=\"button\" style=\"padding: 10px 24px; font-size: 14px; border: 1px solid #0073aa; color: #0073aa;\">📚 All Events</a>\n </div>\n <p style=\"font-size: 13px; margin-top: 15px; color: #555;\">🧩 Pro is the upgraded edition of our popular events plugin, providing a wider range of design options, layout styles, and powerful features to help you build eye-catching and professional event listings.</p>\n </div>';\n});"80 "data": "<?php\nadd_action('admin_notices', function () {\n $demo_page = get_page_by_title('Events Block For The Events Calendar');\n $demo_edit_url = $demo_page ? admin_url('post.php?post=' . $demo_page->ID . '&action=edit') : admin_url('edit.php?post_type=page');\n $site_url = get_home_url();\n\n echo '<style>div#cpfNoticePanel,div#ehe-admin-cb { display: none !important; }</style>';\n\n echo '<div class=\"notice notice-info is-dismissible\" style=\"padding: 25px; font-family: sans-serif; margin-top: 25px; border-left: 5px solid #00a0d2;\">\n <h2 style=\"margin-top: 0; display: flex; align-items: center; gap: 10px;\">\n Display your events on any page using a simple block\n </h2>\n <p style=\"margin-bottom: 15px; font-size: 15px;\">\n You can use the Gutenberg Events Block to beautifully display events from The Events Calendar plugin. This powerful addon offers customization options for colors, fonts, and layouts — making your events list visually engaging and easy to style.\n </p>\n <div style=\"display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px;\">\n <a href=\"' . esc_url($site_url) . '\" class=\"button button-primary\" target=\"_blank\" style=\"padding: 10px 24px; font-size: 14px;\">🔍 View Demo</a>\n <a href=\"' . esc_url($demo_edit_url) . '\" class=\"button button-secondary\" style=\"padding: 10px 24px; font-size: 14px;\">🛠 Events Block</a>\n <a href=\"' . admin_url('edit.php?post_type=tribe_events') . '\" class=\"button\" style=\"padding: 10px 24px; font-size: 14px; border: 1px solid #0073aa; color: #0073aa;\">📚 All Events</a>\n <a href=\"https://eventscalendaraddons.com/plugin/events-shortcodes-pro/?utm_source=ect_plugin&utm_medium=readme&utm_campaign=get_pro&utm_content=wp_preview_get_pro\" target=\"_blank\" class=\"button\" style=\"padding: 10px 24px; font-size: 14px; background: linear-gradient(90deg, #d54e21, #ff851b); color: white; border: none;\">⭐ Get PRO Events Addons </a>\n </div>\n <p style=\"font-size: 13px; margin-top: 15px; color: #555;\">🧩 Pro is the upgraded edition of our popular events plugin, providing a wider range of design options, layout styles, and powerful features to help you build eye-catching and professional event listings.</p>\n </div>';\n});" 81 81 }, 82 82 {
Note: See TracChangeset
for help on using the changeset viewer.