diff --git a/README.md b/README.md index b65964c..c15855b 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,23 @@ A custom child theme of [Pro Theme by Themeco](https://theme.co/pro). +## Getting Started (Developers) + +- Take a look at the `src` folder for all front-end styles/code. +- Take a look inside the `includes` folder for all PHP related code. + +If you're looking to make changes and you're not a developer with Kingdom One, `style.css` and `functions.php` will behave as normal. Edit at your own risk! + +- See further documentation of Pro Theme at https://theme.co/docs. +- See codebase of this child theme at https://github.com/kingdom-one/faith-based-expeditions + # Changelog +## 0.3.0 + +- Updated roles to allow only administrators to edit locked blocks. +- Added `patterns` directory with first `egypt` tour pattern. + ## 0.2.0 - Implemented the Join a Tour redirect with Javascript. diff --git a/includes/class-theme-init.php b/includes/class-theme-init.php index ac4f5ac..754b2b5 100644 --- a/includes/class-theme-init.php +++ b/includes/class-theme-init.php @@ -27,6 +27,12 @@ public function __construct() { $this->asset_handler = new Asset_Handler( true ); add_action( 'wp_enqueue_scripts', array( $this->asset_handler, 'enqueue_assets' ) ); add_action( 'wp_enqueue_scripts', array( $this->asset_handler, 'dequeue_scripts' ), 40 ); + add_filter( + 'block_editor_settings_all', + array( $this, 'hide_block_locking_ui' ), + 10, + 2 + ); } /** @@ -54,4 +60,22 @@ private function load_required_files() { } } } + + /** + * Hides the Block Lock settings for non-admin users on Tour post type. + * + * @param array $settings Default editor settings. + * @param \WP_Block_Editor_Context $context the block context object. + * + * @return array + */ + public function hide_block_locking_ui( $settings, $context ): array { + $is_tour = $context->post && 'tour' === get_post_type( $context->post->ID ); + $is_admin = current_user_can( 'edit_files' ); + if ( $is_tour && ! $is_admin ) { + $settings['canLockBlocks'] = false; + $settings['codeEditingEnabled'] = false; + } + return $settings; + } } diff --git a/patterns/egypt.php b/patterns/egypt.php new file mode 100644 index 0000000..dce09f4 --- /dev/null +++ b/patterns/egypt.php @@ -0,0 +1,555 @@ + + +
Egypt and the Nile River play a central role in Old Testament history as well as one of the most frequently mentioned places from Genesis through the Gospels. From + Abraham, Moses, Joseph and Jacob to the fleeing of the baby Jesus and his parents to Cairo, Biblical history has a firm foundation in Egypt. Visit Cairo, home to some of + the greatest wonders of the ancient world! Travel the Nile River, the longest river in the world, to explore the early civilizations of Ancient Egypt and learn why Ancient + Egyptians thought of the Nile as the gift of the “gods”, equating it with life itself! Experience 5000 years of history and culture as we visit Cairo, Luxor, Aswan and float + the Nile.
+ + + + + + + +May 15 — 24, 2025
+ +Marriott Cairo Hotel (Cairo)
+ + + +Movenpick MS Hamees (Cruise)
+ +Land Only: $3,995 per person
+ + + +Single Supplement: +$1,595
+ +
Pastor Dale Donadio – serves as the Lead Pastor of River of Life Church with locations in Virginia, Ghana, and El Salvador. The son of missionaries
+ to Alaska, he was raised in Eskimo and Indian villages. He holds a Master of Divinity and is known for his relational leadership style and commitment to community outreach.
+ In his spare time, he loves watching the Yankees and cooking Italian food. He and his wife, Angela, have two grown adult children.
Pastor Angela Donadio – encourages others to “Make Life Matter” by engaging with God’s Word, embracing His call on their lives, and experiencing His + heart for missions. She holds a Master of Leadership and Ministry and is an author, podcast host, and associate pastor at River of Life. She enjoys music, travel, and a good + workout in her spare time.
+ +DAY 1: THURSDAY, MAY 15, 2025– DEPART THE USA FOR CAIRO, EGYPT
+ + + +DAY 2: FRIDAY, MAY 16, 2025 – CAIRO
Arrival at Cairo International Airport. Reception by our representative and assistance with immigration
+ procedures, visa, and customs. Transfer to hotel and overnight.
Dinner
DAY 3: SATURDAY, MAY 17, 2025 – CAIRO
Today you step into the magnificent city of Cairo where you’ll hear an array of sounds from donkey carts to the
+ muezzins’ call to prayer from dueling minarets. This city will transport you back more than 3000 years as you explore, see, and stand amazed at the Pyramids – one of the 7
+ wonders of the ancient world.
Breakfast, Lunch, Dinner
DAY 4. SUNDAY, MAY 18, 2025 – CAIRO
While Cairo has stood for 1000 years on the same site of the banks of the Nile River, today we will see how the city
+ juxtaposes ancient and new, East and West. The extremes of architecture will be visible today as we venture through ancient burial grounds of Egyptian royalty
+ (3rd dynasty), Coptic Cairo (130 CE), medieval Islamic era (10-12th centuries), amidst modern skyscrapers of today. Overnight in Cairo
Breakfast, Lunch, Dinner
DAY 5: MONDAY, MAY 19, 2025 – CAIRO / LUXOR
Short flight this morning takes us to what has been called “the world’s greatest open-air museum, Luxor in upper
+ southern Egypt. Modern Luxor is the site of the famous city of Thebes, capital of Egypt from the twelfth dynasty (1991 BC) reaching its zenith during the New Kingdom. Ruins of
+ the Egyptian temple complexes at Karnak and Luxor stand within the modern city. Immediately opposite, across the River Nile, lie the monuments, temples and tombs of the west bank Theban Necropolis, which includes the Valley of the Kings and Valley
+ of the Queens. Meals and overnight on cruise ship.
Breakfast, Lunch and Dinner (on board ship)
DAY 6. TUESDAY, MAY 20, 2025 – LUXOR / EDFU
Step back into 1400 BC today as you visit the Eastern shore of Luxor. It was here that Thutose III planned
+ his campaigns, Akhenaten first contemplated the nature of god, and Rameses II set out his ambitious building program. This massive temple complex was the principal religious
+ center of the cult god Amun-Re during 1550 to 1070 BC. It was during this period that the bondage and the Exodus occurred. Overnight on cruise ship
Breakfast. Lunch and Dinner (on board the ship)
DAY 7: WEDNESDAY, MAY 21, 2025 – EDFU / KOM-OMBO / ASWAN
A flourishing Greek city in ancient times, today the city of Edfu is known for its farm grown sugar
+ cane and decorative pottery. Once partly covered by silt during the periodic flooding of the Nile River, today enjoy the best-preserved temples in Egypt built during the
+ Ptolemaic era. Overnight on cruise ship
Breakfast, Lunch, Dinner (Dinner on board ship)
DAY 8. THURSDAY, MAY 22, 2025 – ASWAN
Today begins with enjoying the beautiful Nile Valley scenery in the vibrant city of Aswan in southern Egypt. It is
+ considered one of the sunniest places on earth, has a large population of Nubian people who resettled here after the flooding of their homeland and is the location of Aswan High
+ Dam which was built in 1960 to end the flooding of the Nile and bring electric power to Egypt.
Breakfast, Lunch, Dinner (Dinner on board ship)
DAY 9. FRIDAY, MAY 23, 2025 – ASWAN / CAIRO
+ + + +Enjoy your last day in historic Egypt before returning home. Overnight in Cairo.
+ + + +
Breakfast (on board the ship), Lunch, Dinner
DAY 10. SATURDAY, MAY 24, 2025 – CAIRO / RETURN TO USA
At the appointed time, transfer to Cairo International Airport to depart for home. Assistance by
+ our representative for departure.
Breakfast
PAYMENT SCHEDULE | +PASSENGERS | +PAYMENT | +
---|---|---|
At the Time of Registration | +All Passengers | +$500 Non-refundable Per Person Deposit | +
Final Payment Due Date | +All Passengers | +FEBRUARY 4, 2025 | +
Trawick International Travel Protection Insurance Price Chart |
+ |
---|---|
Tour Cost Range | +Insurance Premium Cost | +
$1 – $1,000 | +$88.44 | +
$1,001 – $2,000 | +$139.00 | +
$2,001 – $3,000 | +$211.14 | +
$3,001 – $4,000 | +$280.40 | +
$4,001 – $5,000 | +$377.67 | +
$5,001 – $6,000 | +$424.91 | +
$6,001 – $7,000 | +$527.54 | +
$7,001 – $8,000 | +$611.21 | +
$8,001 – $9,000 | +$724.68 | +
$9,001 – $10,000 | +$895.64 | +
The below cancellation penalties and refund policy will apply for all travelers who choose not to abide by a country’s official travel restrictions.
+ + + +