OpenAI Codex v0.123.0 (research preview) -------- workdir: /home/ubuntu/apps/ridgecrestchurch.com model: gpt-5.4 provider: openai approval: never sandbox: danger-full-access reasoning effort: none reasoning summaries: none session id: 019e01cb-90ae-7450-9adb-3253a6ccafdc -------- user You are the implementation agent in a non-interactive Codex loop. Work only inside the provided context directory. Make reasonable assumptions, implement directly, and do not ask follow-up questions. When finished, summarize what changed and mention any remaining risks or uncertainty. Context directory: /home/ubuntu/apps/ridgecrestchurch.com Instruction file: /home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/task.md Iteration: 0 # Initial WordPress Page Generation Task You are working directly inside the live WordPress root directory for domain "ridgecrestchurch.com". Task type: create the initial visitor-facing WordPress pages using the Flatlogic Page Creator skill. ## Required Runtime - First read `SITE_CONTEXT.md` and `AGENTS.md` in this WordPress root. - Then read `wp-content/plugins/flatlogic-page-creator/INSTRUCTIONS.MD`. - Then read every markdown file in `wp-content/plugins/flatlogic-page-creator/context/`. - Follow the page-creator instructions as the primary content workflow. ## Mandatory Rules - Work only inside the current WordPress directory. - Do not touch files outside this site directory. - Treat `SITE_CONTEXT.md` as private implementation context, not public website copy. - Do not recreate WordPress, do not remove `wp-config.php`, and do not create or drop databases or database users. - Do not install system packages, containers, or services. - Prefer WordPress CLI commands for content and settings: `wp post`, `wp option`, `wp menu`, `wp term`, `wp rewrite`, `wp cache`. - Do not use hardcoded WordPress database table names such as `wp_options`, `wp_posts`, or `wp_postmeta`. Provisioned sites may use a custom table prefix. Prefer WP-CLI APIs; if direct SQL is unavoidable, first get the actual prefix with `wp db prefix`. - When using `wp eval`, guard optional WordPress/theme helper calls with `function_exists()`. For attachment alt text, use `get_post_meta( $id, '_wp_attachment_image_alt', true )`; do not assume helpers such as `wp_get_attachment_image_alt()` or Custom CSS helper functions exist. - Inspect the active theme before creating content. The seed theme slug `flb` is only a starting seed/placeholder and is not acceptable as the final public visual theme. - Choose, install, and activate one suitable free WordPress.org theme yourself when the active theme is `flb`, visibly branded/mismatched, broken, or too weak for the requested site. Do not use a hardcoded theme choice; pick a free theme that fits the domain topic and brief. - Use only themes available through `wp-cli` / WordPress.org; do not install paid themes or third-party zip themes. - Prefer lightweight, actively maintained, broadly compatible themes with clean business layouts. - Do not install more than one theme unless the first install fails or proves incompatible. - If you change the theme, verify and adapt menu locations, homepage rendering, footer rendering, and page templates after activation. - The final active theme should not remain `flb` unless WordPress.org theme installation is unavailable. If blocked, report the blocker and mark the theme status partial/failed. - Configure the site identity/header so the navbar does not show only a raw domain or bare site title. Prefer a simple text logo/wordmark plus a short tagline that fits the site, or a clean generated/WordPress-compatible logo mark if practical. - Update `blogname` and `blogdescription` when needed so the header/brand reads like a real visitor-facing site. - Preserve existing plugins unless a small content/theme adjustment is clearly needed. - Create or update the requested pages as WordPress pages, not posts, static HTML files, or markdown drafts. - Use stable, readable slugs for every page. - If `SITE_CONTEXT.md` includes Backlink Restoration Targets, prioritize only the page-like targets listed in this task's Page Creator scope. - Do not create WordPress pages for targets listed under Post Creator Reserved Targets. Those should become posts later through `flatlogic-post-creator`, or be remapped by that post task if unsafe/off-topic. - Preserve exact page-like legacy paths/slugs where practical, including .html/.htm/.php paths if WordPress accepts them; otherwise create the nearest visitor-friendly equivalent and report the remap. - Set the Home page as the static front page when a Home page is requested. - Always create or update a Blog page at `/blog/` for new WordPress sites and configure `page_for_posts` to the Blog page ID. Add Blog to the primary navigation when practical so all WordPress posts have a public index. - Do not move restored post-like backlink targets under `/blog/`; `/blog/` is the index, while individual restored posts should keep exact legacy slugs where WordPress can represent them. - Always create or update these utility/legal pages for new WordPress sites even if they are not listed in Required Pages: Privacy Policy, Terms of Use, Cookie Policy. - Write Privacy Policy, Terms of Use, and Cookie Policy as real, plain-language, site-specific pages. Tie them to this site's topic/services, contact/support paths, visitor/account/service inquiries, cookies/analytics/security logs when relevant, and policy updates. - Keep utility/legal pages safe: do not invent jurisdiction-specific legal guarantees, compliance claims, formal legal advice, company registrations, addresses, certifications, or regulatory promises. - Create a primary navigation menu that links the requested pages when the active theme supports menus. - Add Privacy Policy, Terms of Use, Cookie Policy, and Contact to a footer/utility menu or footer area when practical. - Ensure the public footer shows a visible contact email. Use admin@ridgecrestchurch.com unless the site context provides a better public contact email. - Remove stale seed/theme footer credits, raw Flatlogic/AppWizzy branding links, and unrelated default footer links. - Keep the site usable if a menu location or theme feature is missing; do not fail just because a theme location is unavailable. - Avoid lorem ipsum, placeholders, fake testimonials, and unverifiable claims. - Make the copy specific to the provided topic and brief. - Build major visitor-facing pages as polished landing pages, not thin text pages. Home, service, product, About, Support, and restored commercial pages should usually have at least 4-5 meaningful sections. - Plan landing sections around visitor intent before writing: hero/value proposition, audience/problem fit, service/features or offer details, process/how it works, trust/proof/support details, FAQ/objection handling, and final CTA/contact path. Utility/legal pages may be simpler but still need useful structure. - Do not publish a page that is only a short intro plus a list of links unless the task explicitly asks for a directory/index page. - Treat any historical/archive/source material as private implementation context only. - Do not mention that the website was restored, reconstructed, generated, rebuilt, based on history, based on archives, or copied from an original/old site in any public page title, heading, paragraph, menu item, meta description, alt text, footer, or visible content. - Clean imported archive text before publishing it: remove crawler/navigation artifacts, pagination labels, ">>Next", "Previous", "Next", "page X of Y", duplicate menus, broken labels, boilerplate, and any unsafe flagged content. - Write the final site as a normal live business/content website for visitors, not as a restoration report. - Use relevant thematic images, not placeholder graphics. Import images into the WordPress Media Library and place them in the homepage and important supporting pages. - Use only existing seed/theme assets or images that are free for commercial use / royalty-free / public-domain / permissively licensed. Do not hotlink third-party images directly from page content. - Before creating any fallback graphic, search for or select a relevant free-use photo or clean illustration. - Home and core landing/service pages should include relevant thematic imagery or visual proof when a credible asset is available. Vary imagery by page intent where practical instead of repeating one generic visual across the site. - Home, service, product, About, Support, and restored commercial landing pages should normally include at least three relevant visual assets across different sections when credible assets are available. Aim for a hero/lead visual, a mid-page explanatory/proof visual, and one supporting section image/icon/card visual. Do not count repeated tiny icons or filler stock as the whole visual plan. - Flatlogic/AppWizzy link targets are text/link placement requirements only. Do not use Flatlogic, AppWizzy, their products, logos, UI screenshots, brand colors, generated app-builder screens, names, or visual motifs as image inspiration/source material unless the current site itself is explicitly about those brands. - Do not place Flatlogic/AppWizzy names in image filenames, alt text, captions, metadata, hero visuals, mockups, screenshots, or decorative graphics. Third-party link targets should never make the generated site look visually affiliated with Flatlogic/AppWizzy. - Prefer simple thematic photos or clean low-text illustrations. Do not generate complex text-heavy SVG infographics/checklists unless the user explicitly asks for a diagram. Important copy belongs in HTML text, not embedded inside images. - Do not use generated SVGs as hero images or as the primary/most prominent inline image. Hero imagery should be a relevant photo, a real product/control-panel screenshot, or omitted when no credible asset exists. - Verify placed images are not awkwardly cropped, nearly invisible, or off-topic for the page. - Prefer `wp-cli` media commands or WordPress media APIs for image import/attachment, add descriptive alt text, and set featured images when the active theme uses them. - Do not depend on Python PIL/Pillow being installed. If image processing libraries are unavailable, use the original safe image asset, register it through WordPress APIs, and fix display size with HTML/CSS/WordPress settings. Do not use `wp media list`; inspect media with `wp post list --post_type=attachment` or WordPress APIs. - If internet image download is unavailable, use thematically appropriate existing assets if possible; otherwise report the image-download blocker clearly instead of pretending placeholders satisfy the requirement. - If Flatlogic link targets are provided, place 3-5 of them naturally in the public site when possible. Prefer relevant contextual body links inside page content. - Use the provided anchor guidance naturally; do not repeat identical anchors, do not keyword-stuff, and do not add all feed links blindly. - Use the rendered Flatlogic target URLs exactly, including the site-specific `utm_source` value. - Do not place Flatlogic or AppWizzy links in the footer. Remove stale seed/theme footer credits and use Flatlogic targets only as contextual body links where they fit. - Do not expose Flatlogic feed tokens, API URLs, internal priority data, or operational link-placement wording in public content. - Include Flatlogic link placements in the final WP changes section: target URL, anchor text, and page/location. - Keep credentials and secrets out of page content and out of the final report. ## Site Details - Domain: ridgecrestchurch.com - Site label: ridgecrestchurch.com - Topic / niche: Church website (Ridgecrest Baptist Church) - Language: English - Default public footer email: admin@ridgecrestchurch.com ## Required Pages To Create Or Update - Home - About Us - Ministries - Kids - Youth - Events Calendar - News - Contacts - Church Map - Resources ## Backlink Target Split Page Creator scope: restore these page-like backlink targets as WordPress pages or verified page redirects when practical: - #1 / - Canonical URL: https://ridgecrestchurch.com/ - Suggested type: page - Link metrics: 50 referring domains, 175 backlinks, 173 referring pages - URL variants: http://ridgecrestchurch.com/, http://www.ridgecrestchurch.com/, https://ridgecrestchurch.com/, https://www.ridgecrestchurch.com/ Post Creator reserved targets: do not create WordPress pages for these. They should be handled by `flatlogic-post-creator` after the initial pages are ready: - None. Redirect-only targets: do not turn these into pages unless the task explicitly says to; report any safe redirect/remap only if you create and verify it: - None. ## Brief A local Baptist church website providing information about the congregation, ministries, youth programs, events, and news updates, including a calendar of events and contact/navigation pages. ## Extra Requirements Maintain a clear, non-commercial informational structure (sermons/events/news) and include standard navigation and contact details. ## Flatlogic Link Targets 1. https://flatlogic.com/generator?utm_source=ridgecrestchurch.com Title: AI Web Application Generator & App Builder | Flatlogic Priority: 1 Anchor guidance: link to this page as: "web app generator", "AI web app generator", "web app builder", "AI web app builder", etc 2. https://flatlogic.com/services/ai-consulting-services?utm_source=ridgecrestchurch.com Title: AI Consulting Services | Artificial Intelligence Consulting for Business Priority: 1 Anchor guidance: link to this page as "AI consulting, AI consulting services, AI adoption for business, AI Development Services, AI Integration Services, etc" 3. https://appwizzy.com/ Title: AppWizzy - Build Web Apps and Websites with AI Priority: 1 Anchor guidance: Link to this page as "vibe coding tool", "vibe coding platform", "rent VM with Codex", "generate app with AI" 4. https://flatlogic.com/services/custom-web-development-services?utm_source=ridgecrestchurch.com Title: Custom Web Development Services | Flatlogic Priority: 0.9 Anchor guidance: include either as: "custom web development services", "web development services", "web app development services" "web app development company", etc 5. https://flatlogic.com/starting-web-app-in-2025-research-results?utm_source=ridgecrestchurch.com Title: Web App Development Trends 2025: Research Results Priority: 0.83 Anchor guidance: Best internal link anchors Use these as anchors from blog posts, comparison pages, AI generator pages, and research pages: Primary anchors — best overall web app development trends 2025 2025 web app development research how people start web apps in 2025 AI web app development research Flatlogic web app research 2025 AI / vibe-coding focused anchors AI app generators research vibe-coding tools research AI-powered web app generators AI-generated codebase trends vibe-coding adoption in 2025 Low-code / no-code anchors low-code no-code trends 2025 low-code vs AI app generators low-code no-code web app research web app builder trends AI and low-code development trends Framework / technology anchors popular web development frameworks in 2025 React and Node.js trends web development technology trends frontend and backend framework research cloud platform trends for web apps Natural contextual anchors our latest research on starting web apps the 2025 Flatlogic research this year’s web app research results our annual web development survey the full 2025 research results ## Implementation Guidance - Inspect the active theme and current WordPress state first. - If the active theme is `flb` or unsuitable, use wp theme search/list/install/activate via wp-cli, choose a fitting free WordPress.org theme, and record the chosen theme in the final report. - Verify the final header/site identity in addition to the theme. It should not look like an unfinished raw-domain placeholder. - It is acceptable to use wp post create/update with HTML block content. - If you add CSS or a small template tweak, keep it minimal and explain it in the final report. - Include image-related work in the final report: where images were used and whether they came from seed/theme assets or downloaded free-use sources. - After creating pages, flush rewrites and run a quick verification using wp-cli. ## Final Report When you finish, return a concise final report with exactly these human sections: Summary: WP changes: Manual checks: End with these machine-readable markers: ```text WP_PAGE_BATCH_STATUS: WP_PAGES_CREATED_OR_UPDATED: THEME_STATUS: HEADER_IDENTITY_STATUS: LEGAL_PAGES_STATUS: FOOTER_STATUS: FRONT_PAGE_SET: BLOG_INDEX_STATUS: MENU_UPDATED: LEGACY_PATH_STATUS: BACKLINK_PAGE_TARGETS_STATUS: POST_TARGETS_RESERVED: LINK_TARGETS_USED: VERIFICATION: ``` codex I’m reading the site context, agent constraints, and the page-creator instructions first, then I’ll inspect the current WordPress/theme state before making any content changes. exec /bin/bash -lc "sed -n '1,220p' AGENTS.md" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: # Agent Instructions You are operating the website for ridgecrestchurch.com. Before making changes: 1. Read `SITE_CONTEXT.md`. 2. Work only inside this site directory. 3. Keep the site aligned with the topic, required pages, extra requirements, and recovered content map in `SITE_CONTEXT.md`. 4. Prioritize backlink restoration targets from `SITE_CONTEXT.md` and report restored, remapped, or skipped URLs. 5. Place Flatlogic link targets from `SITE_CONTEXT.md` naturally in contextual page/post body content when available and report where they were used. 6. Keep header/site identity intentional: use a visitor-facing brand name, tagline, text logo/wordmark, or logo mark instead of a raw domain placeholder. 7. Keep footer contact/legal links healthy and remove stale seed/theme credits. 8. Prefer small, verifiable changes and report what you changed. Hard rules: - Do not touch files outside this site directory. - Do not expose secrets or credentials in content, commits, logs, or reports. - Do not expose archive/recovery wording, crawler metadata, page counters, or broken source labels in public website content. - Do not expose Flatlogic feed tokens, API URLs, or operational link-placement wording in public website content. - Do not place Flatlogic/AppWizzy links in the footer and do not leave raw seed/theme Flatlogic/AppWizzy footer credit links in public website content. - For WordPress changes, prefer `wp-cli` commands for pages, posts, menus, options, themes, media, and rewrites. - Do not use hardcoded WordPress database table names. Use WP-CLI APIs or get the actual prefix with `wp db prefix` before direct SQL. - Do not depend on Python PIL/Pillow being installed, and do not use `wp media list`; inspect media with `wp post list --post_type=attachment` or WordPress APIs. - If the requested work conflicts with `SITE_CONTEXT.md`, stop and report the conflict instead of guessing. exec /bin/bash -lc "sed -n '1,260p' SITE_CONTEXT.md" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: # Site Context This file is generated from Site Inventory. Update the central site record first, then sync context files again. ## Identity - Domain: ridgecrestchurch.com - Public URL: https://ridgecrestchurch.com - Site path: /home/ubuntu/apps/ridgecrestchurch.com - Restore mode: wordpress - Lifecycle status: wp_provisioning - Language: English ## Topic Church website (Ridgecrest Baptist Church) ## Site Goals - Build and maintain a normal visitor-facing website for this domain. - Use recovered content only as private source material for page intent, structure, and copy direction. - Do not publish archive/recovery wording, crawler metadata, page counters, duplicate menus, or broken navigation labels. - Keep public content clean, current, safe, and useful for visitors. ## Required Pages - Home - About Us - Ministries - Kids - Youth - Events Calendar - News - Contacts - Church Map - Resources ## Recovered Content Map ### 1. Ridgecrest Baptist Church - Path: / - Page type: home Content sections: - Ridgecrest Baptist Church Children & Preschool Meet on Wednesday nights 6:30-8 PM, Preschool in Main Building and Children K-5 in the Children's building. About Us Ministries KIDs Events Calendar YOUTH WHAT TO EXPECT Imagine a church where you could check out Christianity and seek answers to spiritual questions completely without pressure, where the dress is casual, the message is relevant, and you can remain as anonymous as you wish. Through informal and contemporary services, we want to be a… Internal links: - 83 captures: http://www.ridgecrestchurch.com/web/20151103035217*/http://www.ridgecrestchurch.com/ - About Us: http://www.ridgecrestchurch.com/about.html - Ministries: http://www.ridgecrestchurch.com/ministries.html - KIDs: http://www.ridgecrestchurch.com/kids.html - Events Calendar: http://www.ridgecrestchurch.com/events.html - YOUTH: http://www.ridgecrestchurch.com/youth.html Images: - loading: https://web-static.archive.org/_static/images/loading.gif - Logo: http://www.ridgecrestchurch.com/web/20151103035217im_/http://www.ridgecrestchurch.com/images/logo.gif - Service Times: http://www.ridgecrestchurch.com/web/20151103035217im_/http://www.ridgecrestchurch.com/images/service-times.gif - http://www.ridgecrestchurch.com/web/20151103035217im_/http://www.ridgecrestchurch.com/images/div.gif - Events Calendar: http://www.ridgecrestchurch.com/web/20151103035217im_/http://www.ridgecrestchurch.com/images/events.gif - Sermons: http://www.ridgecrestchurch.com/web/20151103035217im_/http://www.ridgecrestchurch.com/images/sermons.gif - Life Groups: http://www.ridgecrestchurch.com/web/20151103035217im_/http://www.ridgecrestchurch.com/images/connect.gif - https://web.archive.org/web/20151103035217im_/https://www.paypalobjects.com/en_US/i/scr/pixel.gif ### 2. Ridgecrest Baptist Church - Path: / - Page type: home Content sections: - Ridgecrest Baptist Church Children & Preschool Meet on Wednesday nights 6:30-8 PM, Preschool in Main Building and Children K-5 in the Children's building. About Us Ministries KIDs Events Calendar YOUTH WHAT TO EXPECT Imagine a church where you could check out Christianity and seek answers to spiritual questions completely without pressure, where the dress is casual, the message is relevant, and you can remain as anonymous as you wish. Through informal and contemporary services, we want to be a… Internal links: - 83 captures: http://ridgecrestchurch.com/web/20130619093042*/http://ridgecrestchurch.com/ - About Us: http://ridgecrestchurch.com/about.html - Ministries: http://ridgecrestchurch.com/ministries.html - KIDs: http://ridgecrestchurch.com/kids.html - Events Calendar: http://ridgecrestchurch.com/events.html - YOUTH: http://ridgecrestchurch.com/youth.html Images: - loading: https://web-static.archive.org/_static/images/loading.gif - Logo: http://ridgecrestchurch.com/web/20130619093042im_/http://ridgecrestchurch.com/images/logo.gif - Service Times: http://ridgecrestchurch.com/web/20130619093042im_/http://ridgecrestchurch.com/images/service-times.gif - http://ridgecrestchurch.com/web/20130619093042im_/http://ridgecrestchurch.com/images/div.gif - Events Calendar: http://ridgecrestchurch.com/web/20130619093042im_/http://ridgecrestchurch.com/images/events.gif - Sermons: http://ridgecrestchurch.com/web/20130619093042im_/http://ridgecrestchurch.com/images/sermons.gif - Life Groups: http://ridgecrestchurch.com/web/20130619093042im_/http://ridgecrestchurch.com/images/connect.gif - recent news: http://ridgecrestchurch.com/web/20130619093042im_/http://ridgecrestchurch.com/images/map-directions.gif ### 3. Ridgecrest Baptist Church - Path: /index.html - Page type: home Content sections: - Ridgecrest Baptist Church Children & Preschool Meet on Wednesday nights 6:30-8 PM, Preschool in Main Building and Children K-5 in the Children's building. About Us Ministries KIDs Events Calendar YOUTH WHAT TO EXPECT Imagine a church where you could check out Christianity and seek answers to spiritual questions completely without pressure, where the dress is casual, the message is relevant, and you can remain as anonymous as you wish. Through informal and contemporary services, we want to be a… Internal links: - 22 captures: http://www.ridgecrestchurch.com/web/20120507045803*/http://www.ridgecrestchurch.com/index.html - About Us: http://www.ridgecrestchurch.com/about.html - Ministries: http://www.ridgecrestchurch.com/ministries.html - KIDs: http://www.ridgecrestchurch.com/kids.html - Events Calendar: http://www.ridgecrestchurch.com/events.html - YOUTH: http://www.ridgecrestchurch.com/youth.html Images: - loading: https://web-static.archive.org/_static/images/loading.gif - Logo: http://www.ridgecrestchurch.com/web/20120507045803im_/http://www.ridgecrestchurch.com/images/logo.gif - Service Times: http://www.ridgecrestchurch.com/web/20120507045803im_/http://www.ridgecrestchurch.com/images/service-times.gif - http://www.ridgecrestchurch.com/web/20120507045803im_/http://www.ridgecrestchurch.com/images/div.gif - Events Calendar: http://www.ridgecrestchurch.com/web/20120507045803im_/http://www.ridgecrestchurch.com/images/events.gif - Sermons: http://www.ridgecrestchurch.com/web/20120507045803im_/http://www.ridgecrestchurch.com/images/sermons.gif - Life Groups: http://www.ridgecrestchurch.com/web/20120507045803im_/http://www.ridgecrestchurch.com/images/connect.gif - http://www.ridgecrestchurch.com/web/20120507045803im_/http://www.ridgecrestchurch.com/images/freedom%20celebration%202012.jpg ### 4. Ridgecrest Baptist Church - Path: /index.html - Page type: home Content sections: - Ridgecrest Baptist Church About Us Ministries KIDs Events Calendar YOUTH WHAT TO EXPECT Imagine a church where you could check out Christianity and seek answers to spiritual questions completely without pressure, where the dress is casual, the message is relevant, and you can remain as anonymous as you wish. Through informal and contemporary services, we want to be a place where you can be yourself no matter where you are at in your spiritual journey . © 2009 Ridgecrest Baptist Church Cont… Internal links: - 22 captures: http://ridgecrestchurch.com/web/20100925215051*/http://ridgecrestchurch.com/index.html - About Us: http://ridgecrestchurch.com/about.html - Ministries: http://ridgecrestchurch.com/ministries.html - KIDs: http://ridgecrestchurch.com/kids.html - Events Calendar: http://ridgecrestchurch.com/events.html - YOUTH: http://ridgecrestchurch.com/youth.html Images: - loading: https://web-static.archive.org/_static/images/loading.gif - Logo: http://ridgecrestchurch.com/web/20100925215051im_/http://ridgecrestchurch.com/images/logo.gif - Service Times: http://ridgecrestchurch.com/web/20100925215051im_/http://ridgecrestchurch.com/images/service-times.gif - http://ridgecrestchurch.com/web/20100925215051im_/http://ridgecrestchurch.com/images/div.gif - Events Calendar: http://ridgecrestchurch.com/web/20100925215051im_/http://ridgecrestchurch.com/images/events.gif - Sermons: http://ridgecrestchurch.com/web/20100925215051im_/http://ridgecrestchurch.com/images/sermons.gif - Life Groups: http://ridgecrestchurch.com/web/20100925215051im_/http://ridgecrestchurch.com/images/connect.gif - recent news: http://ridgecrestchurch.com/web/20100925215051im_/http://ridgecrestchurch.com/images/map-directions.gif ### 5. Ridgecrest Baptist Church-About Us - Path: /about.html - Page type: about Content sections: - Ridgecrest Baptist Church-About Us About Us Ministries KIDs Events Calendar YOUTH ABOUT US 10 CORE VALUES OF R . I . D . G . E . C . R . E . S . T . Make my joy complete by being of the same mind, maintaining the same love, united in spirit, intent on one purpose. Philippians 2:2 (NAS) R esponding to God in worship for Who He is, What He has done and What he will do. So then, my friends, because of God's great mercy to us I appeal to you: Offer yourselves as a living sacrifice to God, dedicated… Internal links: - 14 captures: http://ridgecrestchurch.com/web/20100925215046*/http://ridgecrestchurch.com/about.html - About Us: http://ridgecrestchurch.com/about.html - Ministries: http://ridgecrestchurch.com/ministries.html - KIDs: http://ridgecrestchurch.com/kids.html - Events Calendar: http://ridgecrestchurch.com/events.html - YOUTH: http://ridgecrestchurch.com/youth.html Images: - loading: https://web-static.archive.org/_static/images/loading.gif - Logo: http://ridgecrestchurch.com/web/20100925215046im_/http://ridgecrestchurch.com/images/logo.gif - Service Times: http://ridgecrestchurch.com/web/20100925215046im_/http://ridgecrestchurch.com/images/service-times.gif - http://ridgecrestchurch.com/web/20100925215046im_/http://ridgecrestchurch.com/images/div.gif - pic: http://ridgecrestchurch.com/web/20100925215046im_/http://ridgecrestchurch.com/images/groups.jpg ### 6. News-Ridgecrest Baptist Church - Path: /news.html - Page type: article Content sections: - News-Ridgecrest Baptist Church About Us Ministries Resources Events Calendar Contacts CHURCH NEWS Upcoming Events: 5th Quarter for students 6th-12th Grade . Right after football game until Midnight - Nov 7th Toby Mac Concert - Nov 8th Super Sellabration Craft fair/vendor show/garage sale/pancake breakfast/indian tacos! -Nov 15th All Church Thanksgiving Dinner right after churc… Internal links: - 5 captures: http://ridgecrestchurch.com/web/20160623042123*/http://ridgecrestchurch.com/news.html - About Us: http://ridgecrestchurch.com/about.html - Ministries: http://ridgecrestchurch.com/ministries.html - Resources: http://ridgecrestchurch.com/resources.html - Events Calendar: http://ridgecrestchurch.com/events.html - Contacts: http://ridgecrestchurch.com/contacts.html - Church Map: http://ridgecrestchurch.com/directions.html - Events: http://ridgecrestchurch.com/events.html Images: - loading: https://web-static.archive.org/_static/images/loading.gif - Logo: http://ridgecrestchurch.com/web/20160623042123im_/http://ridgecrestchurch.com/images/logo.gif - Service Times: http://ridgecrestchurch.com/web/20160623042123im_/http://ridgecrestchurch.com/images/service-times.gif - http://ridgecrestchurch.com/web/20160623042123im_/http://ridgecrestchurch.com/images/div.gif ### 7. Contacts-Ridgecrest Baptist Church - Path: /contacts.html - Page type: contact Content sections: - Contacts-Ridgecrest Baptist Church About Us Ministries Resources Events Calendar Contacts CONTACT US Church Staff: David Rivers - Senior Pastor Derreck Fraysur - Children's Pastor Kim Rivers - Youth Ministry Director Delynna Kelley - Preschool/Nursery Director Kim Rivers- Ministry Assistant PHONE : 1·405-387-2811 FAX: 1·405-387-2812 E-MAIL US: ridgecrest@pldi.net Ridgecrest Baptist Church 1118 S. Sara Road Blanchard, OK 73010 MAP & DIRECTIONS » Church Map | Events | Contact… Internal links: - 7 captures: http://ridgecrestchurch.com/web/20131126055955*/http://ridgecrestchurch.com/contacts.html - About Us: http://ridgecrestchurch.com/about.html - Ministries: http://ridgecrestchurch.com/ministries.html - Resources: http://ridgecrestchurch.com/resources.html - Events Calendar: http://ridgecrestchurch.com/events.html - Contacts: http://ridgecrestchurch.com/contacts.html - MAP & DIRECTIONS »: http://ridgecrestchurch.com/directions.html - Church Map: http://ridgecrestchurch.com/directions.html Images: - loading: https://web-static.archive.org/_static/images/loading.gif - Logo: http://ridgecrestchurch.com/web/20131126055955im_/http://ridgecrestchurch.com/images/logo.gif - Service Times: http://ridgecrestchurch.com/web/20131126055955im_/http://ridgecrestchurch.com/images/service-times.gif - http://ridgecrestchurch.com/web/20131126055955im_/http://ridgecrestchurch.com/images/div.gif - Contact Us: http://ridgecrestchurch.com/web/20131126055955im_/http://ridgecrestchurch.com/images/contact-info.gif ### 8. Ridgecrest Church | Bridgecreek | Blanchard | Tuttle - A Purpose Driven Church - Path: /contact.php - Page type: contact - Meta description: Welcome to the Ridgecrest Baptist Church, a southern baptist church where Jesus is Lord. We are located in the bridgecreek Oklahoma area close to Blanchard, Newcastle, Tuttle Oklahoma. We are a purpose driven church with a great youth service as well as other great family related activities in the tri-city Oklahoma Area. If you are looking for a true bible teaching church come to Ridgecrest and hear David Rivers preach this Sunday.. You are invited as our special guest. Content sections: - Ridgecrest Church | Bridgecreek | Blanchard | Tuttle - A Purpose Driven Church Main Menu Ridgecrest Home Service Times Ministries Salvation Event Calendar Mailing List Announcements Contact Us Youth Calendar Contact Us No matter if you are a member of Ridgecrest Church, new to the neighborhood and looking for a church home or just have biblical questions you would like to ask, we are here for you. Please complete the following form and we will get back with you as soon as possible. If you need… Internal links: - 7 captures: http://www.ridgecrestchurch.com/web/20070516055136*/http://www.ridgecrestchurch.com/contact.php - Ridgecrest Home: http://www.ridgecrestchurch.com/index.html - Service Times: http://www.ridgecrestchurch.com/servicetimes.htm - Ministries: http://www.ridgecrestchurch.com/ministries.htm - Salvation: http://www.ridgecrestchurch.com/salvation.htm - Event Calendar: http://www.ridgecrestchurch.com/calendar.htm - Mailing List: http://www.ridgecrestchurch.com/mailinglist.shtml - Announcements: http://www.ridgecrestchurch.com/announcements.php Images: - loading: https://web-static.archive.org/_static/images/loading.gif - http://www.ridgecrestchurch.com/web/20070516055136im_/http://www.ridgecrestchurch.com/protect/formprotector_showcode.php ### 9. Ridgecrest Church | Bridgecreek | Blanchard | Tuttle - A Purpose Driven Church - Path: /contact.htm - Page type: contact - Meta description: Welcome to the Ridgecrest Baptist Church, a southern baptist church where Jesus is Lord. We are located in the bridgecreek Oklahoma area close to Blanchard, Newcastle, Tuttle Oklahoma. We are a purpose driven church with a great youth service as well as other great family related activities in the tri-city Oklahoma Area. If you are looking for a true bible teaching church come to Ridgecrest and hear David Rivers preach this Sunday.. You are invited as our special guest. exec /bin/bash -lc "sed -n '1,260p' wp-content/plugins/flatlogic-page-creator/INSTRUCTIONS.MD" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: # Flatlogic Page Creator You are creating or updating one live WordPress page, or a small batch of initial site pages, inside the current site workspace. This skill is for website pages, not blog posts. Use it for pages such as Home, About, Contact, Services, Website Hosting, Email Hosting, Control Panel, Webmail, Domains & DNS, Security & Backups, Support, Privacy Policy, Terms of Use, Cookie Policy, restored legacy pages, and backlink restoration targets that should behave like pages. Do not use this skill to create article-like backlink targets as pages. Long article slugs, blog/news/resource paths, dated paths, and guide/tutorial/review-style URLs belong to `flatlogic-post-creator` unless the task explicitly says otherwise. Do not stop at writing markdown. The expected output is a real WordPress page created or updated with `wp-cli`. ## Required Reading Before changing anything: 1. Read `AGENTS.md` if it exists. 2. Read `SITE_CONTEXT.md` if it exists. 3. Read `wp-content/plugins/flatlogic-page-creator/context/PRINCIPLES.md`. 4. Read `wp-content/plugins/flatlogic-page-creator/context/FINAL_REQUIREMENTS.MD`. 5. Read the task file or user instruction that launched this run. Treat `SITE_CONTEXT.md` and the task file as the current site contract. If they conflict, prefer the explicit task for this page and explain the conflict in the final report. ## Target Contract Identify the target page before writing: - Page title - Intended slug or path - Public URL, if provided - Language - Page purpose - Primary CTA - Source notes or historical content, if provided - Required internal links - Required external/link-target links, if provided - Backlink restoration status, if this page restores an old URL - Whether this page should be the front page If the task is one item from a larger site build, create or update only this page and the minimum related settings needed for it to work. If the task is explicitly an initial site generation batch, apply this page workflow to every requested page, then configure the Home/front-page setting and primary navigation once at the end. For initial site generation batches, always create or update a Blog index page even when the user did not list it explicitly: - Title: `Blog` - Slug/path: `/blog/` - Purpose: the public index where WordPress posts/articles can always be found. - Configure WordPress `page_for_posts` to the Blog page ID while keeping `show_on_front=page` and `page_on_front` assigned to Home. - Do not move or rewrite legacy post URLs under `/blog/`; `/blog/` is the index, while individual restored posts may keep their exact legacy slugs. - Add Blog to the primary navigation when practical. For initial site generation batches, always create or update these utility/legal pages even when the user did not list them explicitly: - Privacy Policy - Terms of Use - Cookie Policy Write these pages as real, visitor-facing, plain-language policies for this specific site. They should feel maintained by real people, reference the site's actual topic/services/contact path, and explain likely interactions such as contact forms, support requests, account/service inquiries, analytics, security logs, cookies, and email communication when relevant. Do not leave them as placeholder boilerplate, but also do not invent jurisdiction-specific guarantees, compliance claims, company registrations, addresses, certifications, or formal legal advice. ## Theme Requirements For initial site generation, inspect the active theme before writing final content. - The seed theme slug `flb` is only a starting seed/placeholder and is not acceptable as the final public visual theme. - If the active theme is `flb`, visibly branded/mismatched, broken, or too weak for the requested site, choose, install, and activate one suitable free WordPress.org theme yourself. - Do not hardcode a specific theme. Choose a free WordPress.org theme that fits the site topic, language, content structure, and business/content style. - Use `wp theme search`, `wp theme install`, and `wp theme activate` where practical. - Do not install paid themes or third-party zip themes. - After changing the theme, verify homepage rendering, menu locations, footer rendering, page templates, and public URLs. - Report the final active theme and why it was changed or kept. - Configure the site identity/header so the navbar does not show only a raw domain or bare site title. Prefer a simple text logo/wordmark plus a short tagline that fits the site, or a clean generated/WordPress-compatible logo mark if practical. - If the theme supports title/tagline display controls, set them so the header feels intentional and visitor-facing. ## Content Rules - Build a normal visitor-facing page, not a restoration report. - Build substantive pages as polished landing pages, not thin text pages. For Home, service, product, About, Support, and restored commercial pages, plan the page around visitor intent, objections, proof, and one clear CTA before writing. - Major visitor-facing pages should usually have at least 4-5 distinct sections. A strong default structure is: hero/value proposition, problem or audience fit, service/features or offer details, process/how it works, trust/proof/support details, FAQ/objection handling, and final CTA/contact path. - Utility/legal pages may be simpler, but they still need clear headings, useful structure, and a path back to the relevant service/contact pages. - Legal pages should be context-aware and human-readable: describe how this particular site likely collects, uses, protects, and communicates about visitor information, site services, support/contact requests, cookies, acceptable use, and policy updates. Use the site's public contact email/path. - Do not publish a page that is only a short intro plus a list of links unless the task explicitly asks for a directory/index page. - Never publish that the site was restored, reconstructed, generated, historical, based on archives, or based on an old site unless the task explicitly asks for that public messaging. - Use historical/source notes only as private implementation context. - Remove crawler artifacts, archive navigation, duplicated menus, pagination fragments, broken labels, spam text, and unsafe content before publishing. - Do not publish adult, gambling, hacked, parked, spam, pharma, malware, scam, counterfeit, or otherwise harmful content even if it appears in source notes. - Preserve the original site intent, terminology, services, page structure, and tone when clean source notes are available. - If source notes are thin, create a credible modern page that fits the domain topic, required pages, and site context. - Use the page language from the task or site context. - Keep copy specific. Avoid generic filler such as "we are passionate about excellence" unless supported by source context. ## WordPress Implementation Use `wp-cli` where practical. Do not use hardcoded WordPress database table names such as `wp_options`, `wp_posts`, or `wp_postmeta`. Provisioned sites may use a custom table prefix. Prefer `wp option`, `wp post`, `wp menu`, `wp theme`, `wp eval`, and other WP-CLI APIs. If direct SQL is unavoidable, first get the actual prefix with `wp db prefix` and build table names from that prefix. When using `wp eval`, do not assume optional WordPress/theme helper functions are loaded. Guard helper calls with `function_exists()`. For attachment alt text, use `get_post_meta( $id, '_wp_attachment_image_alt', true )` instead of non-core helpers such as `wp_get_attachment_image_alt()`. For Custom CSS, prefer theme mods/options or guard Custom CSS helper calls before using them. Minimum checks: ```bash wp core is-installed wp option get home wp option get siteurl wp theme list --status=active wp option get blogname wp option get blogdescription wp db prefix wp post list --post_type=page --fields=ID,post_title,post_name,post_status --format=table ``` Create or update the page with stable title, slug, content, excerpt/meta description where practical, and requested status. Recommended commands: ```bash wp post create --post_type=page --post_status=publish --post_title="..." --post_name="..." --post_content="$(cat page.html)" --porcelain wp post update "$page_id" --post_title="..." --post_name="..." --post_content="$(cat page.html)" ``` For Home: - Create or update the Home page. - Set `show_on_front=page`. - Set `page_on_front` to the Home page ID. - For initial site builds, create/update the Blog page and set `page_for_posts` to the Blog page ID. - Keep the homepage URL as `/`. For menus: - Add the page to the primary menu only when the task asks for navigation work or when this is part of initial site build. - Do not duplicate existing menu items. - Assign the menu to a suitable theme location when obvious. - For initial site builds, add Blog to the primary menu when practical so visitors can always find published posts. - For initial site builds, add Privacy Policy, Terms of Use, Cookie Policy, and Contact to a footer/utility menu or footer area when practical. - Ensure the public footer shows a visible contact email. Use the default email from the task when provided. - Remove stale seed/theme footer credits, raw Flatlogic/AppWizzy branding links, and unrelated default footer links. - Update `blogname` and `blogdescription` when needed so the header/brand reads like a real site, not a raw domain placeholder. For legacy/backlink URLs: - Restore the exact path when WordPress can represent it cleanly. - If the exact path cannot be represented as a normal WordPress permalink, create the closest stable page and add a safe redirect or rewrite only when you can verify it. - Verify important backlink paths with HTTP checks. - Do not restore post-like backlink targets as pages. If a target is listed as reserved for `flatlogic-post-creator`, leave it for that skill and report it as reserved, not failed. ## Images Use relevant thematic images when practical. - Prefer existing site media or recoverable original assets when they are clean and usable. - Before creating any fallback graphic, search for or select relevant permissively reusable photos or clean illustrations. - Home and core landing/service pages should include relevant thematic imagery or visual proof when a credible asset is available. Prefer photos, real screenshots, product/control-panel captures, diagrams rendered as HTML/CSS, or clean illustrative accents that support the page story. - Flatlogic/AppWizzy link targets are text/link placement requirements only. Do not use Flatlogic, AppWizzy, their products, logos, UI screenshots, brand colors, generated app-builder screens, or visual motifs as image inspiration/source material unless the current site itself is explicitly about those brands. - Do not place Flatlogic/AppWizzy names in image filenames, alt text, captions, metadata, hero visuals, mockups, screenshots, or decorative graphics. Third-party link targets should never make the generated site look like a Flatlogic/AppWizzy property. - Home, service, product, About, Support, and restored commercial landing pages should normally use at least three relevant visual assets across different sections when credible assets are available. A good default is one hero/lead visual, one mid-page explanatory/proof visual, and one supporting section image/icon/card visual. Do not count tiny repeated icons as the whole requirement. - Across an initial site batch, avoid reusing the same image everywhere; vary imagery by page intent when practical. - Prefer simple, natural thematic photos or clean low-text illustrations over generated diagrams. - Do not create complex text-heavy SVGs/infographics/checklists unless the user explicitly requests a diagram. Important copy must live in HTML text, not inside the image. - Avoid images that depend on tiny labels, dense UI-like annotations, or embedded paragraphs because they often crop badly and become unreadable in WordPress layouts. - Do not use generated SVGs as hero images or as the primary/most prominent inline image. Use generated SVGs only for small icons, accents, or secondary decorative visuals. - For hero imagery, use a relevant photo, a real product/control-panel screenshot, or no hero image if no credible asset is available. - If a generated SVG fallback is unavoidable, keep it decorative, simple, and low-text; never use it as the main content, checklist, hero, or lead visual. - Import or register images in the WordPress Media Library. - Add descriptive alt text. - Set a featured image when appropriate. - Include visible inline imagery on major landing/service pages unless the task says not to; aim for at least three useful visuals on substantive landing pages, but prefer fewer credible visuals over filler or off-topic images. - Do not hotlink external image URLs as the final implementation. - Do not depend on Python PIL/Pillow being installed. If image processing libraries are unavailable, use the original safe image asset, register it through WordPress APIs, and fix display size with HTML/CSS/WordPress settings. - Do not use `wp media list`; it may not exist. To inspect media, use `wp post list --post_type=attachment` or WordPress APIs. If `wp media import` fails because GD/Imagick is unavailable, you may register the attachment manually through WordPress APIs, but verify the image renders publicly. After placing an image, verify the public HTML/CSS does not crop it awkwardly or make it nearly invisible. If the image is a poor topical fit, replace it with a simpler relevant image instead of defending it. ## Links - Use useful internal links to related required pages. - Use provided link targets naturally and sparingly. - Keep provided Flatlogic target URLs exactly as rendered, including `utm_source`. - Do not place Flatlogic or AppWizzy links in the footer. Remove raw seed/theme Flatlogic/AppWizzy footer credits and use Flatlogic targets only as contextual body links where they fit. - Do not stuff links. - Use descriptive anchor text, not "click here". - Prefer contextual body placements for Flatlogic link targets. Footer useful-resource links may include neutral public resources such as GitHub, WordPress.org, Cloudflare, or ICANN when relevant, but not Flatlogic/AppWizzy links. ## Verification Before finishing: 1. Verify the page exists with `wp post get`. 2. Verify its URL with `wp post url`. 3. Fetch the public URL or path with `curl -I` or `curl -L`. 4. Confirm the content contains the required headings, CTA, links, and visible image if required. 5. Flush rewrites if slugs, front page, or redirects changed. 6. For initial site builds, verify `/blog/` returns a successful response and `wp option get page_for_posts` points to the Blog page. ## Final Response Contract For a single-page task, end your final message with these machine-readable lines: ```text WP_PAGE_ID: WP_PAGE_STATUS: WP_PAGE_URL: WP_PAGE_PATH: WP_PAGE_TITLE: WP_PAGE_SLUG: <slug or none> FEATURED_IMAGE_ID: <id or none> INLINE_IMAGE_IDS: <comma-separated ids or none> MENU_UPDATED: <yes|no> FRONT_PAGE_SET: <yes|no> LEGACY_PATH_STATUS: <restored|redirected|not_applicable|failed> LINK_TARGETS_USED: <comma-separated urls or none> VERIFICATION: <short result> ``` Also include a short human-readable summary of what changed and any remaining risk. For an initial site generation batch, end your final message with these machine-readable lines instead: ```text WP_PAGE_BATCH_STATUS: <completed|partial|failed> WP_PAGES_CREATED_OR_UPDATED: <title=id=url; title=id=url; ...> THEME_STATUS: <active-theme-slug; changed|kept|partial|failed; reason> HEADER_IDENTITY_STATUS: <configured|partial|failed; brand/tagline/logo summary> LEGAL_PAGES_STATUS: <created|updated|partial|failed> FOOTER_STATUS: <email-and-utility-links-present|partial|failed> FRONT_PAGE_SET: <yes|no> BLOG_INDEX_STATUS: <created|updated|existing|partial|failed; url and page_for_posts summary> MENU_UPDATED: <yes|no> LEGACY_PATH_STATUS: <restored|redirected|not_applicable|partial|failed> BACKLINK_PAGE_TARGETS_STATUS: <restored|redirected|not_applicable|partial|failed> POST_TARGETS_RESERVED: <count and paths or none> LINK_TARGETS_USED: <comma-separated urls or none> VERIFICATION: <short result> ``` exec /bin/bash -lc "rg --files wp-content/plugins/flatlogic-page-creator/context -g '*.md'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: wp-content/plugins/flatlogic-page-creator/context/PRINCIPLES.md codex I have the site contract and page-creator workflow loaded. Next I’m reading the remaining plugin context files and checking the live WordPress state, active theme, menus, and existing pages so I can replace the seed setup cleanly. exec /bin/bash -lc 'find wp-content/plugins/flatlogic-page-creator/context -maxdepth 1 -type f | sort' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: wp-content/plugins/flatlogic-page-creator/context/FINAL_REQUIREMENTS.MD wp-content/plugins/flatlogic-page-creator/context/PRINCIPLES.md exec /bin/bash -lc "sed -n '1,240p' wp-content/plugins/flatlogic-page-creator/context/PRINCIPLES.md" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: Below is the landing-page equivalent of the article SOP: a precise operating system for turning **one SEO keyword or title** into a page that can rank, persuade, convert, and survive scrutiny. The philosophical core is this: > A landing page is not “a page about a thing.” > It is a **conversion contract**: “You arrived with this intent; here is the clearest useful answer, the strongest relevant offer, the proof behind it, and the next action.” A weak landing page tries to look impressive. A strong landing page reduces uncertainty. Or, less politely: the page is guilty until it proves relevance, value, trust, and usability. --- # Landing Page Creation SOP ## Operating definitions Use these before writing copy or opening Figma. **K** = input keyword or title **I** = user intent behind the keyword **U** = target user **J** = user job-to-be-done **O** = offer **P** = page promise **A** = primary action / CTA **C** = material claims **E** = evidence supporting claims **F** = friction **R** = risk / anxiety **M** = measurement plan **Material claim** = any statement that could affect the visitor’s trust, decision, purchase, signup, or willingness to share contact information. Examples: * “Build SaaS apps 10x faster” * “No vendor lock-in” * “Enterprise-grade security” * “Best AI code editor for teams” * “Launch in one week” * “Trusted by 2,000 companies” These are not decorations. They are claims. Claims need evidence. MECLABS’ conversion heuristic is a useful mental model here: conversion depends on motivation, value proposition, incentive, friction, and anxiety. It is not a literal equation to solve, but it is a good checklist for diagnosing why a page does or does not convert. ([MECLABS][1]) My simplified landing-page formula: > **Conversion probability ≈ intent match × value clarity × proof × usability ÷ ambiguity × friction × anxiety** That is the whole game. --- # Minimum publishing standard A serious landing page should not launch until it has: * **1 primary intent** * **1 primary page promise** * **1 primary CTA** * **1 defined user** * **1 defined conversion event** * **5–10 competing or ranking pages reviewed** * **5+ pieces of customer-language evidence** * **3+ proof assets** * **0 unsupported material claims** * **title, H1, meta description, URL slug, internal links, image alt text** * **mobile QA passed** * **form or CTA tested** * **analytics events configured** * **Core Web Vitals target checked** * **legal/compliance review if claims are commercial, comparative, medical, financial, security-related, or testimonial-heavy** Google’s own framing lines up with this: content should be helpful, reliable, people-first, and not primarily created to manipulate rankings. Its helpful-content guidance explicitly asks whether a page provides original information, substantial description, insightful analysis, or value beyond the obvious. ([Google for Developers][2]) --- # 1. Classify the input The input is usually an SEO keyword or title. Examples: * “SaaS AI template vs SaaS boilerplate” * “CI/CD pipeline setup” * “What is an AI agent sandbox?” * “GTM strategy template” * “Low-code vs AI-powered development platforms” * “How to build a community platform quickly” * “From Lovable to production” The first job is not to write. The first job is to identify what kind of page the keyword wants. ## 1.1 Ask: what is the visitor really trying to do? For each keyword, write one answer: > “A person searching this is probably trying to ______.” Examples: **“CI/CD pipeline setup”** A person searching this is probably trying to understand or implement a deployment workflow. **“SaaS AI template vs SaaS boilerplate”** A person searching this is probably comparing two ways to start a SaaS product and wants a recommendation. **“GTM strategy template”** A person searching this wants a usable artifact, not a philosophical essay. **“What is an AI agent sandbox?”** A person searching this wants a definition, boundaries, examples, and why it matters. ## 1.2 Classify intent Use this table. | Intent type | Visitor wants | Best page type | | --------------- | ------------------------------- | ----------------------------- | | Definition | Understand a concept | Explainer landing page | | How-to | Complete a task | Guide / tutorial landing page | | Comparison | Choose between options | Comparison landing page | | Template | Download or use artifact | Resource landing page | | Product/service | Solve a business problem | Offer landing page | | Alternative | Replace current tool | Alternative/comparison page | | Pricing | Evaluate affordability | Pricing or ROI page | | Trust/security | Reduce risk | Trust/security page | | Brand | Find a specific company/product | Brand/product page | ## 1.3 Write the intent sentence Use this exact format: > “This page exists for **[user]** who searched **[keyword]** because they want **[job]**, and the page will help them **[decision/action]**.” Example: > “This page exists for technical founders who searched ‘SaaS AI template vs SaaS boilerplate’ because they want to choose a faster but maintainable way to launch a SaaS product, and the page will help them decide which approach fits their stage, skill level, and customization needs.” ## 1.4 Gate Do not proceed if the page is trying to serve multiple unrelated intents. Bad: > “This page explains CI/CD, sells our DevOps service, ranks for Kubernetes, collects newsletter subscribers, and promotes our AI builder.” That is not a landing page. That is a small nervous breakdown with CSS. --- # 2. Define the conversion objective A landing page must know what “success” means. CXL describes a landing page as a page designed for a specific conversion action, not a general-purpose destination. Their practical rules are familiar but important: don’t send focused traffic to a generic homepage, match the page to visitor intent, make the next action clear, and reduce distractions. ([CXL][3]) ## 2.1 Define the macro-conversion Choose exactly one primary action. Examples: * Book a demo * Start free trial * Download template * Request quote * Create account * Join waitlist * Subscribe * Buy * Contact sales * Use calculator * Compare options Write: > “The primary conversion is: ______.” ## 2.2 Define micro-conversions Every landing page asks for a chain of “micro-yeses.” The visitor must say: 1. Yes, this is relevant. 2. Yes, I understand the offer. 3. Yes, this seems valuable. 4. Yes, I believe the claims. 5. Yes, this fits my situation. 6. Yes, the risk is acceptable. 7. Yes, I will take the action. For each micro-yes, write what the page must show. | Micro-yes | Page must provide | | -------------- | ------------------------------------------ | | Relevance | Keyword-matched headline and context | | Understanding | Clear promise and simple explanation | | Value | Benefits, outcomes, comparison | | Trust | Proof, sources, testimonials, screenshots | | Fit | Use cases, who it is for / not for | | Risk reduction | FAQ, privacy, pricing, process, guarantees | | Action | Clear CTA and low-friction form | ## 2.3 Define measurement At minimum, configure: * page view * primary CTA click * form start * form submit * demo booked / download completed / signup completed * scroll depth * pricing click, if relevant * outbound click, if relevant * video start / complete, if relevant GA4 defines a key event as an action important to the business, and lets you mark important events accordingly for reporting and attribution. ([Google Help][4]) ## 2.4 Gate If there are three equally prominent CTAs, the page has not made a decision. Acceptable: * Primary CTA: “Book a demo” * Secondary CTA: “See example” * Tertiary link: “Read docs” Not acceptable: * “Book a demo” * “Start trial” * “Download guide” * “Subscribe” exec /bin/bash -lc 'wp menu list' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc 'wp core is-installed && wp option get home && wp option get siteurl && wp theme list --status=active && wp option get blogname && wp option get blogdescription && wp db prefix && wp post list --post_type=page --fields=ID,post_title,post_name,post_status --format=table' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 489ms: term_id name slug locations count succeeded in 6095ms: https://ridgecrestchurch.com https://ridgecrestchurch.com name status update version update_version auto_update flb active none 1.0 off ridgecrestchurch.com flbg_ ID post_title post_name post_status exec /bin/bash -lc "sed -n '1,240p' wp-content/plugins/flatlogic-page-creator/context/FINAL_REQUIREMENTS.MD" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: # Final Requirements for WordPress Pages The final deliverable is a published or drafted WordPress page, or a small batch of initial site pages, not a markdown draft. ## Page Quality - The page has one clear purpose and one primary visitor intent. - The page title, slug, H1/page heading, and opening section match that intent. - The page has a clear primary CTA and, when useful, one secondary CTA. - Major visitor-facing pages are built as landing pages, not thin text pages. - Home, service, product, About, Support, and restored commercial pages should usually contain at least 4-5 meaningful sections. A good default set is: hero/value proposition, audience/problem fit, service/features or offer details, process/how it works, trust/proof/support details, FAQ/objections, and final CTA/contact path. - Utility/legal pages may be simpler, but should still be structured and useful. - Privacy Policy, Terms of Use, and Cookie Policy pages should feel real and site-specific, not placeholder boilerplate. They should reference the site's actual topic/services, public contact path, visitor/support/account interactions, cookies/analytics/security logs when relevant, and policy-update expectations. - The copy is specific to the domain topic and avoids generic filler. - The page is scannable with meaningful sections, short paragraphs, and useful lists where appropriate. - The page includes trust-building details such as process, service scope, support, proof, FAQ, contact path, or operational clarity when relevant. - The page does not make unsupported claims about pricing, guarantees, uptime, legal compliance, certifications, medical/financial outcomes, security, or endorsements. ## WordPress Requirements - Create or update a WordPress page with `wp-cli`. - Do not use hardcoded WordPress database table names such as `wp_options`, `wp_posts`, or `wp_postmeta`. Use WP-CLI APIs where possible; if SQL is unavoidable, get the actual table prefix with `wp db prefix`. - For initial site generation, inspect the active theme and do not leave the seed `flb` theme as the final public theme unless WordPress.org theme installation is blocked. - When the active theme is `flb`, visibly branded/mismatched, broken, or unsuitable, choose, install, and activate one suitable free WordPress.org theme. Do not hardcode a specific theme; choose based on the site topic and brief. - Verify homepage rendering, menus, footer, and page templates after any theme change. - The header/site identity should feel intentional. Do not leave the navbar showing only a raw domain or bare placeholder title. Use a readable brand name plus a short tagline, text logo/wordmark, or clean logo mark when practical. - Use a stable slug that matches the requested page or restored URL intent. - Keep the page status aligned with the task, defaulting to `publish` for initial site generation unless instructed otherwise. - For Home, set it as the static front page. - For initial site generation, always create or update a Blog page at `/blog/` and set `page_for_posts` to that Blog page ID. Keep individual post URLs unchanged, especially restored legacy post slugs. - For initial site generation, add the page to the primary navigation without duplicating menu items. - For initial site generation, add Blog to the primary navigation when practical so published posts always have a public index. - For initial site generation, always create or update Privacy Policy, Terms of Use, and Cookie Policy pages, even if they were not listed as required pages. - Keep legal/utility pages safe and plain-language, but context-aware. Do not invent jurisdiction-specific legal guarantees, compliance claims, formal legal advice, company registrations, addresses, certifications, or regulatory promises. - Flush rewrites after front-page, permalink, menu, slug, or redirect changes. ## Source and Restoration Requirements - Use clean historical/source notes as private context only. - Restore clean page intent, services, terminology, headings, and useful copy when available. - Do not publish archive/crawler text, Wayback labels, capture metadata, spam, hacked text, adult content, gambling content, parked-domain text, or unrelated boilerplate. - If a backlink target has an exact URL/path, restore that path or create a verified redirect to the best matching page. - Do not create pages for article-like backlink targets reserved for `flatlogic-post-creator`. Those targets should become posts or safe redirects in a post-creator run. ## Image Requirements - Major landing/service pages should include visible inline imagery unless the task says not to. Home, service, product, About, Support, and restored commercial landing pages should normally include at least three relevant visual assets across different sections when credible assets are available. - Use relevant thematic images. - Before generating fallback graphics, first try clean original/recovered assets or relevant permissively reusable photos/illustrations. - Home and core landing/service pages should include relevant thematic imagery or visual proof when a credible asset is available. Use photos, real screenshots, product/control-panel captures, or clean illustrative accents that support the section story. - Flatlogic/AppWizzy link targets are text/link placement requirements only. Do not use Flatlogic, AppWizzy, their products, logos, UI screenshots, brand colors, generated app-builder screens, or visual motifs as image inspiration/source material unless the current site itself is explicitly about those brands. - Do not place Flatlogic/AppWizzy names in image filenames, alt text, captions, metadata, hero visuals, mockups, screenshots, or decorative graphics. Third-party link targets should never make the generated site look like a Flatlogic/AppWizzy property. - A good landing-page visual mix is one hero/lead visual, one mid-page explanatory/proof visual, and one supporting section image/icon/card visual. Do not satisfy this with repeated tiny icons, filler stock, or off-topic images. - Avoid using the same image as the main visual on every page in an initial site batch. - Prefer simple thematic photos or clean low-text illustrations. Do not generate complex text-heavy SVG infographics/checklists unless the user explicitly asks for a diagram. - Important copy belongs in HTML text, not embedded inside images. - Do not use generated SVGs as hero images or as the primary inline image. Hero imagery should be a relevant photo, a real product/control-panel screenshot, or omitted when no credible asset exists. - Prefer clean original/recovered assets when available. - Import or register images in WordPress Media Library. - Add descriptive alt text. - Set a featured image when appropriate. - Verify that the image appears in public HTML, not only as hidden metadata. - Verify the image is not awkwardly cropped, nearly invisible, or off-topic. - Do not depend on Python PIL/Pillow being installed. If image processing libraries are unavailable, use the original safe image asset, register it through WordPress APIs, and fix display size with HTML/CSS/WordPress settings. - Do not use `wp media list`; inspect media with `wp post list --post_type=attachment` or WordPress APIs. ## Link Requirements - Add relevant internal links to related pages. - Use required Flatlogic/link-target URLs naturally when they are present in site context. - Keep provided Flatlogic target URLs exactly as rendered, including `utm_source`. - Use descriptive anchor text. - Do not over-optimize, stuff links, or place unrelated links. - Prefer contextual body placements for Flatlogic/link-target URLs. - Do not place Flatlogic or AppWizzy links in the footer. Remove raw seed/theme footer links to `flatlogic.com`, AppWizzy, or unrelated branding. - Preserve required footer/useful-links requirements when editing footer-like pages or reusable footer content. ## Footer Requirements - The public footer should show a visible contact email. - The public footer should link to Privacy Policy, Terms of Use, Cookie Policy, and Contact when practical. - The public footer should not contain stale seed/theme credits, unrelated default links, or raw Flatlogic/AppWizzy branding links. ## SEO and Metadata - Use a concise SEO title and meta description when the active plugins/theme make that practical through `wp-cli`. - Use one clear H1/page title. - Use H2/H3 sections that answer visitor questions. - Use descriptive image alt text. - Keep URLs clean and readable. ## Verification Requirements Before final response, verify: - `wp post get <id>` succeeds. - `wp post url <id>` returns the expected URL. - Public URL returns a successful HTTP response or the intended redirect. - Required links are present. - Required image is visible in rendered page HTML when applicable. - Home/front-page settings are correct when editing Home. - Blog page exists at `/blog/`, `page_for_posts` points to it, and the public URL returns a successful response for initial site generation. - Privacy Policy, Terms of Use, and Cookie Policy exist for initial site generation. - Footer contains contact email and utility/legal links for initial site generation. - Footer does not contain a raw seed/theme Flatlogic/AppWizzy credit link. - Active theme is suitable for the site, and initial site generation does not leave `flb` as the final active theme unless theme installation was blocked and reported. - Header/site identity is visitor-facing and does not look like an unfinished raw-domain placeholder. ## Final Markers The final response must include these exact marker names: ```text WP_PAGE_ID: WP_PAGE_STATUS: WP_PAGE_URL: WP_PAGE_PATH: WP_PAGE_TITLE: WP_PAGE_SLUG: FEATURED_IMAGE_ID: INLINE_IMAGE_IDS: MENU_UPDATED: FRONT_PAGE_SET: LEGACY_PATH_STATUS: LINK_TARGETS_USED: VERIFICATION: ``` For initial site generation batches, use these exact marker names: ```text WP_PAGE_BATCH_STATUS: WP_PAGES_CREATED_OR_UPDATED: THEME_STATUS: HEADER_IDENTITY_STATUS: LEGAL_PAGES_STATUS: FOOTER_STATUS: FRONT_PAGE_SET: BLOG_INDEX_STATUS: MENU_UPDATED: LEGACY_PATH_STATUS: BACKLINK_PAGE_TARGETS_STATUS: POST_TARGETS_RESERVED: LINK_TARGETS_USED: VERIFICATION: ``` codex The current site is essentially empty on the `flb` seed theme with no pages or menus, so I’m replacing the theme, then I’ll build the full page set, navigation, footer utility links, and media in one pass. Initial WordPress build from an empty seed install. I’ll switch to a suitable free theme first, then create pages/media, wire navigation and footer utilities, and verify the public routes. → Inspect available themes, media/assets, and current WordPress settings • Install and activate a suitable free theme; configure site identity and footer/menu capabilities • Create/update required pages, blog index, and legal pages with polished visitor-facing content and images • Configure front page, posts page, primary/footer menus, and clean footer output • Flush rewrites and verify page URLs, blog index, footer links, and backlink target coverage exec /bin/bash -lc 'wp theme search church --per-page=15' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc 'wp plugin list' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc "find wp-content/uploads -maxdepth 3 -type f | sed 's#"'^#/#'"' | sort | sed -n '1,200p'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: /wp-content/uploads/flatlogic-page-tasks/job-44/task.md exec /bin/bash -lc 'wp post list --post_type=attachment --fields=ID,post_title,post_mime_type,guid --format=table' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 493ms: ID post_title post_mime_type guid succeeded in 1254ms: Success: Showing 15 of 86 themes. name slug rating Church church 92 Church Community church-community 0 OzenEra Church ozenera-church 0 FSE Church fse-church 0 Church WDA church-wda 0 ST Church st-church 0 Faith Church faith-church 0 Church FSE church-fse 90 Church Services church-services 0 VW Church vw-church 0 Church Lite church-lite 0 The Church Lite the-church-lite 100 The Fundraiser the-fundraiser 0 Reunionary reunionary 0 Cleaning Light cleaning-light 100 succeeded in 1611ms: name status update version update_version auto_update advanced-custom-fields active available 5.9.3 6.8.0 off all-in-one-wp-migration active available 7.86 7.105 off flatlogic-geo active none 3.0.0 off cyr3lat active available 3.5 3.7.3 off flatlogic-codex-loop active none 0.1.0 off gutenberg inactive available 9.5.2 23.0.1 off internal-links inactive available 2.24.4 2.26.0 off internal-links-premium active none 2.25.2 off better-wp-security inactive available 7.9.0 9.4.7 off schema-and-structured-data-for-wp inactive available 1.26 1.59 off wp-smush-pro active available 3.22.1 4.0.3 off wordpress-popular-posts active available 6.3.4 7.3.8 off wpmudev-updates active available 4.11.29 4.11.30 off duplicate-post active available 3.2.6 4.6 off wordpress-seo active available 26.2 27.5 off wordpress-seo-premium active none 26.2 off exec /bin/bash -lc 'wp theme search nonprofit --per-page=10' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc 'wp theme search community --per-page=10' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc 'wp theme search ministry --per-page=10' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 1235ms: Success: Showing 10 of 226 themes. name slug rating Church Community church-community 0 Responsive Community responsive-community 0 Nonprofit Give nonprofit-give 0 Fundraiser Nonprofit fundraiser-nonprofit 0 The Fundraiser the-fundraiser 0 Business Association business-association 0 Funeral Services funeral-services 0 Charity Trust charity-trust 0 Day Camp day-camp 0 Exercise Workout Studio exercise-workout-studio 0 succeeded in 1240ms: Success: Showing 10 of 64 themes. name slug rating Nonprofit Give nonprofit-give 0 Fundraiser Nonprofit fundraiser-nonprofit 0 Crowdfunding Nonprofit crowdfunding-nonprofit 0 Charity and Nonprofit charity-and-nonprofit 0 Pixel Charity Nonprofit pixel-charity-nonprofit 0 Charity Nonprofit charity-nonprofit 0 FSE Nonprofit NGO fse-nonprofit-ngo 0 Nonprofit Foundation nonprofit-foundation 0 Nonprofit Organization nonprofit-organization 0 The Fundraiser the-fundraiser 0 succeeded in 1208ms: Success: Showing 4 of 4 themes. name slug rating SKT Religious skt-religious 0 Church Services church-services 0 VW Church vw-church 0 Prayer Lite prayer-lite 100 exec /bin/bash -lc 'ls -1 wp-content/themes' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: flb index.php twentytwentyfive exec /bin/bash -lc 'curl -I -L --max-redirs 5 https://ridgecrestchurch.com/' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc "find wp-content/themes/flb -maxdepth 2 -type f | sort | sed -n '1,200p'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: wp-content/themes/flb/404.php wp-content/themes/flb/LICENSE wp-content/themes/flb/README.md wp-content/themes/flb/archive.php wp-content/themes/flb/author.php wp-content/themes/flb/blog_page.php wp-content/themes/flb/comments.php wp-content/themes/flb/css/application.css wp-content/themes/flb/css/application.css.map wp-content/themes/flb/css/application.min.css wp-content/themes/flb/footer.php wp-content/themes/flb/functions.php wp-content/themes/flb/header.php wp-content/themes/flb/img/Altan.png wp-content/themes/flb/img/CSS3.png wp-content/themes/flb/img/HTML5.png wp-content/themes/flb/img/about-bg.jpg wp-content/themes/flb/img/angular.png wp-content/themes/flb/img/backbone.png wp-content/themes/flb/img/background.png wp-content/themes/flb/img/background_new.png wp-content/themes/flb/img/bg-work.png wp-content/themes/flb/img/careers-bg.jpeg wp-content/themes/flb/img/clients.png wp-content/themes/flb/img/d3.png wp-content/themes/flb/img/daniel.jpg wp-content/themes/flb/img/favicon.png wp-content/themes/flb/img/favicon.psd wp-content/themes/flb/img/favicon1.png wp-content/themes/flb/img/flatlogic-test.png wp-content/themes/flb/img/hands.svg wp-content/themes/flb/img/java.png wp-content/themes/flb/img/javascript.png wp-content/themes/flb/img/js.svg wp-content/themes/flb/img/lifebuoy.svg wp-content/themes/flb/img/logo.jpg wp-content/themes/flb/img/logo.svg wp-content/themes/flb/img/map.png wp-content/themes/flb/img/map.svg wp-content/themes/flb/img/node-js.png wp-content/themes/flb/img/open-source.png wp-content/themes/flb/img/quoteMark.png wp-content/themes/flb/img/quoteMark.svg wp-content/themes/flb/img/rails.png wp-content/themes/flb/img/react.png wp-content/themes/flb/img/search-icon.svg wp-content/themes/flb/img/search.svg wp-content/themes/flb/img/services-bg.jpg wp-content/themes/flb/img/services.png wp-content/themes/flb/img/slogan-bg.jpeg wp-content/themes/flb/img/slogan-products.png wp-content/themes/flb/img/target.svg wp-content/themes/flb/img/team.png wp-content/themes/flb/img/tobias.png wp-content/themes/flb/img/web-bg.jpg wp-content/themes/flb/img/web-services.png wp-content/themes/flb/img/wordpress.png wp-content/themes/flb/img/world-map.svg wp-content/themes/flb/inc/custom-header.php wp-content/themes/flb/inc/customizer.php wp-content/themes/flb/inc/jetpack.php wp-content/themes/flb/inc/pagination.php wp-content/themes/flb/inc/template-functions.php wp-content/themes/flb/inc/template-tags.php wp-content/themes/flb/index.php wp-content/themes/flb/js/app.js wp-content/themes/flb/js/customizer.js wp-content/themes/flb/js/navigation.js wp-content/themes/flb/js/skip-link-focus-fix.js wp-content/themes/flb/languages/flb.pot wp-content/themes/flb/languages/readme.txt wp-content/themes/flb/layouts/content-sidebar.css wp-content/themes/flb/layouts/sidebar-content.css wp-content/themes/flb/page.php wp-content/themes/flb/phpcs.xml.dist wp-content/themes/flb/readme.txt wp-content/themes/flb/rtl.css wp-content/themes/flb/screenshot.png wp-content/themes/flb/search.php wp-content/themes/flb/searchform.php wp-content/themes/flb/sidebar.php wp-content/themes/flb/single.php wp-content/themes/flb/style.css wp-content/themes/flb/template-parts/content-header.php wp-content/themes/flb/template-parts/content-new.php wp-content/themes/flb/template-parts/content-none.php wp-content/themes/flb/template-parts/content-page.php wp-content/themes/flb/template-parts/content-search.php wp-content/themes/flb/template-parts/content-single.php wp-content/themes/flb/template-parts/content-sub-footer.php wp-content/themes/flb/template-parts/content-sub-header.php wp-content/themes/flb/template-parts/content.php wp-content/themes/flb/template-parts/hero-content.php wp-content/themes/flb/template-parts/hero-sidebar.php wp-content/themes/flb/template-parts/hero.php succeeded in 1352ms: 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 HTTP/2 200 date: Thu, 07 May 2026 09:37:14 GMT content-type: text/html; charset=UTF-8 cache-control: max-age=172800, public link: <https://ridgecrestchurch.com/wp-json/>; rel="https://api.w.org/" server: cloudflare cf-cache-status: DYNAMIC report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=ZrjImqWVo8aAXrBDXV75MKHildCaqLPR5bL8lgNte2HFS5ewmXhXEkA7HRXtVepudR78w2fP%2FyAzaIIVBlX79NJlrbvnYli2RrmWTLsf7yBehQG7ooC1W03kMhVbzCn0Qx3omSUKNQ%3D%3D"}]} nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} cf-ray: 9f7f3ea758a4be17-WAW alt-svc: h3=":443"; ma=86400 codex I’ve confirmed the site is live but empty. I’m switching off the Flatlogic seed theme now so the pages, menus, and footer can be built against a real public theme. exec /bin/bash -lc 'wp theme install church --activate' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 10588ms: Installing Church (0.7.7) Downloading installation package from https://downloads.wordpress.org/theme/church.0.7.7.zip... Unpacking the package... Installing the theme... This theme requires a parent theme. Checking if it is installed... Preparing to install Omega 1.3.0... Downloading installation package from https://downloads.wordpress.org/theme/omega.1.3.0.zip... Unpacking the package... Installing the theme... Theme installed successfully. Theme installed successfully. Activating 'church'... Success: Switched to 'Church' theme. Success: Installed 1 of 1 themes. exec /bin/bash -lc 'wp theme list' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc 'wp menu location list' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc "find wp-content/themes/church -maxdepth 2 -type f | sort | sed -n '1,200p'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: wp-content/themes/church/functions.php wp-content/themes/church/header-right.php wp-content/themes/church/images/bg.png wp-content/themes/church/images/button.png wp-content/themes/church/images/header.jpg wp-content/themes/church/js/tinynav.js wp-content/themes/church/languages/church.pot wp-content/themes/church/page-full-width.php wp-content/themes/church/page-left-sidebar.php wp-content/themes/church/readme.txt wp-content/themes/church/screenshot.png wp-content/themes/church/style.css wp-content/themes/church/woocommerce.php exec /bin/bash -lc "curl -L --max-redirs 5 https://ridgecrestchurch.com/ | sed -n '1,220p'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 618ms: location description primary Primary succeeded in 617ms: 100 16401 0 16401 0 0 25642 0 --:--:-- --:--:-- --:--:-- 25626 100 23685 0 23685 0 0 37014 0 --:--:-- --:--:-- --:--:-- 37007 <!DOCTYPE html> <html lang="en-US"> <head> <meta charset="UTF-8"> <link rel="profile" href="https://gmpg.org/xfn/11"> <meta name='robots' content='index, follow, max-image-preview:large, max-snippet:-1, max-video-preview:-1' /> <style>img:is([sizes="auto" i], [sizes^="auto," i]) { contain-intrinsic-size: 3000px 1500px }</style> <meta name="viewport" content="width=device-width" /> <meta name="generator" content="WordPress 6.8.3" /> <!-- This site is optimized with the Yoast SEO Premium plugin v26.2 (Yoast SEO v26.2) - https://yoast.com/wordpress/plugins/seo/ --> <title>ridgecrestchurch.com -

It seems we can’t find what you’re looking for. Perhaps searching can help.

succeeded in 4423ms: name status update version update_version auto_update church active none 0.7.7 off flb inactive none 1.0 off omega parent none 1.3.0 off twentytwentyfive inactive available 1.3 1.4 off codex The theme is active and workable, but it still exposes default credits and leftover seed metadata. I’m checking the task file and the old site assets now so I can build the pages with site-specific copy and imagery rather than generic filler. exec /bin/bash -lc "sed -n '1,260p' wp-content/uploads/flatlogic-page-tasks/job-44/task.md" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: # Initial WordPress Page Generation Task You are working directly inside the live WordPress root directory for domain "ridgecrestchurch.com". Task type: create the initial visitor-facing WordPress pages using the Flatlogic Page Creator skill. ## Required Runtime - First read `SITE_CONTEXT.md` and `AGENTS.md` in this WordPress root. - Then read `wp-content/plugins/flatlogic-page-creator/INSTRUCTIONS.MD`. - Then read every markdown file in `wp-content/plugins/flatlogic-page-creator/context/`. - Follow the page-creator instructions as the primary content workflow. ## Mandatory Rules - Work only inside the current WordPress directory. - Do not touch files outside this site directory. - Treat `SITE_CONTEXT.md` as private implementation context, not public website copy. - Do not recreate WordPress, do not remove `wp-config.php`, and do not create or drop databases or database users. - Do not install system packages, containers, or services. - Prefer WordPress CLI commands for content and settings: `wp post`, `wp option`, `wp menu`, `wp term`, `wp rewrite`, `wp cache`. - Do not use hardcoded WordPress database table names such as `wp_options`, `wp_posts`, or `wp_postmeta`. Provisioned sites may use a custom table prefix. Prefer WP-CLI APIs; if direct SQL is unavoidable, first get the actual prefix with `wp db prefix`. - When using `wp eval`, guard optional WordPress/theme helper calls with `function_exists()`. For attachment alt text, use `get_post_meta( $id, '_wp_attachment_image_alt', true )`; do not assume helpers such as `wp_get_attachment_image_alt()` or Custom CSS helper functions exist. - Inspect the active theme before creating content. The seed theme slug `flb` is only a starting seed/placeholder and is not acceptable as the final public visual theme. - Choose, install, and activate one suitable free WordPress.org theme yourself when the active theme is `flb`, visibly branded/mismatched, broken, or too weak for the requested site. Do not use a hardcoded theme choice; pick a free theme that fits the domain topic and brief. - Use only themes available through `wp-cli` / WordPress.org; do not install paid themes or third-party zip themes. - Prefer lightweight, actively maintained, broadly compatible themes with clean business layouts. - Do not install more than one theme unless the first install fails or proves incompatible. - If you change the theme, verify and adapt menu locations, homepage rendering, footer rendering, and page templates after activation. - The final active theme should not remain `flb` unless WordPress.org theme installation is unavailable. If blocked, report the blocker and mark the theme status partial/failed. - Configure the site identity/header so the navbar does not show only a raw domain or bare site title. Prefer a simple text logo/wordmark plus a short tagline that fits the site, or a clean generated/WordPress-compatible logo mark if practical. - Update `blogname` and `blogdescription` when needed so the header/brand reads like a real visitor-facing site. - Preserve existing plugins unless a small content/theme adjustment is clearly needed. - Create or update the requested pages as WordPress pages, not posts, static HTML files, or markdown drafts. - Use stable, readable slugs for every page. - If `SITE_CONTEXT.md` includes Backlink Restoration Targets, prioritize only the page-like targets listed in this task's Page Creator scope. - Do not create WordPress pages for targets listed under Post Creator Reserved Targets. Those should become posts later through `flatlogic-post-creator`, or be remapped by that post task if unsafe/off-topic. - Preserve exact page-like legacy paths/slugs where practical, including .html/.htm/.php paths if WordPress accepts them; otherwise create the nearest visitor-friendly equivalent and report the remap. - Set the Home page as the static front page when a Home page is requested. - Always create or update a Blog page at `/blog/` for new WordPress sites and configure `page_for_posts` to the Blog page ID. Add Blog to the primary navigation when practical so all WordPress posts have a public index. - Do not move restored post-like backlink targets under `/blog/`; `/blog/` is the index, while individual restored posts should keep exact legacy slugs where WordPress can represent them. - Always create or update these utility/legal pages for new WordPress sites even if they are not listed in Required Pages: Privacy Policy, Terms of Use, Cookie Policy. - Write Privacy Policy, Terms of Use, and Cookie Policy as real, plain-language, site-specific pages. Tie them to this site's topic/services, contact/support paths, visitor/account/service inquiries, cookies/analytics/security logs when relevant, and policy updates. - Keep utility/legal pages safe: do not invent jurisdiction-specific legal guarantees, compliance claims, formal legal advice, company registrations, addresses, certifications, or regulatory promises. - Create a primary navigation menu that links the requested pages when the active theme supports menus. - Add Privacy Policy, Terms of Use, Cookie Policy, and Contact to a footer/utility menu or footer area when practical. - Ensure the public footer shows a visible contact email. Use admin@ridgecrestchurch.com unless the site context provides a better public contact email. - Remove stale seed/theme footer credits, raw Flatlogic/AppWizzy branding links, and unrelated default footer links. - Keep the site usable if a menu location or theme feature is missing; do not fail just because a theme location is unavailable. - Avoid lorem ipsum, placeholders, fake testimonials, and unverifiable claims. - Make the copy specific to the provided topic and brief. - Build major visitor-facing pages as polished landing pages, not thin text pages. Home, service, product, About, Support, and restored commercial pages should usually have at least 4-5 meaningful sections. - Plan landing sections around visitor intent before writing: hero/value proposition, audience/problem fit, service/features or offer details, process/how it works, trust/proof/support details, FAQ/objection handling, and final CTA/contact path. Utility/legal pages may be simpler but still need useful structure. - Do not publish a page that is only a short intro plus a list of links unless the task explicitly asks for a directory/index page. - Treat any historical/archive/source material as private implementation context only. - Do not mention that the website was restored, reconstructed, generated, rebuilt, based on history, based on archives, or copied from an original/old site in any public page title, heading, paragraph, menu item, meta description, alt text, footer, or visible content. - Clean imported archive text before publishing it: remove crawler/navigation artifacts, pagination labels, ">>Next", "Previous", "Next", "page X of Y", duplicate menus, broken labels, boilerplate, and any unsafe flagged content. - Write the final site as a normal live business/content website for visitors, not as a restoration report. - Use relevant thematic images, not placeholder graphics. Import images into the WordPress Media Library and place them in the homepage and important supporting pages. - Use only existing seed/theme assets or images that are free for commercial use / royalty-free / public-domain / permissively licensed. Do not hotlink third-party images directly from page content. - Before creating any fallback graphic, search for or select a relevant free-use photo or clean illustration. - Home and core landing/service pages should include relevant thematic imagery or visual proof when a credible asset is available. Vary imagery by page intent where practical instead of repeating one generic visual across the site. - Home, service, product, About, Support, and restored commercial landing pages should normally include at least three relevant visual assets across different sections when credible assets are available. Aim for a hero/lead visual, a mid-page explanatory/proof visual, and one supporting section image/icon/card visual. Do not count repeated tiny icons or filler stock as the whole visual plan. - Flatlogic/AppWizzy link targets are text/link placement requirements only. Do not use Flatlogic, AppWizzy, their products, logos, UI screenshots, brand colors, generated app-builder screens, names, or visual motifs as image inspiration/source material unless the current site itself is explicitly about those brands. - Do not place Flatlogic/AppWizzy names in image filenames, alt text, captions, metadata, hero visuals, mockups, screenshots, or decorative graphics. Third-party link targets should never make the generated site look visually affiliated with Flatlogic/AppWizzy. - Prefer simple thematic photos or clean low-text illustrations. Do not generate complex text-heavy SVG infographics/checklists unless the user explicitly asks for a diagram. Important copy belongs in HTML text, not embedded inside images. - Do not use generated SVGs as hero images or as the primary/most prominent inline image. Hero imagery should be a relevant photo, a real product/control-panel screenshot, or omitted when no credible asset exists. - Verify placed images are not awkwardly cropped, nearly invisible, or off-topic for the page. - Prefer `wp-cli` media commands or WordPress media APIs for image import/attachment, add descriptive alt text, and set featured images when the active theme uses them. - Do not depend on Python PIL/Pillow being installed. If image processing libraries are unavailable, use the original safe image asset, register it through WordPress APIs, and fix display size with HTML/CSS/WordPress settings. Do not use `wp media list`; inspect media with `wp post list --post_type=attachment` or WordPress APIs. - If internet image download is unavailable, use thematically appropriate existing assets if possible; otherwise report the image-download blocker clearly instead of pretending placeholders satisfy the requirement. - If Flatlogic link targets are provided, place 3-5 of them naturally in the public site when possible. Prefer relevant contextual body links inside page content. - Use the provided anchor guidance naturally; do not repeat identical anchors, do not keyword-stuff, and do not add all feed links blindly. - Use the rendered Flatlogic target URLs exactly, including the site-specific `utm_source` value. - Do not place Flatlogic or AppWizzy links in the footer. Remove stale seed/theme footer credits and use Flatlogic targets only as contextual body links where they fit. - Do not expose Flatlogic feed tokens, API URLs, internal priority data, or operational link-placement wording in public content. - Include Flatlogic link placements in the final WP changes section: target URL, anchor text, and page/location. - Keep credentials and secrets out of page content and out of the final report. ## Site Details - Domain: ridgecrestchurch.com - Site label: ridgecrestchurch.com - Topic / niche: Church website (Ridgecrest Baptist Church) - Language: English - Default public footer email: admin@ridgecrestchurch.com ## Required Pages To Create Or Update - Home - About Us - Ministries - Kids - Youth - Events Calendar - News - Contacts - Church Map - Resources ## Backlink Target Split Page Creator scope: restore these page-like backlink targets as WordPress pages or verified page redirects when practical: - #1 / - Canonical URL: https://ridgecrestchurch.com/ - Suggested type: page - Link metrics: 50 referring domains, 175 backlinks, 173 referring pages - URL variants: http://ridgecrestchurch.com/, http://www.ridgecrestchurch.com/, https://ridgecrestchurch.com/, https://www.ridgecrestchurch.com/ Post Creator reserved targets: do not create WordPress pages for these. They should be handled by `flatlogic-post-creator` after the initial pages are ready: - None. Redirect-only targets: do not turn these into pages unless the task explicitly says to; report any safe redirect/remap only if you create and verify it: - None. ## Brief A local Baptist church website providing information about the congregation, ministries, youth programs, events, and news updates, including a calendar of events and contact/navigation pages. ## Extra Requirements Maintain a clear, non-commercial informational structure (sermons/events/news) and include standard navigation and contact details. ## Flatlogic Link Targets 1. https://flatlogic.com/generator?utm_source=ridgecrestchurch.com Title: AI Web Application Generator & App Builder | Flatlogic Priority: 1 Anchor guidance: link to this page as: "web app generator", "AI web app generator", "web app builder", "AI web app builder", etc 2. https://flatlogic.com/services/ai-consulting-services?utm_source=ridgecrestchurch.com Title: AI Consulting Services | Artificial Intelligence Consulting for Business Priority: 1 Anchor guidance: link to this page as "AI consulting, AI consulting services, AI adoption for business, AI Development Services, AI Integration Services, etc" 3. https://appwizzy.com/ Title: AppWizzy - Build Web Apps and Websites with AI Priority: 1 Anchor guidance: Link to this page as "vibe coding tool", "vibe coding platform", "rent VM with Codex", "generate app with AI" 4. https://flatlogic.com/services/custom-web-development-services?utm_source=ridgecrestchurch.com Title: Custom Web Development Services | Flatlogic Priority: 0.9 Anchor guidance: include either as: "custom web development services", "web development services", "web app development services" "web app development company", etc 5. https://flatlogic.com/starting-web-app-in-2025-research-results?utm_source=ridgecrestchurch.com Title: Web App Development Trends 2025: Research Results Priority: 0.83 Anchor guidance: Best internal link anchors Use these as anchors from blog posts, comparison pages, AI generator pages, and research pages: Primary anchors — best overall web app development trends 2025 2025 web app development research how people start web apps in 2025 AI web app development research Flatlogic web app research 2025 AI / vibe-coding focused anchors AI app generators research vibe-coding tools research AI-powered web app generators AI-generated codebase trends vibe-coding adoption in 2025 Low-code / no-code anchors low-code no-code trends 2025 low-code vs AI app generators low-code no-code web app research web app builder trends AI and low-code development trends Framework / technology anchors popular web development frameworks in 2025 React and Node.js trends web development technology trends frontend and backend framework research cloud platform trends for web apps Natural contextual anchors our latest research on starting web apps the 2025 Flatlogic research this year’s web app research results our annual web development survey the full 2025 research results ## Implementation Guidance - Inspect the active theme and current WordPress state first. - If the active theme is `flb` or unsuitable, use wp theme search/list/install/activate via wp-cli, choose a fitting free WordPress.org theme, and record the chosen theme in the final report. - Verify the final header/site identity in addition to the theme. It should not look like an unfinished raw-domain placeholder. - It is acceptable to use wp post create/update with HTML block content. - If you add CSS or a small template tweak, keep it minimal and explain it in the final report. - Include image-related work in the final report: where images were used and whether they came from seed/theme assets or downloaded free-use sources. - After creating pages, flush rewrites and run a quick verification using wp-cli. ## Final Report When you finish, return a concise final report with exactly these human sections: Summary: WP changes: Manual checks: End with these machine-readable markers: ```text WP_PAGE_BATCH_STATUS: WP_PAGES_CREATED_OR_UPDATED: THEME_STATUS: HEADER_IDENTITY_STATUS: LEGAL_PAGES_STATUS: FOOTER_STATUS: FRONT_PAGE_SET: BLOG_INDEX_STATUS: MENU_UPDATED: LEGACY_PATH_STATUS: BACKLINK_PAGE_TARGETS_STATUS: POST_TARGETS_RESERVED: LINK_TARGETS_USED: VERIFICATION: ``` exec /bin/bash -lc "wp eval 'global "'$wpdb; $rows=$wpdb->get_results("SELECT option_name FROM {$wpdb->options} WHERE option_value LIKE '"\\\"%AppWizzy%\\\" OR option_value LIKE \\\"%appwizzy%\\\" OR option_value LIKE \\\"%flatlogic%\\\" LIMIT 50\"); foreach("'$rows as $r){echo $r->option_name, PHP_EOL;}'"'" in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc "mkdir -p wp-content/uploads/imports && cd wp-content/uploads/imports && for u in 'https://web.archive.org/web/20100925215046im_/http://ridgecrestchurch.com/images/groups.jpg' 'https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/freedom%20celebration%202012.jpg' 'https://web.archive.org/web/20131126055955im_/http://ridgecrestchurch.com/images/contact-info.gif' 'https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/logo.gif' 'https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/service-times.gif' 'https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/events.gif' 'https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/connect.gif' 'https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/sermons.gif' 'https://web.archive.org/web/20130619093042im_/http://ridgecrestchurch.com/images/map-directions.gif'; do echo \"URL "'$u"; curl -L --fail --remote-name --remote-header-name "$u" || true; done; ls -lah' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 480ms: admin_email active_plugins wpseo_titles wpseo_social auto_core_update_notified new_admin_email wdp_un_profile_data updraft_backup_history updraft_last_backup updraft_jobdata_5e8df5050d77 wpo_cache_config fs_accounts fs_api_cache OneSignalWPSetting wdp_un_general sd_data ai1wm_status _site_transient_update_plugins succeeded in 19693ms: 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 16513 100 16513 0 0 12682 0 0:00:01 0:00:01 --:--:-- 98k URL https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/freedom%20celebration%202012.jpg % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:04 --:--:-- 0 curl: (22) The requested URL returned error: 404 URL https://web.archive.org/web/20131126055955im_/http://ridgecrestchurch.com/images/contact-info.gif % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 3665 100 3665 0 0 3411 0 0:00:01 0:00:01 --:--:-- 3411 100 3665 100 3665 0 0 3411 0 0:00:01 0:00:01 --:--:-- 0 URL https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/logo.gif % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 20344 100 20344 0 0 8797 0 0:00:02 0:00:02 --:--:-- 32446 URL https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/service-times.gif % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0 100 19115 100 19115 0 0 5697 0 0:00:03 0:00:03 --:--:-- 15182 URL https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/events.gif % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12704 100 12704 0 0 10347 0 0:00:01 0:00:01 --:--:-- 10347 URL https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/connect.gif % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 100 23281 100 23281 0 0 16263 0 0:00:01 0:00:01 --:--:-- 133k URL https://web.archive.org/web/20120507045803im_/http://www.ridgecrestchurch.com/images/sermons.gif % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0 100 21871 100 21871 0 0 6477 0 0:00:03 0:00:03 --:--:-- 6477 URL https://web.archive.org/web/20130619093042im_/http://ridgecrestchurch.com/images/map-directions.gif % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 4208 100 4208 0 0 3575 0 0:00:01 0:00:01 --:--:-- 3575 total 144K drwxrwsr-x 2 ubuntu www-data 4.0K May 7 09:38 . drwxrwsr-x 7 ubuntu www-data 4.0K May 7 09:38 .. -rw-rw-r-- 1 ubuntu www-data 23K May 7 09:38 connect.gif -rw-rw-r-- 1 ubuntu www-data 3.6K May 7 09:38 contact-info.gif -rw-rw-r-- 1 ubuntu www-data 13K May 7 09:38 events.gif -rw-rw-r-- 1 ubuntu www-data 17K May 7 09:38 groups.jpg -rw-rw-r-- 1 ubuntu www-data 20K May 7 09:38 logo.gif -rw-rw-r-- 1 ubuntu www-data 4.2K May 7 09:38 map-directions.gif -rw-rw-r-- 1 ubuntu www-data 22K May 7 09:38 sermons.gif -rw-rw-r-- 1 ubuntu www-data 19K May 7 09:38 service-times.gif codex I have usable recovered church graphics from the old site, but most of them are small. I’m pulling a couple of additional free-use church photos so the homepage and core pages have credible lead imagery instead of a string of banners. exec /bin/bash -lc 'command -v jq || true' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: /usr/bin/jq exec /bin/bash -lc "curl -s 'https://commons.wikimedia.org/w/api.php?action=query&generator=search&gsrsearch=Baptist%20church%20worship&gsrnamespace=6&prop=imageinfo&iiprop=url&iiurlwidth=1600&format=json' | sed -n '1,200p'" in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc "curl -s 'https://commons.wikimedia.org/w/api.php?action=query&generator=search&gsrsearch=church%20youth%20group&gsrnamespace=6&prop=imageinfo&iiprop=url&iiurlwidth=1600&format=json' | sed -n '1,200p'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 568ms: {"batchcomplete":"","continue":{"gsroffset":10,"continue":"gsroffset||"},"query":{"pages":{"156447070":{"pageid":156447070,"ns":6,"title":"File:CEE Youth Group Prague Meeting 2024, Day 1-20.jpg","index":1,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/CEE_Youth_Group_Prague_Meeting_2024%2C_Day_1-20.jpg/1920px-CEE_Youth_Group_Prague_Meeting_2024%2C_Day_1-20.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":900,"responsiveUrls":{"2":"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e8/CEE_Youth_Group_Prague_Meeting_2024%2C_Day_1-20.jpg/3840px-CEE_Youth_Group_Prague_Meeting_2024%2C_Day_1-20.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail"},"url":"https://upload.wikimedia.org/wikipedia/commons/e/e8/CEE_Youth_Group_Prague_Meeting_2024%2C_Day_1-20.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:CEE_Youth_Group_Prague_Meeting_2024,_Day_1-20.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=156447070"}]},"181527588":{"pageid":181527588,"ns":6,"title":"File:Cayac Young Adult Group at Saint Anthony\u2019s Church in Casper, Wyoming Business Card (Front and Back).png","index":10,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Cayac_Young_Adult_Group_at_Saint_Anthony%E2%80%99s_Church_in_Casper%2C_Wyoming_Business_Card_%28Front_and_Back%29.png/1920px-Cayac_Young_Adult_Group_at_Saint_Anthony%E2%80%99s_Church_in_Casper%2C_Wyoming_Business_Card_%28Front_and_Back%29.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":1401,"responsiveUrls":{"2":"https://upload.wikimedia.org/wikipedia/commons/thumb/e/e0/Cayac_Young_Adult_Group_at_Saint_Anthony%E2%80%99s_Church_in_Casper%2C_Wyoming_Business_Card_%28Front_and_Back%29.png/3840px-Cayac_Young_Adult_Group_at_Saint_Anthony%E2%80%99s_Church_in_Casper%2C_Wyoming_Business_Card_%28Front_and_Back%29.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail"},"url":"https://upload.wikimedia.org/wikipedia/commons/e/e0/Cayac_Young_Adult_Group_at_Saint_Anthony%E2%80%99s_Church_in_Casper%2C_Wyoming_Business_Card_%28Front_and_Back%29.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Cayac_Young_Adult_Group_at_Saint_Anthony%E2%80%99s_Church_in_Casper,_Wyoming_Business_Card_(Front_and_Back).png","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=181527588"}]},"40150955":{"pageid":40150955,"ns":6,"title":"File:Group Photo at Mennonite Church Cross Cultural Youth Convention, 1972 (16784328281).jpg","index":8,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/a/ab/Group_Photo_at_Mennonite_Church_Cross_Cultural_Youth_Convention%2C_1972_%2816784328281%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1211,"url":"https://upload.wikimedia.org/wikipedia/commons/a/ab/Group_Photo_at_Mennonite_Church_Cross_Cultural_Youth_Convention%2C_1972_%2816784328281%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Group_Photo_at_Mennonite_Church_Cross_Cultural_Youth_Convention,_1972_(16784328281).jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=40150955"}]},"181445897":{"pageid":181445897,"ns":6,"title":"File:Guide for the CEE Youth Group Meeting Yerevan 2025.pdf","index":2,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/4/4d/Guide_for_the_CEE_Youth_Group_Meeting_Yerevan_2025.pdf/page1-1920px-Guide_for_the_CEE_Youth_Group_Meeting_Yerevan_2025.pdf.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":900,"url":"https://upload.wikimedia.org/wikipedia/commons/4/4d/Guide_for_the_CEE_Youth_Group_Meeting_Yerevan_2025.pdf?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Guide_for_the_CEE_Youth_Group_Meeting_Yerevan_2025.pdf","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=181445897"}]},"79001341":{"pageid":79001341,"ns":6,"title":"File:Image of youth group for Catholic church.png","index":6,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/8/8a/Image_of_youth_group_for_Catholic_church.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1100,"url":"https://upload.wikimedia.org/wikipedia/commons/8/8a/Image_of_youth_group_for_Catholic_church.png?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Image_of_youth_group_for_Catholic_church.png","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=79001341"}]},"40151075":{"pageid":40151075,"ns":6,"title":"File:Mennonite Youth Group, LaGrange, Indiana, 1890 (16382550275).jpg","index":7,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/d/d2/Mennonite_Youth_Group%2C_LaGrange%2C_Indiana%2C_1890_%2816382550275%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1132,"url":"https://upload.wikimedia.org/wikipedia/commons/d/d2/Mennonite_Youth_Group%2C_LaGrange%2C_Indiana%2C_1890_%2816382550275%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Mennonite_Youth_Group,_LaGrange,_Indiana,_1890_(16382550275).jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=40151075"}]},"53065974":{"pageid":53065974,"ns":6,"title":"File:Navaho youth group, Phoenix Ariz (8411297453).jpg","index":9,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/b/b0/Navaho_youth_group%2C_Phoenix_Ariz_%288411297453%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":975,"url":"https://upload.wikimedia.org/wikipedia/commons/b/b0/Navaho_youth_group%2C_Phoenix_Ariz_%288411297453%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Navaho_youth_group,_Phoenix_Ariz_(8411297453).jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=53065974"}]},"40150948":{"pageid":40150948,"ns":6,"title":"File:Singing Group at Mennonite Church Cross Cultural Youth Convention, 1972 (16599333469).jpg","index":3,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/b/bd/Singing_Group_at_Mennonite_Church_Cross_Cultural_Youth_Convention%2C_1972_%2816599333469%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1199,"url":"https://upload.wikimedia.org/wikipedia/commons/b/bd/Singing_Group_at_Mennonite_Church_Cross_Cultural_Youth_Convention%2C_1972_%2816599333469%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Singing_Group_at_Mennonite_Church_Cross_Cultural_Youth_Convention,_1972_(16599333469).jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=40150948"}]},"23484837":{"pageid":23484837,"ns":6,"title":"File:Unitarian church in Summit youth group leader with children.jpg","index":4,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/d/d6/Unitarian_church_in_Summit_youth_group_leader_with_children.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":898,"url":"https://upload.wikimedia.org/wikipedia/commons/d/d6/Unitarian_church_in_Summit_youth_group_leader_with_children.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Unitarian_church_in_Summit_youth_group_leader_with_children.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=23484837"}]},"53082210":{"pageid":53082210,"ns":6,"title":"File:Youth group Argentina (7159916472).jpg","index":5,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/3/33/Youth_group_Argentina_%287159916472%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1536,"url":"https://upload.wikimedia.org/wikipedia/commons/3/33/Youth_group_Argentina_%287159916472%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Youth_group_Argentina_(7159916472).jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=53082210"}]}}}} succeeded in 574ms: {"batchcomplete":"","continue":{"gsroffset":10,"continue":"gsroffset||"},"query":{"pages":{"152445809":{"pageid":152445809,"ns":6,"title":"File:Bethlehem Baptist Church, Dumbarton, Virginia.jpg","index":1,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/2/27/Bethlehem_Baptist_Church%2C_Dumbarton%2C_Virginia.jpg/1920px-Bethlehem_Baptist_Church%2C_Dumbarton%2C_Virginia.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":1200,"responsiveUrls":{"2":"https://upload.wikimedia.org/wikipedia/commons/2/27/Bethlehem_Baptist_Church%2C_Dumbarton%2C_Virginia.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled"},"url":"https://upload.wikimedia.org/wikipedia/commons/2/27/Bethlehem_Baptist_Church%2C_Dumbarton%2C_Virginia.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Bethlehem_Baptist_Church,_Dumbarton,_Virginia.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=152445809"}]},"138899208":{"pageid":138899208,"ns":6,"title":"File:Calvary Baptist Church - Shiashie worship service.jpg","index":10,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Calvary_Baptist_Church_-_Shiashie_worship_service.jpg/1920px-Calvary_Baptist_Church_-_Shiashie_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":1089,"responsiveUrls":{"2":"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b5/Calvary_Baptist_Church_-_Shiashie_worship_service.jpg/3840px-Calvary_Baptist_Church_-_Shiashie_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail"},"url":"https://upload.wikimedia.org/wikipedia/commons/b/b5/Calvary_Baptist_Church_-_Shiashie_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Calvary_Baptist_Church_-_Shiashie_worship_service.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=138899208"}]},"50604046":{"pageid":50604046,"ns":6,"title":"File:Easter 2016 Worship Service At Grace Baptist Church Knoxville, Tennessee.jpg","index":9,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/5/53/Easter_2016_Worship_Service_At_Grace_Baptist_Church_Knoxville%2C_Tennessee.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1067,"url":"https://upload.wikimedia.org/wikipedia/commons/5/53/Easter_2016_Worship_Service_At_Grace_Baptist_Church_Knoxville%2C_Tennessee.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Easter_2016_Worship_Service_At_Grace_Baptist_Church_Knoxville,_Tennessee.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=50604046"}]},"22623654":{"pageid":22623654,"ns":6,"title":"File:First Baptist Church worship.jpg","index":8,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/8/82/First_Baptist_Church_worship.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":592,"url":"https://upload.wikimedia.org/wikipedia/commons/8/82/First_Baptist_Church_worship.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:First_Baptist_Church_worship.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=22623654"}]},"150903124":{"pageid":150903124,"ns":6,"title":"File:Fort Foote Baptist Church worship service.jpg","index":3,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/Fort_Foote_Baptist_Church_worship_service.jpg/1920px-Fort_Foote_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":1068,"responsiveUrls":{"2":"https://upload.wikimedia.org/wikipedia/commons/thumb/6/6f/Fort_Foote_Baptist_Church_worship_service.jpg/3840px-Fort_Foote_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail"},"url":"https://upload.wikimedia.org/wikipedia/commons/6/6f/Fort_Foote_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Fort_Foote_Baptist_Church_worship_service.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=150903124"}]},"99899700":{"pageid":99899700,"ns":6,"title":"File:Galilee Missionary Baptist Church.jpg","index":4,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/6/67/Galilee_Missionary_Baptist_Church.jpg/1920px-Galilee_Missionary_Baptist_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":1084,"responsiveUrls":{"2":"https://upload.wikimedia.org/wikipedia/commons/6/67/Galilee_Missionary_Baptist_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled"},"url":"https://upload.wikimedia.org/wikipedia/commons/6/67/Galilee_Missionary_Baptist_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Galilee_Missionary_Baptist_Church.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=99899700"}]},"150903256":{"pageid":150903256,"ns":6,"title":"File:Gold Hill Baptist Church worship service.jpg","index":2,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Gold_Hill_Baptist_Church_worship_service.jpg/1920px-Gold_Hill_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail","thumbwidth":1600,"thumbheight":1200,"responsiveUrls":{"2":"https://upload.wikimedia.org/wikipedia/commons/thumb/8/89/Gold_Hill_Baptist_Church_worship_service.jpg/3840px-Gold_Hill_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail"},"url":"https://upload.wikimedia.org/wikipedia/commons/8/89/Gold_Hill_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Gold_Hill_Baptist_Church_worship_service.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=150903256"}]},"50604045":{"pageid":50604045,"ns":6,"title":"File:Grace Baptist Church Knoxville worship.jpg","index":7,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/f/f1/Grace_Baptist_Church_Knoxville_worship.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":900,"url":"https://upload.wikimedia.org/wikipedia/commons/f/f1/Grace_Baptist_Church_Knoxville_worship.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Grace_Baptist_Church_Knoxville_worship.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=50604045"}]},"53065789":{"pageid":53065789,"ns":6,"title":"File:Humbervale Park Baptist Church worship team.jpg","index":5,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/e/e1/Humbervale_Park_Baptist_Church_worship_team.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1068,"url":"https://upload.wikimedia.org/wikipedia/commons/e/e1/Humbervale_Park_Baptist_Church_worship_team.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Humbervale_Park_Baptist_Church_worship_team.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=53065789"}]},"4995623":{"pageid":4995623,"ns":6,"title":"File:Pueblo Nuevo Baptist Church worship service.jpg","index":6,"imagerepository":"local","imageinfo":[{"thumburl":"https://upload.wikimedia.org/wikipedia/commons/d/d6/Pueblo_Nuevo_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=thumbnail_unscaled","thumbwidth":1600,"thumbheight":1318,"url":"https://upload.wikimedia.org/wikipedia/commons/d/d6/Pueblo_Nuevo_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original","descriptionurl":"https://commons.wikimedia.org/wiki/File:Pueblo_Nuevo_Baptist_Church_worship_service.jpg","descriptionshorturl":"https://commons.wikimedia.org/w/index.php?curid=4995623"}]}}}} exec /bin/bash -lc "curl -s 'https://commons.wikimedia.org/w/api.php?action=query&generator=search&gsrsearch=children%20church%20class&gsrnamespace=6&prop=imageinfo&iiprop=url&iiurlwidth=1600&format=json' | jq -r '.query.pages[] | .title + \"|\" + .imageinfo[0].url' | sed -n '1,12p'" in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc "curl -s 'https://commons.wikimedia.org/w/api.php?action=query&generator=search&gsrsearch=church%20children%20ministry&gsrnamespace=6&prop=imageinfo&iiprop=url&iiurlwidth=1600&format=json' | jq -r '.query.pages[] | .title + \"|\" + .imageinfo[0].url' | sed -n '1,12p'" in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc "curl -s 'https://commons.wikimedia.org/w/api.php?action=query&generator=search&gsrsearch=church%20building%20baptist&gsrnamespace=6&prop=imageinfo&iiprop=url&iiurlwidth=1600&format=json' | jq -r '.query.pages[] | .title + \"|\" + .imageinfo[0].url' | sed -n '1,12p'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 546ms: File:A Class of Elementary School Children with Their Teachers - DPLA - 3a9c9b80439e58c03bf3980d615b7388.jpg|https://upload.wikimedia.org/wikipedia/commons/9/9c/A_Class_of_Elementary_School_Children_with_Their_Teachers_-_DPLA_-_3a9c9b80439e58c03bf3980d615b7388.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Catechism Class in the Catholic Church.jpg|https://upload.wikimedia.org/wikipedia/commons/5/58/Catechism_Class_in_the_Catholic_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Gdow Church 13 Ludwik Kusionowicz.jpg|https://upload.wikimedia.org/wikipedia/commons/6/6f/Gdow_Church_13_Ludwik_Kusionowicz.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Hermiston Children School Church.jpg|https://upload.wikimedia.org/wikipedia/commons/4/46/Hermiston_Children_School_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Kindergarten class of 1st Cong. Church with Mrs. Coolidge, (5-4-25) LCCN2016850353.jpg|https://upload.wikimedia.org/wikipedia/commons/0/04/Kindergarten_class_of_1st_Cong._Church_with_Mrs._Coolidge%2C_%285-4-25%29_LCCN2016850353.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Kindergarten class of 1st Cong. Church with Mrs. Coolidge, 5-4-25 LCCN2016850352.jpg|https://upload.wikimedia.org/wikipedia/commons/2/2f/Kindergarten_class_of_1st_Cong._Church_with_Mrs._Coolidge%2C_5-4-25_LCCN2016850352.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Russian Children In Class (6351062094).jpg|https://upload.wikimedia.org/wikipedia/commons/b/bb/Russian_Children_In_Class_%286351062094%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:St Michael's School which provides first class care and education for children aged 3 months to 13 years - geograph.org.uk - 1754393.jpg|https://upload.wikimedia.org/wikipedia/commons/8/87/St_Michael%27s_School_which_provides_first_class_care_and_education_for_children_aged_3_months_to_13_years_-_geograph.org.uk_-_1754393.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:StateLibQld 2 157465 Albion Baptist Church infant class at Enoggera, Brisbane, 1900-1910.jpg|https://upload.wikimedia.org/wikipedia/commons/0/08/StateLibQld_2_157465_Albion_Baptist_Church_infant_class_at_Enoggera%2C_Brisbane%2C_1900-1910.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:The infant catechism, or, Questions and answers in rhyme - for the little children of the church (1862) (14782476325).jpg|https://upload.wikimedia.org/wikipedia/commons/7/74/The_infant_catechism%2C_or%2C_Questions_and_answers_in_rhyme_-_for_the_little_children_of_the_church_%281862%29_%2814782476325%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original succeeded in 777ms: File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070117.jpg|https://upload.wikimedia.org/wikipedia/commons/1/10/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070117.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070118.jpg|https://upload.wikimedia.org/wikipedia/commons/9/92/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070118.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070120.jpg|https://upload.wikimedia.org/wikipedia/commons/1/11/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070120.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070121.jpg|https://upload.wikimedia.org/wikipedia/commons/4/43/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070121.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070122.jpg|https://upload.wikimedia.org/wikipedia/commons/e/e2/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070122.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070124.jpg|https://upload.wikimedia.org/wikipedia/commons/d/d7/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070124.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070125.jpg|https://upload.wikimedia.org/wikipedia/commons/4/46/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070125.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070126.jpg|https://upload.wikimedia.org/wikipedia/commons/8/88/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070126.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070127.jpg|https://upload.wikimedia.org/wikipedia/commons/5/5b/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070127.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Children's ministry dedication Centrepint Church 240 Hamilton Rd Chermside L1070128.jpg|https://upload.wikimedia.org/wikipedia/commons/4/45/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070128.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original succeeded in 643ms: File:Bell tower of Church of Beheading of John the Baptist in Moscow.jpg|https://upload.wikimedia.org/wikipedia/commons/9/91/Bell_tower_of_Church_of_Beheading_of_John_the_Baptist_in_Moscow.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Bethel Baptist Church Polk County Texas 2023.jpg|https://upload.wikimedia.org/wikipedia/commons/d/de/Bethel_Baptist_Church_Polk_County_Texas_2023.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Bethseda Baptist Church - Ipswich.jpg|https://upload.wikimedia.org/wikipedia/commons/5/5f/Bethseda_Baptist_Church_-_Ipswich.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:David Chapel Baptist Church Austin Texas 2025.jpg|https://upload.wikimedia.org/wikipedia/commons/c/c6/David_Chapel_Baptist_Church_Austin_Texas_2025.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Diphupar Sümi Baptist Church.jpg|https://upload.wikimedia.org/wikipedia/commons/9/9c/Diphupar_S%C3%BCmi_Baptist_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:First Baptist Church of Buda 2018.jpg|https://upload.wikimedia.org/wikipedia/commons/b/bc/First_Baptist_Church_of_Buda_2018.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Galilee Missionary Baptist Church.jpg|https://upload.wikimedia.org/wikipedia/commons/6/67/Galilee_Missionary_Baptist_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Greater El Bethel Missionary Baptist Church.jpg|https://upload.wikimedia.org/wikipedia/commons/f/fa/Greater_El_Bethel_Missionary_Baptist_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Olivet Baptist Church Austin Texas 2025.jpg|https://upload.wikimedia.org/wikipedia/commons/2/26/Olivet_Baptist_Church_Austin_Texas_2025.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Wichita Falls October 2015 48 (Korean Baptist Church and World Mission Church).jpg|https://upload.wikimedia.org/wikipedia/commons/a/a4/Wichita_Falls_October_2015_48_%28Korean_Baptist_Church_and_World_Mission_Church%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original exec /bin/bash -lc "mkdir -p wp-content/uploads/imports && cd wp-content/uploads/imports && curl -L --fail 'https://upload.wikimedia.org/wikipedia/commons/b/bc/First_Baptist_Church_of_Buda_2018.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original' -o church-exterior.jpg && curl -L --fail 'https://upload.wikimedia.org/wikipedia/commons/8/89/Gold_Hill_Baptist_Church_worship_service.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original' -o worship-service.jpg && curl -L --fail 'https://upload.wikimedia.org/wikipedia/commons/5/5b/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070127.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original' -o children-ministry.jpg && curl -L --fail 'https://upload.wikimedia.org/wikipedia/commons/3/33/Youth_group_Argentina_%287159916472%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original' -o youth-group.jpg && ls -lah" in /home/ubuntu/apps/ridgecrestchurch.com exited 22 in 1383ms: 1 2775k 1 32169 0 0 82557 0 0:00:34 --:--:-- 0:00:34 82484 100 2775k 100 2775k 0 0 3376k 0 --:--:-- --:--:-- --:--:-- 3375k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2201k 100 2201k 0 0 4609k 0 --:--:-- --:--:-- --:--:-- 4615k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 1965 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 curl: (22) The requested URL returned error: 429 exec /bin/bash -lc "cd wp-content/uploads/imports && curl -A 'Mozilla/5.0' -L --fail 'https://upload.wikimedia.org/wikipedia/commons/5/5b/Children%27s_ministry_dedication_Centrepint_Church_240_Hamilton_Rd_Chermside_L1070127.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original' -o children-ministry.jpg && curl -A 'Mozilla/5.0' -L --fail 'https://upload.wikimedia.org/wikipedia/commons/3/33/Youth_group_Argentina_%287159916472%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original' -o youth-group.jpg && ls -lah children-ministry.jpg youth-group.jpg" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 976ms: 0 9681k 0 15304 0 0 60610 0 0:02:43 --:--:-- 0:02:43 60490 100 9681k 100 9681k 0 0 13.1M 0 --:--:-- --:--:-- --:--:-- 13.1M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 21415 100 21415 0 0 74544 0 --:--:-- --:--:-- --:--:-- 74616 -rw-rw-r-- 1 ubuntu www-data 9.5M May 7 09:39 children-ministry.jpg -rw-rw-r-- 1 ubuntu www-data 21K May 7 09:39 youth-group.jpg exec /bin/bash -lc "curl -s 'https://commons.wikimedia.org/w/api.php?action=query&generator=search&gsrsearch=youth%20church%20worship&gsrnamespace=6&prop=imageinfo&iiprop=url&iiurlwidth=1600&format=json' | jq -r '.query.pages[] | .title + \"|\" + .imageinfo[0].url' | sed -n '1,15p'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 774ms: File:An order of worship for the Reformed Church (IA cu31924029475203).pdf|https://upload.wikimedia.org/wikipedia/commons/a/a9/An_order_of_worship_for_the_Reformed_Church_%28IA_cu31924029475203%29.pdf?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:An order of worship for the Reformed Church (IA orderofworshipfo00refo).pdf|https://upload.wikimedia.org/wikipedia/commons/e/ea/An_order_of_worship_for_the_Reformed_Church_%28IA_orderofworshipfo00refo%29.pdf?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Arlington April 2019 36 (Mount Olive Baptist Church Youth Worship Center).jpg|https://upload.wikimedia.org/wikipedia/commons/b/bc/Arlington_April_2019_36_%28Mount_Olive_Baptist_Church_Youth_Worship_Center%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Church Psalmody- A Collection of Psalms and Hymns, Adapted to Public Worship (Perkins, 1832) (IA churchpsalmodyco00masorich).pdf|https://upload.wikimedia.org/wikipedia/commons/5/56/Church_Psalmody-_A_Collection_of_Psalms_and_Hymns%2C_Adapted_to_Public_Worship_%28Perkins%2C_1832%29_%28IA_churchpsalmodyco00masorich%29.pdf?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Cross Cultural Youth Convention Worship, 1972. (14555082070).jpg|https://upload.wikimedia.org/wikipedia/commons/7/7e/Cross_Cultural_Youth_Convention_Worship%2C_1972._%2814555082070%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Cross Cultural Youth Convention Worship, 1972? (14555082490).jpg|https://upload.wikimedia.org/wikipedia/commons/d/d5/Cross_Cultural_Youth_Convention_Worship%2C_1972%3F_%2814555082490%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Ex Place of Worship - geograph.org.uk - 777045.jpg|https://upload.wikimedia.org/wikipedia/commons/8/88/Ex_Place_of_Worship_-_geograph.org.uk_-_777045.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Worship in the Church of England.djvu|https://upload.wikimedia.org/wikipedia/commons/b/b3/Worship_in_the_Church_of_England.djvu?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Youth Retreat worship, Balodgahan, India, 1965 (16865717222).jpg|https://upload.wikimedia.org/wikipedia/commons/b/ba/Youth_Retreat_worship%2C_Balodgahan%2C_India%2C_1965_%2816865717222%29.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original File:Youth Worship Service at the Bacolod Evangelical Church.jpg|https://upload.wikimedia.org/wikipedia/commons/c/c1/Youth_Worship_Service_at_the_Bacolod_Evangelical_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original exec /bin/bash -lc "cd wp-content/uploads/imports && curl -A 'Mozilla/5.0' -L --fail 'https://upload.wikimedia.org/wikipedia/commons/c/c1/Youth_Worship_Service_at_the_Bacolod_Evangelical_Church.jpg?utm_source=commons.wikimedia.org&utm_campaign=imageinfo&utm_content=original' -o youth-worship.jpg && ls -lah youth-worship.jpg" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 472ms: 100 4396k 100 4396k 0 0 8641k 0 --:--:-- --:--:-- --:--:-- 8654k -rw-rw-r-- 1 ubuntu www-data 4.3M May 7 09:39 youth-worship.jpg exec /bin/bash -lc "sed -n '1,240p' wp-content/themes/church/functions.php" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: false, 'flex-width' => true, 'uploads' => true, 'default-image' => get_stylesheet_directory_uri() . '/images/header.jpg' , 'admin-head-callback' => 'church_admin_header_style', 'admin-preview-callback' => 'church_admin_header_image' )); /* Custom background. */ add_theme_support( 'custom-background', array( 'default-color' => 'e8e4dc' ) ); add_theme_support( 'color-palette', array( 'callback' => 'church_register_colors' ) ); add_theme_support( 'woocommerce' ); add_filter( 'loop_pagination_args', 'church_loop_pagination_args' ); add_action( 'widgets_init', 'church_widgets_init', 15 ); remove_action( 'omega_home_before_entry', 'omega_entry_header' ); //add_filter( 'theme_mod_theme_layout', 'church_theme_layout', 15 ); add_action( 'omega_after_header', 'church_banner' ); add_action('init', 'church_init', 1); add_action('custom_header_options', 'church_header_image_option'); add_action('admin_head', 'church_header_image_option_save'); } add_action( 'after_setup_theme', 'church_setup', 11 ); function church_loop_pagination_args( $args ) { /* Set up some default arguments for the paginate_links() function. */ $args = array( 'end_size' => 5, 'mid_size' => 4 ); return $args; } function church_header_right() { get_template_part( 'header', 'right' ); } function church_theme_layout( $layout ) { //global $post; //echo (get_post_layout( get_queried_object_id() )); if ( is_front_page() && !is_home() ) $layout = '1c'; return $layout; } function church_get_header_image() { if (get_header_image()) { if (get_theme_mod( 'church_header_link' )) { echo '' . get_bloginfo( 'description' ) . ''; } else { echo '' . get_bloginfo( 'description' ) . ''; } } } function church_banner() { ?> add_color( array( 'id' => 'primary', 'label' => __( 'Primary Color', 'church' ), 'default' => '211b1a' ) ); $color_palette->add_color( array( 'id' => 'secondary', 'label' => __( 'Secondary Background', 'church' ), 'default' => '050505' ) ); $color_palette->add_color( array( 'id' => 'link', 'label' => __( 'Link Color', 'church' ), 'default' => 'B75343' ) ); /* Add rule sets for colors. */ $color_palette->add_rule_set( 'primary', array( 'color' => 'h1.site-title a, .site-description, .entry-meta, .header-right', 'background-color' => '.tinynav, .nav-primary .wrap, .omega-nav-menu li ul li:hover, .footer-widgets .wrap, button, input[type="button"], input[type="reset"], input[type="submit"]' ) ); $color_palette->add_rule_set( 'secondary', array( 'background-color' => '.site-footer .wrap, .omega-nav-menu li:hover, .omega-nav-menu li:hover ul' ) ); $color_palette->add_rule_set( 'link', array( 'color' => '.site-inner .entry-meta a, .site-inner .entry-content a, .entry-summary a, .pagination a, .site-inner .sidebar a' ) ); } /** * Register widgetized area and update sidebar with default widgets */ function church_widgets_init() { register_sidebar( array( 'name' => __( 'Header Right', 'church' ), 'id' => 'header-right', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); register_sidebar( array( 'name' => __( 'Home Banner', 'church' ), 'id' => 'banner', 'description' => 'This widget area will replace the homepage header image', 'before_widget' => '
', 'after_widget' => '
', 'before_title' => '

', 'after_title' => '

', ) ); } function church_init() { if(!is_admin()){ wp_enqueue_script("tinynav", get_stylesheet_directory_uri() . '/js/tinynav.js', array('jquery')); } } function church_header_image_option() { ?>

/>

exec /bin/bash -lc "sed -n '1,260p' wp-content/themes/omega/functions.php" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: . */ add_theme_support( 'automatic-feed-links' ); /* Enable wraps */ add_theme_support( 'omega-wraps' ); /* Enable custom post */ add_theme_support( 'omega-custom-post' ); /* Enable custom css */ add_theme_support( 'omega-custom-css' ); /* Enable custom logo */ add_theme_support( 'omega-custom-logo' ); /* Enable child themes page */ add_theme_support( 'omega-child-page' ); add_theme_support( 'woocommerce' ); /* Handle content width for embeds and images. */ omega_set_content_width( 700 ); } add_action( 'after_setup_theme', 'omega_theme_setup' ); exec /bin/bash -lc "rg -n \"omega_footer|footer-widgets|site-footer|copyright|credit\" wp-content/themes/omega/lib wp-content/themes/church -g '*.php'" in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 0ms: wp-content/themes/church/functions.php:10: add_theme_support( 'omega-footer-widgets', 4 ); wp-content/themes/church/functions.php:156: 'background-color' => '.tinynav, .nav-primary .wrap, .omega-nav-menu li ul li:hover, .footer-widgets .wrap, button, input[type="button"], input[type="reset"], input[type="submit"]' wp-content/themes/church/functions.php:162: 'background-color' => '.site-footer .wrap, .omega-nav-menu li:hover, .omega-nav-menu li:hover ul' wp-content/themes/omega/lib/framework.php:28: * @copyright Copyright (c) 2013, themehall.com wp-content/themes/omega/lib/framework.php:30: * @copyright Copyright (c) 2008 - 2013, Justin Tadlock wp-content/themes/omega/lib/framework.php:307: require_if_theme_supports( 'omega-footer-widgets', trailingslashit( OMEGA_EXTENSIONS ) . '/footer-widgets.php' ); wp-content/themes/omega/lib/functions/attr.php:152: $attr['class'] = 'site-footer'; wp-content/themes/omega/lib/extensions/class-tgm-plugin-activation.php:14: * @copyright Copyright (c) 2011, Thomas Griffin wp-content/themes/omega/lib/extensions/footer-widgets.php:16: $footer_widgets = get_theme_support( 'omega-footer-widgets' ); wp-content/themes/omega/lib/extensions/footer-widgets.php:42:add_action( 'omega_before_footer', 'omega_footer_widget_areas' ); wp-content/themes/omega/lib/extensions/footer-widgets.php:50: * Applies the `omega_footer_widget_areas` filter. wp-content/themes/omega/lib/extensions/footer-widgets.php:54: * @uses omega_structural_wrap() Optionally adds wrap with footer-widgets context. wp-content/themes/omega/lib/extensions/footer-widgets.php:58:function omega_footer_widget_areas() { wp-content/themes/omega/lib/extensions/footer-widgets.php:60: $footer_widgets = get_theme_support( 'omega-footer-widgets' ); wp-content/themes/omega/lib/extensions/footer-widgets.php:82: $inside .= sprintf( '', $counter, $widgets ); wp-content/themes/omega/lib/extensions/footer-widgets.php:90: $output .= ' exec /bin/bash -lc "for url in https://ridgecrestchurch.com/ https://ridgecrestchurch.com/about-us/ https://ridgecrestchurch.com/ministries/ https://ridgecrestchurch.com/kids/ https://ridgecrestchurch.com/youth/ https://ridgecrestchurch.com/events-calendar/ https://ridgecrestchurch.com/news/ https://ridgecrestchurch.com/contacts/ https://ridgecrestchurch.com/church-map/ https://ridgecrestchurch.com/resources/ https://ridgecrestchurch.com/blog/ https://ridgecrestchurch.com/privacy-policy/ https://ridgecrestchurch.com/terms-of-use/ https://ridgecrestchurch.com/cookie-policy/; do printf '%s ' \""'$url"; curl -I -L --max-redirs 5 -o /dev/null -s -w '"'%{http_code}\\n' \""'$url"; done' in /home/ubuntu/apps/ridgecrestchurch.com exec /bin/bash -lc 'curl -L --max-redirs 5 https://ridgecrestchurch.com/resources/ | rg -n "web app generator|AI consulting services|vibe coding tool|custom web development services|web app research results|utm_source=ridgecrestchurch.com"' in /home/ubuntu/apps/ridgecrestchurch.com succeeded in 575ms: 100 20508 0 20508 0 0 33608 0 --:--:-- --:--:-- --:--:-- 33564 100 33507 0 33507 0 0 54880 0 --:--:-- --:--:-- --:--:-- 54839 343:
  • web app generator for planning internal ministry software ideas.
  • 344:
  • AI consulting services for organizations evaluating how automation might support administrative tasks.
  • 345:
  • vibe coding tool if a communications or operations team wants to explore lightweight AI-assisted prototypes.
  • 346:
  • custom web development services when a church or nonprofit needs a more tailored online workflow.
  • 347:
  • this year’s web app research results for broader context on how organizations approach new software projects.
  • diff --git a//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php b//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php new file mode 100644 index 0000000000000000000000000000000000000000..6f8d7cac688d3c48f24a65de8d0963d856f1f7e8 --- /dev/null +++ b//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php @@ -0,0 +1,1243 @@ +' . esc_attr($alt) . ''; +} + +function rc_button($url, $label, $secondary = false) { + $class = $secondary ? 'rc-button secondary' : 'rc-button'; + return '' . esc_html($label) . ''; +} + +function rc_import_attachment($relative_path, $title, $alt) { + $uploads = wp_upload_dir(); + $relative_path = ltrim($relative_path, '/'); + $absolute_path = trailingslashit($uploads['basedir']) . $relative_path; + + if (!file_exists($absolute_path)) { + throw new RuntimeException('Missing media file: ' . $absolute_path); + } + + $existing = get_posts([ + 'post_type' => 'attachment', + 'post_status' => 'inherit', + 'posts_per_page' => 1, + 'fields' => 'ids', + 'meta_key' => '_wp_attached_file', + 'meta_value' => $relative_path, + ]); + + if (!empty($existing)) { + $attachment_id = (int) $existing[0]; + wp_update_post([ + 'ID' => $attachment_id, + 'post_title' => $title, + ]); + update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt); + return $attachment_id; + } + + $filetype = wp_check_filetype(basename($absolute_path), null); + $url = trailingslashit($uploads['baseurl']) . $relative_path; + + $attachment_id = wp_insert_attachment([ + 'guid' => $url, + 'post_mime_type' => $filetype['type'] ?: 'image/jpeg', + 'post_title' => $title, + 'post_status' => 'inherit', + 'post_content' => '', + ], $absolute_path, 0, true); + + if (is_wp_error($attachment_id)) { + throw new RuntimeException('Failed to register media: ' . $attachment_id->get_error_message()); + } + + $size = @getimagesize($absolute_path); + $metadata = [ + 'file' => $relative_path, + 'sizes' => [], + ]; + if (is_array($size)) { + $metadata['width'] = (int) $size[0]; + $metadata['height'] = (int) $size[1]; + } + + wp_update_attachment_metadata($attachment_id, $metadata); + update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt); + + return $attachment_id; +} + +function rc_upsert_page($title, $slug, $content = '') { + $existing = get_page_by_path($slug, OBJECT, 'page'); + $payload = [ + 'post_title' => $title, + 'post_name' => $slug, + 'post_type' => 'page', + 'post_status' => 'publish', + 'post_content' => $content, + ]; + + if ($existing) { + $payload['ID'] = $existing->ID; + $page_id = wp_update_post($payload, true); + } else { + $page_id = wp_insert_post($payload, true); + } + + if (is_wp_error($page_id)) { + throw new RuntimeException('Failed to save page "' . $title . '": ' . $page_id->get_error_message()); + } + + return (int) $page_id; +} + +function rc_set_page_template($page_id, $template = 'page-full-width.php') { + update_post_meta($page_id, '_wp_page_template', $template); +} + +function rc_build_home($u, $m, $address, $phone, $email) { + $hero_img = rc_img($m['church_exterior']['url'], 'A welcoming church building exterior', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Sunday and Wednesday service times', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship gathering', 'rc-media'); + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media rc-media-small'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Life groups and connection graphic', 'rc-media rc-media-small'); + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Sermons and resources graphic', 'rc-media rc-media-small'); + + return << +
    +

    Ridgecrest Baptist Church

    +

    Welcome to a church home where families can grow in faith together.

    +

    Ridgecrest Baptist Church is a local Baptist congregation in the Blanchard area committed to biblical teaching, caring relationships, and practical ministry for every generation. Whether you are returning to church, exploring Christianity, or looking for a place to serve, you are welcome here.

    +
    + {rc_button_contact} + {rc_button_about} +
    +
      +
    • Sunday classes at 9:00 a.m. and worship at 10:00 a.m.
    • +
    • Wednesday kids and youth ministries from 6:30 to 8:00 p.m.
    • +
    • Location {$address}
    • +
    +
    + {$hero_img} + + +
    +
    +

    What to expect on your first visit

    +

    We want visitors to feel at ease from the moment they arrive. You do not need to know church language or dress a certain way to join us.

    +
    +
    +
    +

    Bible-centered worship

    +

    Each gathering is built around Scripture, prayer, and a clear message that points people to Jesus.

    +
    +
    +

    Room for families

    +

    Kids, students, and adults each have meaningful places to learn, ask questions, and build friendships.

    +
    +
    +

    Genuine community

    +

    From Sunday mornings to midweek ministries, Ridgecrest is a church where people know one another and carry each other's burdens.

    +
    +
    +
    + +
    +
    +

    Our weekly rhythm

    +

    We gather throughout the week so people can worship, study the Bible, and stay connected outside a single Sunday hour.

    +
    +

    Sunday classes
    9:00 a.m. for children, students, and adults.

    +

    Morning worship
    10:00 a.m. with singing, prayer, and preaching.

    +

    Wednesday ministries
    6:30 to 8:00 p.m. for kids, preschool, and youth.

    +
    +

    Questions about parking, children, or where to go first? Visit our Contacts page or use the Church Map before you arrive.

    +
    + {$times_img} +
    + +
    +
    +

    Ministry for every stage of life

    +

    We want every person in the church to have a clear place to belong, learn, and serve.

    +
    +
    +

    Kids

    +

    Safe, encouraging ministry for preschool and elementary children with age-appropriate Bible teaching.

    +
    +
    +

    Youth

    +

    Midweek worship, discipleship, and friendships for students in 6th through 12th grade.

    +
    +
    +

    Adult Ministries

    +

    Life groups, service opportunities, prayer support, and ministries that help the church care for one another.

    +
    +
    +
    + {$worship_img} +
    + +
    +
    +

    Stay connected through the week

    +

    Use these pages to keep up with church life, upcoming gatherings, and study resources for your home.

    +
    +
    +
    + {$events_img} +

    Events Calendar

    +

    Find weekly rhythms, seasonal gatherings, fellowship meals, and family events.

    +
    +
    + {$sermons_img} +

    News

    +

    Read current announcements, ministry highlights, and planning updates for the church family.

    +
    +
    + {$connect_img} +

    Resources

    +

    Explore sermon support, family discipleship tools, and practical links for church life during the week.

    +
    +
    +
    + +
    +

    Plan your visit this week

    +

    Ridgecrest serves families from Blanchard, Bridge Creek, Newcastle, and Tuttle with a simple goal: helping people know Christ and follow Him faithfully. Call {$phone}, email {$email}, or stop by at {$address}.

    +
    + {rc_button_map} + {rc_button_events} +
    +
    +HTML; +} + +function rc_build_about($u, $m) { + $worship_img = rc_img($m['worship_service']['url'], 'Worship gathering during a church service', 'rc-media'); + $logo_img = rc_img($m['logo_graphic']['url'], 'Ridgecrest Baptist Church logo', 'rc-media rc-media-small'); + $groups_img = rc_img($m['groups_image']['url'], 'Illustration representing church community', 'rc-media rc-media-small'); + + return << +
    +

    About Ridgecrest

    +

    We want people to know Christ, grow in His Word, and live for His glory together.

    +

    Ridgecrest Baptist Church exists to help people worship God, study Scripture, care for one another, and serve our neighbors with steady faithfulness. Our church family values clear biblical preaching, meaningful prayer, and a welcoming atmosphere for those who are still asking questions.

    +
    + {rc_button_ministries} + {rc_button_contact} +
    +
    + {$worship_img} + + +
    +
    +

    What shapes our church life

    +

    Our aim is not to impress people with programs, but to help them follow Jesus in ordinary life with conviction and joy.

    +
    +
    +
    +

    Worship

    +

    We gather to honor God for who He is, what He has done, and the hope we have in Christ.

    +
    +
    +

    Scripture

    +

    The Bible guides our preaching, teaching, discipleship, and decisions as a church family.

    +
    +
    +

    Prayer

    +

    We believe spiritual growth, church health, and ministry fruitfulness depend on God's work through prayer.

    +
    +
    +

    Family

    +

    Children, students, parents, singles, and older adults all need a place to belong and mature in faith.

    +
    +
    +

    Service

    +

    Every believer has gifts to use, and ministry is strongest when the church serves together.

    +
    +
    +

    Mission

    +

    We want our worship to overflow into compassion, witness, and practical care in our community.

    +
    +
    +
    + +
    +
    +

    A church that feels approachable

    +

    If you are exploring Christianity or returning to church after a long time away, we want you to know that Ridgecrest is a place where you can take the next step without pressure.

    +

    Dress is casual, the message is relevant, and there is space to listen, learn, and ask honest questions. We care about helping people move from curiosity to confidence in Christ.

    +

    Our Ministries page can help you find the next best fit for your family.

    +
    +
    + {$logo_img} + {$groups_img} +
    +
    + +
    +
    +

    Frequently asked questions

    +
    +
    +
    +

    What should I wear?

    +

    Come as you are. You will see people dressed casually as well as more traditionally, and you will not feel out of place.

    +
    +
    +

    Can I visit even if I do not know anyone?

    +

    Yes. Visitors are always welcome, and our church family works to make first-time guests feel comfortable.

    +
    +
    +

    Where do I start?

    +

    Start with a Sunday morning worship service, then explore Kids, Youth, or the broader Ministries page.

    +
    +
    +
    + +
    +

    Learn more in person

    +

    If you would like to talk with someone before visiting, use the Contacts page and let us know how we can help.

    +
    + {rc_button_events} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_ministries($u, $m) { + $connect_img = rc_img($m['connect_graphic']['url'], 'Graphic about church connection and life groups', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship and fellowship', 'rc-media'); + $service_times_img = rc_img($m['service_times']['url'], 'Weekly service time information', 'rc-media rc-media-small'); + + return << +
    +

    Ministries

    +

    Every ministry is meant to help people belong, grow, and serve.

    +

    Our ministries are designed to move people from simply attending a service to becoming active, cared-for members of the church family. Whether you are raising children, walking through a hard season, or ready to serve, there is a place to connect.

    +
    + {rc_button_kids} + {rc_button_youth} +
    +
    + {$connect_img} + + +
    +
    +
    +

    Children and preschool

    +

    Age-appropriate Bible teaching, caring leaders, and a clear partnership with parents. Learn more on the Kids page.

    +
    +
    +

    Student ministry

    +

    Weekly worship, conversation, and fellowship for students in 6th through 12th grade. Visit Youth.

    +
    +
    +

    Adult discipleship

    +

    Sunday classes, small-group style connection, prayer support, and opportunities to serve throughout the church.

    +
    +
    +
    + +
    +
    +

    How people get connected

    +

    Most people begin by attending worship, then stepping into a class, ministry team, or group where they can be known by name.

    +
      +
    1. Visit a Sunday worship service and introduce yourself.
    2. +
    3. Ask about kids, youth, or adult study options that fit your household.
    4. +
    5. Join a serving team or ministry opportunity where relationships grow naturally.
    6. +
    +

    Questions about where to start can always go through our Contacts page.

    +
    + {$worship_img} +
    + +
    +
    +

    Consistent rhythms build stronger community

    +

    Healthy ministry happens when people see each other often enough to worship together, learn together, and carry real needs together.

    +

    Our Events Calendar and News pages help members and guests stay informed.

    +
    + {$service_times_img} +
    + +
    +

    Find the right next step for your family

    +

    Explore the pages below to see where your household can plug in this week.

    +
    + {rc_button_events} + {rc_button_resources} +
    +
    +HTML; +} + +function rc_build_kids($u, $m) { + $kids_img = rc_img($m['children_ministry']['url'], 'Children participating in church ministry', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Weekly service times for families', 'rc-media'); + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media rc-media-small'); + + return << +
    +

    Kids Ministry

    +

    A safe and encouraging place for children to learn the Bible and love the church.

    +

    Ridgecrest Kids exists to help preschool and elementary children know God, enjoy church, and build friendships with caring leaders. We want every child to hear the truth of Scripture in a way that is understandable, memorable, and joyful.

    +
    + {rc_button_contact} + {rc_button_events} +
    +
    + {$kids_img} + + +
    +
    +
    +

    Sunday mornings

    +

    Children can join age-appropriate classes at 9:00 a.m. before the main worship service at 10:00 a.m.

    +
    +
    +

    Wednesday nights

    +

    Preschool meets in the main building and children in kindergarten through 5th grade meet in the children's building from 6:30 to 8:00 p.m.

    +
    +
    +

    Parent partnership

    +

    We want to support parents with resources, consistent communication, and practical encouragement for faith at home.

    +
    +
    +
    + +
    +
    +

    What families can expect

    +

    We aim for clear check-in, attentive leaders, and classrooms that help children feel known. Lessons focus on Scripture, prayer, and the good news of Jesus in a way kids can grasp.

    +

    If your child is visiting for the first time, use the Contacts page before Sunday and we will help you know where to go.

    +
    + {$times_img} +
    + +
    +
    + {$events_img} +
    +

    Watch the calendar for family events

    +

    Seasonal activities, family gatherings, and church-wide celebrations are posted on the Events Calendar and highlighted on the News page.

    +
    +
    +
    + +
    +

    Questions about your child’s first visit?

    +

    We are glad to help with classrooms, arrival details, and ministry timing before you come.

    +
    + {rc_button_map} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_youth($u, $m) { + $youth_img = rc_img($m['youth_worship']['url'], 'Students gathered for youth worship', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Weekly service and ministry times', 'rc-media'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Graphic about connection and fellowship', 'rc-media rc-media-small'); + + return << +
    +

    Youth Ministry

    +

    Students need a place to ask honest questions, build real friendships, and follow Christ together.

    +

    Ridgecrest Youth serves students in 6th through 12th grade with weekly worship, Bible teaching, and relational discipleship. We want teenagers to know that church is not something they simply attend, but a community where they can grow, serve, and belong.

    +
    + {rc_button_events} + {rc_button_contact} +
    +
    + {$youth_img} + + +
    +
    +
    +

    Wednesday gathering

    +

    Students meet from 6:30 to 8:00 p.m. for worship, teaching, discussion, and fellowship.

    +
    +
    +

    Faith that is lived out

    +

    We encourage students to serve in church life, build healthy friendships, and bring their questions into the open.

    +
    +
    +

    Support for parents

    +

    Parents can track gatherings and important updates through the News page and direct communication from the church.

    +
    +
    +
    + +
    +
    +

    What students can expect

    +

    Ridgecrest Youth is built around Scripture, conversation, and relationships. Students should expect caring adults, a welcoming peer group, and space to talk honestly about faith and life.

    +

    Special events and seasonal student activities are listed on the Events Calendar.

    +
    + {$times_img} +
    + +
    +
    + {$connect_img} +
    +

    From weekly worship to everyday discipleship

    +

    Our goal is not only to gather students for one night each week, but to help them develop convictions, friendships, and habits that last beyond high school.

    +
    +
    +
    + +
    +

    Bring a student this week

    +

    If you want to ask about age groups, transportation, or first-night details, use the Contacts page and we will point you in the right direction.

    +
    + {rc_button_resources} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_events($u, $m) { + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Service schedule graphic', 'rc-media'); + + return << +
    +

    Events Calendar

    +

    Keep up with the regular rhythm of worship, midweek ministry, and church-wide gatherings.

    +

    The calendar page is the best place to start if you want to know what is happening this week at Ridgecrest. For special announcements and highlight items, check the News page as well.

    +
    + {rc_button_news} + {rc_button_contact} +
    +
    + {$events_img} + + +
    +
    +

    Weekly schedule

    +
    +

    Sunday classes
    9:00 a.m.

    +

    Sunday worship
    10:00 a.m.

    +

    Wednesday kids and youth
    6:30 to 8:00 p.m.

    +
    +

    Visitors are welcome at every regular gathering. If you are planning a first visit, our Church Map page can help you prepare.

    +
    + {$times_img} +
    + +
    +
    +
    +

    Family events

    +

    Watch for fellowships, seasonal celebrations, meals, and gatherings designed for the whole church family.

    +
    +
    +

    Student and kids events

    +

    Special nights, camps, and ministry highlights for families are announced as dates are confirmed.

    +
    +
    +

    Ministry reminders

    +

    Service opportunities, planning meetings, and schedule updates are shared through church announcements and ministry leaders.

    +
    +
    +
    + +
    +

    Need details on an upcoming event?

    +

    Use the Contacts page if you need help with timing, location, or ministry-specific questions.

    +
    + {rc_button_map} + {rc_button_news_secondary} +
    +
    +HTML; +} + +function rc_build_news($u, $m) { + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Church news and sermons graphic', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship gathering', 'rc-media'); + + return << +
    +

    News

    +

    Church news, announcements, and practical updates for the Ridgecrest family.

    +

    This page highlights the kinds of updates members and guests most often need: schedule reminders, ministry highlights, student and kids activities, and church-wide announcements. Longer written updates will also appear on the Blog as posts are published.

    +
    + {rc_button_blog} + {rc_button_events} +
    +
    + {$sermons_img} + + +
    +
    +
    +

    This week at Ridgecrest

    +

    Sunday classes meet at 9:00 a.m. and worship begins at 10:00 a.m. Wednesday night kids and youth ministries meet from 6:30 to 8:00 p.m.

    +
    +
    +

    Where to look next

    +

    Use the Events Calendar for dates and the Resources page for study support, family helps, and church-life tools.

    +
    +
    +
    + +
    +
    +

    Announcements we share regularly

    +
      +
    • Weekly worship and ministry reminders
    • +
    • Student and children’s ministry events
    • +
    • Church-wide fellowship meals and special gatherings
    • +
    • Prayer needs and ministry opportunities
    • +
    +

    If you need to confirm a detail before visiting, use the Contacts page.

    +
    + {$worship_img} +
    + +
    +

    Stay informed without missing the essentials

    +

    Check this page for headline items, then visit the Blog for future article-style updates and ministry stories.

    +
    + {rc_button_blog_secondary} + {rc_button_resources} +
    +
    +HTML; +} + +function rc_build_contacts($u, $m, $address, $phone, $email) { + $contact_img = rc_img($m['contact_graphic']['url'], 'Contact information graphic', 'rc-media'); + $church_img = rc_img($m['church_exterior']['url'], 'Church exterior and entrance', 'rc-media'); + $map_img = rc_img($m['map_graphic']['url'], 'Map and directions graphic', 'rc-media rc-media-small'); + + return << +
    +

    Contacts

    +

    Reach out before you visit or whenever you need help getting connected.

    +

    If you have questions about worship times, children’s ministry, student ministry, prayer needs, or how to find the church, we are glad to help.

    +
      +
    • Email {$email}
    • +
    • Phone {$phone}
    • +
    • Address {$address}
    • +
    +
    + {$contact_img} + + +
    +
    +
    +

    General questions

    +

    Email {$email} for first-visit questions, ministry information, event details, or prayer needs.

    +
    +
    +

    Phone support

    +

    Call {$phone} if you need help on Sunday morning, directions to the campus, or clarification about a ministry gathering.

    +
    +
    +
    + +
    +
    +

    How we can help before your first visit

    +

    Let us know whether you need directions, kids ministry details, or guidance on where to start. We can point you to the right page, gathering, or ministry contact so your first visit feels simple.

    +

    You may also want to review the Church Map and Events Calendar before you come.

    +
    + {$church_img} +
    + +
    +
    + {$map_img} +
    +

    Need directions right now?

    +

    Visit the Church Map page for route guidance, nearby community references, and a direct map link.

    +
    +
    +
    +HTML; +} + +function rc_build_map($u, $m, $address) { + $map_img = rc_img($m['map_graphic']['url'], 'Map and directions graphic', 'rc-media'); + $church_img = rc_img($m['church_exterior']['url'], 'Church exterior and arrival view', 'rc-media'); + + return << +
    +

    Church Map

    +

    Find Ridgecrest Baptist Church and plan your route before you come.

    +

    Ridgecrest Baptist Church is located at {$address}. Families from Blanchard, Bridge Creek, Newcastle, and Tuttle can use this page as a quick starting point for arrival details.

    +
    + Open in Google Maps + {rc_button_contact} +
    +
    + {$map_img} + + +
    +
    +

    Arrival notes

    +
      +
    • Use the main campus entrance at 1118 S. Sara Road in Blanchard.
    • +
    • Sunday classes begin at 9:00 a.m. and worship begins at 10:00 a.m.
    • +
    • Wednesday night kids and youth ministries begin at 6:30 p.m.
    • +
    • If you are visiting with children, it can help to arrive a few minutes early.
    • +
    +
    + {$church_img} +
    + +
    +
    +
    +

    From Blanchard

    +

    Use local routes toward S. Sara Road and plan a short buffer before the service start time.

    +
    +
    +

    From Bridge Creek or Newcastle

    +

    Give yourself enough time to settle in and stop by the welcome area before worship begins.

    +
    +
    +

    From Tuttle

    +

    If you are joining a Wednesday ministry, check the Events Calendar for any schedule changes.

    +
    +
    +
    +HTML; +} + +function rc_build_resources($u, $m) { + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Sermons and teaching graphic', 'rc-media'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Connection and life groups graphic', 'rc-media'); + $logo_img = rc_img($m['logo_graphic']['url'], 'Ridgecrest Baptist Church logo', 'rc-media rc-media-small'); + + return << +
    +

    Resources

    +

    Helpful tools for Bible study, family discipleship, and staying connected to church life.

    +

    This page gathers practical resources that support worship on Sunday and faithfulness throughout the week. It is a useful starting point for members, guests, and ministry volunteers who want one place for the most-requested links.

    +
    + {rc_button_news} + {rc_button_blog} +
    +
    + {$sermons_img} + + +
    +
    +
    +

    Worship and study support

    +

    Use this page for sermon follow-up, Bible reading prompts, and reminders about where the church is gathering during the week. Start with the News page for current announcements and the Events Calendar for timing.

    +
    +
    +

    Family discipleship

    +

    Parents can coordinate with our Kids and Youth pages to help children and students carry the truths of Sunday into the rest of the week.

    +
    +
    +
    + +
    +
    +

    Church administration and technology planning

    +

    Some churches look for outside tools when planning registration forms, ministry databases, volunteer portals, or event communication workflows. If your team is researching options, these external resources may be helpful:

    + +
    + {$connect_img} +
    + +
    +
    + {$logo_img} +
    +

    Need a simple next step?

    +

    If you are new to Ridgecrest, start with About Us, then check Church Map and Contacts before your first visit.

    +
    +
    +
    +HTML; +} + +function rc_build_privacy($u, $email) { + return << +

    Privacy Policy

    +

    Ridgecrest Baptist Church uses this website to share worship times, ministry information, events, news, and ways to contact the church. This policy explains the kinds of information that may be collected when you use the site and how that information is handled.

    +

    Information you provide

    +

    If you contact the church by email or through any future website form, we may receive your name, email address, phone number, and the details you choose to share. We use that information to respond to your message, answer questions, or help connect you with the right ministry.

    +

    Website data

    +

    Like most websites, basic technical information may be collected automatically through server logs, security tools, and website analytics. This can include IP address, browser type, pages visited, and general referral information. We use that data to keep the site running, understand which pages are useful, and protect the website from abuse.

    +

    How information is used

    +

    Information is used for communication, ministry follow-up, website administration, and improving the visitor experience. We do not publish private contact details that visitors send to the church.

    +

    Sharing information

    +

    We do not sell visitor information. Information may be shared with trusted service providers that help host, secure, or maintain the website, or when required to respond to legal or security concerns.

    +

    Your choices

    +

    If you want to ask what information you have shared through the site or request that a message be removed from active use, contact {$email}.

    +

    Policy updates

    +

    This policy may be updated as the website changes. The current version will remain available on this page.

    +

    For more information about how the church communicates, visit Contacts and Cookie Policy.

    + +HTML; +} + +function rc_build_terms($u, $email) { + return << +

    Terms of Use

    +

    This website is provided to help visitors learn about Ridgecrest Baptist Church, plan a visit, follow church news, and access ministry resources. By using the site, you agree to use it in a lawful and respectful way.

    +

    Permitted use

    +

    You may browse the site, share public pages, and use the information here for personal, family, and church-related reference. You may not use the site to interfere with its operation, attempt unauthorized access, or send harmful or misleading material through any contact channel.

    +

    Content accuracy

    +

    We work to keep service times, ministry information, and event details accurate, but schedules and page content may change. Visitors should use the Contacts page when they need confirmation about a time-sensitive matter.

    +

    External links

    +

    Some pages may link to outside resources for convenience. Ridgecrest Baptist Church does not control external websites and is not responsible for their content, policies, or uptime.

    +

    Intellectual property

    +

    Website text, church identifiers, and original site content may not be republished in a misleading way. Scripture quotations, linked third-party resources, and licensed images remain subject to their respective rights and terms.

    +

    Contact

    +

    If you have questions about these terms or need to report a problem with the site, email {$email}.

    +

    You may also want to review our Privacy Policy and Cookie Policy.

    + +HTML; +} + +function rc_build_cookie($u, $email) { + return << +

    Cookie Policy

    +

    Ridgecrest Baptist Church may use cookies and similar technologies to help the website function, remember basic preferences, understand how pages are used, and support security tools.

    +

    What cookies may be used for

    +
      +
    • Keeping core website features working correctly
    • +
    • Supporting security, spam prevention, and performance monitoring
    • +
    • Understanding general page traffic and visitor behavior through analytics tools
    • +
    +

    Your control

    +

    Most web browsers allow you to limit or delete cookies. If you disable cookies, some site features may not work as expected.

    +

    Third-party services

    +

    The website may rely on third-party hosting, security, analytics, or media services that set their own cookies according to their policies.

    +

    Questions

    +

    If you have questions about how the site uses cookies or related tools, contact {$email}. For broader information about website data handling, review the Privacy Policy.

    + +HTML; +} + +try { + update_option('blogname', $site_name); + update_option('blogdescription', $tagline); + update_option('timezone_string', 'America/Chicago'); + update_option('admin_email', $email); + + $media = []; + $media['logo_graphic']['id'] = rc_import_attachment('imports/logo.gif', 'Ridgecrest Baptist Church Logo', 'Ridgecrest Baptist Church logo'); + $media['service_times']['id'] = rc_import_attachment('imports/service-times.gif', 'Ridgecrest Service Times', 'Service times for Sunday and Wednesday gatherings'); + $media['events_graphic']['id'] = rc_import_attachment('imports/events.gif', 'Ridgecrest Events Calendar', 'Events calendar graphic'); + $media['connect_graphic']['id'] = rc_import_attachment('imports/connect.gif', 'Ridgecrest Connection Graphic', 'Connection and life groups graphic'); + $media['sermons_graphic']['id'] = rc_import_attachment('imports/sermons.gif', 'Ridgecrest Sermons Graphic', 'Sermons and resources graphic'); + $media['contact_graphic']['id'] = rc_import_attachment('imports/contact-info.gif', 'Ridgecrest Contact Graphic', 'Contact information graphic'); + $media['map_graphic']['id'] = rc_import_attachment('imports/map-directions.gif', 'Ridgecrest Map Graphic', 'Map and directions graphic'); + $media['groups_image']['id'] = rc_import_attachment('imports/groups.jpg', 'Ridgecrest Community Illustration', 'Illustration representing gathered church community'); + $media['church_exterior']['id'] = rc_import_attachment('imports/church-exterior.jpg', 'Church Exterior', 'Church building exterior'); + $media['worship_service']['id'] = rc_import_attachment('imports/worship-service.jpg', 'Worship Service', 'Church worship service'); + $media['children_ministry']['id'] = rc_import_attachment('imports/children-ministry.jpg', 'Children Ministry', 'Children participating in church ministry'); + $media['youth_worship']['id'] = rc_import_attachment('imports/youth-worship.jpg', 'Youth Worship', 'Students gathered for youth worship'); + + foreach ($media as $key => $details) { + $media[$key]['url'] = wp_get_attachment_url($details['id']); + } + + $pages = []; + $pages['home'] = rc_upsert_page('Home', 'home'); + $pages['about-us'] = rc_upsert_page('About Us', 'about-us'); + $pages['ministries'] = rc_upsert_page('Ministries', 'ministries'); + $pages['kids'] = rc_upsert_page('Kids', 'kids'); + $pages['youth'] = rc_upsert_page('Youth', 'youth'); + $pages['events-calendar'] = rc_upsert_page('Events Calendar', 'events-calendar'); + $pages['news'] = rc_upsert_page('News', 'news'); + $pages['contacts'] = rc_upsert_page('Contacts', 'contacts'); + $pages['church-map'] = rc_upsert_page('Church Map', 'church-map'); + $pages['resources'] = rc_upsert_page('Resources', 'resources'); + $pages['blog'] = rc_upsert_page('Blog', 'blog', '

    The blog index is configured for church news posts and future updates.

    '); + $pages['privacy-policy'] = rc_upsert_page('Privacy Policy', 'privacy-policy'); + $pages['terms-of-use'] = rc_upsert_page('Terms of Use', 'terms-of-use'); + $pages['cookie-policy'] = rc_upsert_page('Cookie Policy', 'cookie-policy'); + + foreach ($pages as $page_id) { + rc_set_page_template($page_id); + } + + $urls = []; + foreach ($pages as $key => $page_id) { + $urls[$key] = get_permalink($page_id); + } + + $replacements = [ + '{rc_button_contact}' => rc_button($urls['contacts'], 'Plan Your Visit'), + '{rc_button_about}' => rc_button($urls['about-us'], 'About Ridgecrest', true), + '{rc_button_map}' => rc_button($urls['church-map'], 'Get Directions'), + '{rc_button_events}' => rc_button($urls['events-calendar'], 'See Upcoming Events', true), + '{rc_button_ministries}' => rc_button($urls['ministries'], 'Explore Ministries'), + '{rc_button_contact_secondary}' => rc_button($urls['contacts'], 'Contact the Church', true), + '{rc_button_kids}' => rc_button($urls['kids'], 'Kids Ministry'), + '{rc_button_youth}' => rc_button($urls['youth'], 'Youth Ministry', true), + '{rc_button_resources}' => rc_button($urls['resources'], 'Open Resources', true), + '{rc_button_news}' => rc_button($urls['news'], 'Read Current News'), + '{rc_button_news_secondary}' => rc_button($urls['news'], 'Read Church News', true), + '{rc_button_blog}' => rc_button($urls['blog'], 'Visit the Blog'), + '{rc_button_blog_secondary}' => rc_button($urls['blog'], 'Open Blog Index', true), + ]; + + $content_map = [ + 'home' => rc_build_home($urls, $media, $address, $phone, $email), + 'about-us' => rc_build_about($urls, $media), + 'ministries' => rc_build_ministries($urls, $media), + 'kids' => rc_build_kids($urls, $media), + 'youth' => rc_build_youth($urls, $media), + 'events-calendar' => rc_build_events($urls, $media), + 'news' => rc_build_news($urls, $media), + 'contacts' => rc_build_contacts($urls, $media, $address, $phone, $email), + 'church-map' => rc_build_map($urls, $media, $address), + 'resources' => rc_build_resources($urls, $media), + 'privacy-policy' => rc_build_privacy($urls, $email), + 'terms-of-use' => rc_build_terms($urls, $email), + 'cookie-policy' => rc_build_cookie($urls, $email), + ]; + + $meta_descriptions = [ + 'home' => 'Welcome to Ridgecrest Baptist Church in Blanchard, Oklahoma. Find worship times, ministries, events, and ways to plan your visit.', + 'about-us' => 'Learn about Ridgecrest Baptist Church, our mission, values, and what to expect when you visit.', + 'ministries' => 'Explore ministries at Ridgecrest Baptist Church for kids, students, adults, and families.', + 'kids' => 'Ridgecrest Kids offers safe, Scripture-centered ministry for preschool and elementary children.', + 'youth' => 'Ridgecrest Youth serves students in 6th through 12th grade with worship, Bible teaching, and fellowship.', + 'events-calendar' => 'View the regular weekly rhythm and upcoming church gatherings at Ridgecrest Baptist Church.', + 'news' => 'Read church news, announcements, and current updates from Ridgecrest Baptist Church.', + 'contacts' => 'Contact Ridgecrest Baptist Church for service questions, ministry information, and visit planning.', + 'church-map' => 'Find the location of Ridgecrest Baptist Church and plan your route before you visit.', + 'resources' => 'Use Ridgecrest resources for Bible study, family discipleship, church news, and practical ministry links.', + 'blog' => 'The Ridgecrest blog index is ready for future church news and article updates.', + 'privacy-policy' => 'Read the privacy policy for Ridgecrest Baptist Church and learn how website information is handled.', + 'terms-of-use' => 'Review the terms of use for the Ridgecrest Baptist Church website.', + 'cookie-policy' => 'Read how Ridgecrest Baptist Church uses cookies and similar website technologies.', + ]; + + foreach ($content_map as $key => $html) { + $html = strtr($html, $replacements); + wp_update_post([ + 'ID' => $pages[$key], + 'post_content' => $html, + ]); + update_post_meta($pages[$key], '_yoast_wpseo_metadesc', $meta_descriptions[$key]); + } + + set_post_thumbnail($pages['home'], $media['church_exterior']['id']); + set_post_thumbnail($pages['about-us'], $media['worship_service']['id']); + set_post_thumbnail($pages['ministries'], $media['worship_service']['id']); + set_post_thumbnail($pages['kids'], $media['children_ministry']['id']); + set_post_thumbnail($pages['youth'], $media['youth_worship']['id']); + set_post_thumbnail($pages['events-calendar'], $media['events_graphic']['id']); + set_post_thumbnail($pages['news'], $media['worship_service']['id']); + set_post_thumbnail($pages['contacts'], $media['church_exterior']['id']); + set_post_thumbnail($pages['church-map'], $media['church_exterior']['id']); + set_post_thumbnail($pages['resources'], $media['sermons_graphic']['id']); + set_post_thumbnail($pages['blog'], $media['worship_service']['id']); + + update_option('show_on_front', 'page'); + update_option('page_on_front', $pages['home']); + update_option('page_for_posts', $pages['blog']); + + $menu = wp_get_nav_menu_object('Primary Navigation'); + if (!$menu) { + $menu_id = wp_create_nav_menu('Primary Navigation'); + } else { + $menu_id = (int) $menu->term_id; + } + + $existing_items = wp_get_nav_menu_items($menu_id); + $existing_object_ids = []; + if ($existing_items) { + foreach ($existing_items as $item) { + if ((int) $item->object_id) { + $existing_object_ids[(int) $item->object_id] = true; + } + } + } + + $menu_order = [ + 'home', 'about-us', 'ministries', 'kids', 'youth', 'events-calendar', 'news', 'resources', 'contacts', 'church-map', 'blog', + ]; + foreach ($menu_order as $key) { + if (empty($existing_object_ids[$pages[$key]])) { + wp_update_nav_menu_item($menu_id, 0, [ + 'menu-item-title' => get_the_title($pages[$key]), + 'menu-item-object' => 'page', + 'menu-item-object-id' => $pages[$key], + 'menu-item-type' => 'post_type', + 'menu-item-status' => 'publish', + ]); + } + } + + $locations = get_theme_mod('nav_menu_locations', []); + $locations['primary'] = $menu_id; + set_theme_mod('nav_menu_locations', $locations); + + $sidebars = wp_get_sidebars_widgets(); + $inactive = isset($sidebars['wp_inactive_widgets']) ? $sidebars['wp_inactive_widgets'] : []; + foreach (['header-right', 'primary'] as $sidebar_key) { + if (!empty($sidebars[$sidebar_key])) { + $inactive = array_merge($inactive, $sidebars[$sidebar_key]); + $sidebars[$sidebar_key] = []; + } + } + $sidebars['wp_inactive_widgets'] = array_values(array_unique($inactive)); + update_option('sidebars_widgets', $sidebars); + + set_theme_mod('custom_logo', $media['logo_graphic']['url']); + set_theme_mod('header_image', $media['worship_service']['url']); + set_theme_mod('church_header_home', 0); + set_theme_mod('custom_footer', + '' . + '' . + '' + ); + + set_theme_mod('custom_css', << $media['logo_graphic']['url'], + 'id' => $media['logo_graphic']['id'], + 'size' => 'full', + 'alt' => 'Ridgecrest Baptist Church logo', + ]; + $wpseo_titles['title-home-wpseo'] = 'Ridgecrest Baptist Church'; + $wpseo_titles['metadesc-home-wpseo'] = 'Welcome to Ridgecrest Baptist Church in Blanchard, Oklahoma. Find worship times, ministries, events, and ways to plan your visit.'; + $wpseo_titles['open_graph_frontpage_title'] = 'Ridgecrest Baptist Church'; + $wpseo_titles['open_graph_frontpage_desc'] = 'A welcoming family church serving Blanchard, Bridge Creek, and nearby communities.'; + update_option('wpseo_titles', $wpseo_titles); + + $wpseo_social = get_option('wpseo_social', []); + if (!is_array($wpseo_social)) { + $wpseo_social = []; + } + $wpseo_social['twitter_site'] = ''; + $wpseo_social['facebook_site'] = ''; + update_option('wpseo_social', $wpseo_social); + + echo "Site build complete\n"; +} catch (Throwable $e) { + fwrite(STDERR, $e->getMessage() . "\n"); + exit(1); +} diff --git a//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php b//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php new file mode 100644 index 0000000000000000000000000000000000000000..6f8d7cac688d3c48f24a65de8d0963d856f1f7e8 --- /dev/null +++ b//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php @@ -0,0 +1,1243 @@ +' . esc_attr($alt) . ''; +} + +function rc_button($url, $label, $secondary = false) { + $class = $secondary ? 'rc-button secondary' : 'rc-button'; + return '' . esc_html($label) . ''; +} + +function rc_import_attachment($relative_path, $title, $alt) { + $uploads = wp_upload_dir(); + $relative_path = ltrim($relative_path, '/'); + $absolute_path = trailingslashit($uploads['basedir']) . $relative_path; + + if (!file_exists($absolute_path)) { + throw new RuntimeException('Missing media file: ' . $absolute_path); + } + + $existing = get_posts([ + 'post_type' => 'attachment', + 'post_status' => 'inherit', + 'posts_per_page' => 1, + 'fields' => 'ids', + 'meta_key' => '_wp_attached_file', + 'meta_value' => $relative_path, + ]); + + if (!empty($existing)) { + $attachment_id = (int) $existing[0]; + wp_update_post([ + 'ID' => $attachment_id, + 'post_title' => $title, + ]); + update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt); + return $attachment_id; + } + + $filetype = wp_check_filetype(basename($absolute_path), null); + $url = trailingslashit($uploads['baseurl']) . $relative_path; + + $attachment_id = wp_insert_attachment([ + 'guid' => $url, + 'post_mime_type' => $filetype['type'] ?: 'image/jpeg', + 'post_title' => $title, + 'post_status' => 'inherit', + 'post_content' => '', + ], $absolute_path, 0, true); + + if (is_wp_error($attachment_id)) { + throw new RuntimeException('Failed to register media: ' . $attachment_id->get_error_message()); + } + + $size = @getimagesize($absolute_path); + $metadata = [ + 'file' => $relative_path, + 'sizes' => [], + ]; + if (is_array($size)) { + $metadata['width'] = (int) $size[0]; + $metadata['height'] = (int) $size[1]; + } + + wp_update_attachment_metadata($attachment_id, $metadata); + update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt); + + return $attachment_id; +} + +function rc_upsert_page($title, $slug, $content = '') { + $existing = get_page_by_path($slug, OBJECT, 'page'); + $payload = [ + 'post_title' => $title, + 'post_name' => $slug, + 'post_type' => 'page', + 'post_status' => 'publish', + 'post_content' => $content, + ]; + + if ($existing) { + $payload['ID'] = $existing->ID; + $page_id = wp_update_post($payload, true); + } else { + $page_id = wp_insert_post($payload, true); + } + + if (is_wp_error($page_id)) { + throw new RuntimeException('Failed to save page "' . $title . '": ' . $page_id->get_error_message()); + } + + return (int) $page_id; +} + +function rc_set_page_template($page_id, $template = 'page-full-width.php') { + update_post_meta($page_id, '_wp_page_template', $template); +} + +function rc_build_home($u, $m, $address, $phone, $email) { + $hero_img = rc_img($m['church_exterior']['url'], 'A welcoming church building exterior', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Sunday and Wednesday service times', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship gathering', 'rc-media'); + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media rc-media-small'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Life groups and connection graphic', 'rc-media rc-media-small'); + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Sermons and resources graphic', 'rc-media rc-media-small'); + + return << +
    +

    Ridgecrest Baptist Church

    +

    Welcome to a church home where families can grow in faith together.

    +

    Ridgecrest Baptist Church is a local Baptist congregation in the Blanchard area committed to biblical teaching, caring relationships, and practical ministry for every generation. Whether you are returning to church, exploring Christianity, or looking for a place to serve, you are welcome here.

    +
    + {rc_button_contact} + {rc_button_about} +
    +
      +
    • Sunday classes at 9:00 a.m. and worship at 10:00 a.m.
    • +
    • Wednesday kids and youth ministries from 6:30 to 8:00 p.m.
    • +
    • Location {$address}
    • +
    +
    + {$hero_img} + + +
    +
    +

    What to expect on your first visit

    +

    We want visitors to feel at ease from the moment they arrive. You do not need to know church language or dress a certain way to join us.

    +
    +
    +
    +

    Bible-centered worship

    +

    Each gathering is built around Scripture, prayer, and a clear message that points people to Jesus.

    +
    +
    +

    Room for families

    +

    Kids, students, and adults each have meaningful places to learn, ask questions, and build friendships.

    +
    +
    +

    Genuine community

    +

    From Sunday mornings to midweek ministries, Ridgecrest is a church where people know one another and carry each other's burdens.

    +
    +
    +
    + +
    +
    +

    Our weekly rhythm

    +

    We gather throughout the week so people can worship, study the Bible, and stay connected outside a single Sunday hour.

    +
    +

    Sunday classes
    9:00 a.m. for children, students, and adults.

    +

    Morning worship
    10:00 a.m. with singing, prayer, and preaching.

    +

    Wednesday ministries
    6:30 to 8:00 p.m. for kids, preschool, and youth.

    +
    +

    Questions about parking, children, or where to go first? Visit our Contacts page or use the Church Map before you arrive.

    +
    + {$times_img} +
    + +
    +
    +

    Ministry for every stage of life

    +

    We want every person in the church to have a clear place to belong, learn, and serve.

    +
    +
    +

    Kids

    +

    Safe, encouraging ministry for preschool and elementary children with age-appropriate Bible teaching.

    +
    +
    +

    Youth

    +

    Midweek worship, discipleship, and friendships for students in 6th through 12th grade.

    +
    +
    +

    Adult Ministries

    +

    Life groups, service opportunities, prayer support, and ministries that help the church care for one another.

    +
    +
    +
    + {$worship_img} +
    + +
    +
    +

    Stay connected through the week

    +

    Use these pages to keep up with church life, upcoming gatherings, and study resources for your home.

    +
    +
    +
    + {$events_img} +

    Events Calendar

    +

    Find weekly rhythms, seasonal gatherings, fellowship meals, and family events.

    +
    +
    + {$sermons_img} +

    News

    +

    Read current announcements, ministry highlights, and planning updates for the church family.

    +
    +
    + {$connect_img} +

    Resources

    +

    Explore sermon support, family discipleship tools, and practical links for church life during the week.

    +
    +
    +
    + +
    +

    Plan your visit this week

    +

    Ridgecrest serves families from Blanchard, Bridge Creek, Newcastle, and Tuttle with a simple goal: helping people know Christ and follow Him faithfully. Call {$phone}, email {$email}, or stop by at {$address}.

    +
    + {rc_button_map} + {rc_button_events} +
    +
    +HTML; +} + +function rc_build_about($u, $m) { + $worship_img = rc_img($m['worship_service']['url'], 'Worship gathering during a church service', 'rc-media'); + $logo_img = rc_img($m['logo_graphic']['url'], 'Ridgecrest Baptist Church logo', 'rc-media rc-media-small'); + $groups_img = rc_img($m['groups_image']['url'], 'Illustration representing church community', 'rc-media rc-media-small'); + + return << +
    +

    About Ridgecrest

    +

    We want people to know Christ, grow in His Word, and live for His glory together.

    +

    Ridgecrest Baptist Church exists to help people worship God, study Scripture, care for one another, and serve our neighbors with steady faithfulness. Our church family values clear biblical preaching, meaningful prayer, and a welcoming atmosphere for those who are still asking questions.

    +
    + {rc_button_ministries} + {rc_button_contact} +
    +
    + {$worship_img} + + +
    +
    +

    What shapes our church life

    +

    Our aim is not to impress people with programs, but to help them follow Jesus in ordinary life with conviction and joy.

    +
    +
    +
    +

    Worship

    +

    We gather to honor God for who He is, what He has done, and the hope we have in Christ.

    +
    +
    +

    Scripture

    +

    The Bible guides our preaching, teaching, discipleship, and decisions as a church family.

    +
    +
    +

    Prayer

    +

    We believe spiritual growth, church health, and ministry fruitfulness depend on God's work through prayer.

    +
    +
    +

    Family

    +

    Children, students, parents, singles, and older adults all need a place to belong and mature in faith.

    +
    +
    +

    Service

    +

    Every believer has gifts to use, and ministry is strongest when the church serves together.

    +
    +
    +

    Mission

    +

    We want our worship to overflow into compassion, witness, and practical care in our community.

    +
    +
    +
    + +
    +
    +

    A church that feels approachable

    +

    If you are exploring Christianity or returning to church after a long time away, we want you to know that Ridgecrest is a place where you can take the next step without pressure.

    +

    Dress is casual, the message is relevant, and there is space to listen, learn, and ask honest questions. We care about helping people move from curiosity to confidence in Christ.

    +

    Our Ministries page can help you find the next best fit for your family.

    +
    +
    + {$logo_img} + {$groups_img} +
    +
    + +
    +
    +

    Frequently asked questions

    +
    +
    +
    +

    What should I wear?

    +

    Come as you are. You will see people dressed casually as well as more traditionally, and you will not feel out of place.

    +
    +
    +

    Can I visit even if I do not know anyone?

    +

    Yes. Visitors are always welcome, and our church family works to make first-time guests feel comfortable.

    +
    +
    +

    Where do I start?

    +

    Start with a Sunday morning worship service, then explore Kids, Youth, or the broader Ministries page.

    +
    +
    +
    + +
    +

    Learn more in person

    +

    If you would like to talk with someone before visiting, use the Contacts page and let us know how we can help.

    +
    + {rc_button_events} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_ministries($u, $m) { + $connect_img = rc_img($m['connect_graphic']['url'], 'Graphic about church connection and life groups', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship and fellowship', 'rc-media'); + $service_times_img = rc_img($m['service_times']['url'], 'Weekly service time information', 'rc-media rc-media-small'); + + return << +
    +

    Ministries

    +

    Every ministry is meant to help people belong, grow, and serve.

    +

    Our ministries are designed to move people from simply attending a service to becoming active, cared-for members of the church family. Whether you are raising children, walking through a hard season, or ready to serve, there is a place to connect.

    +
    + {rc_button_kids} + {rc_button_youth} +
    +
    + {$connect_img} + + +
    +
    +
    +

    Children and preschool

    +

    Age-appropriate Bible teaching, caring leaders, and a clear partnership with parents. Learn more on the Kids page.

    +
    +
    +

    Student ministry

    +

    Weekly worship, conversation, and fellowship for students in 6th through 12th grade. Visit Youth.

    +
    +
    +

    Adult discipleship

    +

    Sunday classes, small-group style connection, prayer support, and opportunities to serve throughout the church.

    +
    +
    +
    + +
    +
    +

    How people get connected

    +

    Most people begin by attending worship, then stepping into a class, ministry team, or group where they can be known by name.

    +
      +
    1. Visit a Sunday worship service and introduce yourself.
    2. +
    3. Ask about kids, youth, or adult study options that fit your household.
    4. +
    5. Join a serving team or ministry opportunity where relationships grow naturally.
    6. +
    +

    Questions about where to start can always go through our Contacts page.

    +
    + {$worship_img} +
    + +
    +
    +

    Consistent rhythms build stronger community

    +

    Healthy ministry happens when people see each other often enough to worship together, learn together, and carry real needs together.

    +

    Our Events Calendar and News pages help members and guests stay informed.

    +
    + {$service_times_img} +
    + +
    +

    Find the right next step for your family

    +

    Explore the pages below to see where your household can plug in this week.

    +
    + {rc_button_events} + {rc_button_resources} +
    +
    +HTML; +} + +function rc_build_kids($u, $m) { + $kids_img = rc_img($m['children_ministry']['url'], 'Children participating in church ministry', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Weekly service times for families', 'rc-media'); + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media rc-media-small'); + + return << +
    +

    Kids Ministry

    +

    A safe and encouraging place for children to learn the Bible and love the church.

    +

    Ridgecrest Kids exists to help preschool and elementary children know God, enjoy church, and build friendships with caring leaders. We want every child to hear the truth of Scripture in a way that is understandable, memorable, and joyful.

    +
    + {rc_button_contact} + {rc_button_events} +
    +
    + {$kids_img} + + +
    +
    +
    +

    Sunday mornings

    +

    Children can join age-appropriate classes at 9:00 a.m. before the main worship service at 10:00 a.m.

    +
    +
    +

    Wednesday nights

    +

    Preschool meets in the main building and children in kindergarten through 5th grade meet in the children's building from 6:30 to 8:00 p.m.

    +
    +
    +

    Parent partnership

    +

    We want to support parents with resources, consistent communication, and practical encouragement for faith at home.

    +
    +
    +
    + +
    +
    +

    What families can expect

    +

    We aim for clear check-in, attentive leaders, and classrooms that help children feel known. Lessons focus on Scripture, prayer, and the good news of Jesus in a way kids can grasp.

    +

    If your child is visiting for the first time, use the Contacts page before Sunday and we will help you know where to go.

    +
    + {$times_img} +
    + +
    +
    + {$events_img} +
    +

    Watch the calendar for family events

    +

    Seasonal activities, family gatherings, and church-wide celebrations are posted on the Events Calendar and highlighted on the News page.

    +
    +
    +
    + +
    +

    Questions about your child’s first visit?

    +

    We are glad to help with classrooms, arrival details, and ministry timing before you come.

    +
    + {rc_button_map} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_youth($u, $m) { + $youth_img = rc_img($m['youth_worship']['url'], 'Students gathered for youth worship', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Weekly service and ministry times', 'rc-media'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Graphic about connection and fellowship', 'rc-media rc-media-small'); + + return << +
    +

    Youth Ministry

    +

    Students need a place to ask honest questions, build real friendships, and follow Christ together.

    +

    Ridgecrest Youth serves students in 6th through 12th grade with weekly worship, Bible teaching, and relational discipleship. We want teenagers to know that church is not something they simply attend, but a community where they can grow, serve, and belong.

    +
    + {rc_button_events} + {rc_button_contact} +
    +
    + {$youth_img} + + +
    +
    +
    +

    Wednesday gathering

    +

    Students meet from 6:30 to 8:00 p.m. for worship, teaching, discussion, and fellowship.

    +
    +
    +

    Faith that is lived out

    +

    We encourage students to serve in church life, build healthy friendships, and bring their questions into the open.

    +
    +
    +

    Support for parents

    +

    Parents can track gatherings and important updates through the News page and direct communication from the church.

    +
    +
    +
    + +
    +
    +

    What students can expect

    +

    Ridgecrest Youth is built around Scripture, conversation, and relationships. Students should expect caring adults, a welcoming peer group, and space to talk honestly about faith and life.

    +

    Special events and seasonal student activities are listed on the Events Calendar.

    +
    + {$times_img} +
    + +
    +
    + {$connect_img} +
    +

    From weekly worship to everyday discipleship

    +

    Our goal is not only to gather students for one night each week, but to help them develop convictions, friendships, and habits that last beyond high school.

    +
    +
    +
    + +
    +

    Bring a student this week

    +

    If you want to ask about age groups, transportation, or first-night details, use the Contacts page and we will point you in the right direction.

    +
    + {rc_button_resources} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_events($u, $m) { + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Service schedule graphic', 'rc-media'); + + return << +
    +

    Events Calendar

    +

    Keep up with the regular rhythm of worship, midweek ministry, and church-wide gatherings.

    +

    The calendar page is the best place to start if you want to know what is happening this week at Ridgecrest. For special announcements and highlight items, check the News page as well.

    +
    + {rc_button_news} + {rc_button_contact} +
    +
    + {$events_img} + + +
    +
    +

    Weekly schedule

    +
    +

    Sunday classes
    9:00 a.m.

    +

    Sunday worship
    10:00 a.m.

    +

    Wednesday kids and youth
    6:30 to 8:00 p.m.

    +
    +

    Visitors are welcome at every regular gathering. If you are planning a first visit, our Church Map page can help you prepare.

    +
    + {$times_img} +
    + +
    +
    +
    +

    Family events

    +

    Watch for fellowships, seasonal celebrations, meals, and gatherings designed for the whole church family.

    +
    +
    +

    Student and kids events

    +

    Special nights, camps, and ministry highlights for families are announced as dates are confirmed.

    +
    +
    +

    Ministry reminders

    +

    Service opportunities, planning meetings, and schedule updates are shared through church announcements and ministry leaders.

    +
    +
    +
    + +
    +

    Need details on an upcoming event?

    +

    Use the Contacts page if you need help with timing, location, or ministry-specific questions.

    +
    + {rc_button_map} + {rc_button_news_secondary} +
    +
    +HTML; +} + +function rc_build_news($u, $m) { + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Church news and sermons graphic', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship gathering', 'rc-media'); + + return << +
    +

    News

    +

    Church news, announcements, and practical updates for the Ridgecrest family.

    +

    This page highlights the kinds of updates members and guests most often need: schedule reminders, ministry highlights, student and kids activities, and church-wide announcements. Longer written updates will also appear on the Blog as posts are published.

    +
    + {rc_button_blog} + {rc_button_events} +
    +
    + {$sermons_img} + + +
    +
    +
    +

    This week at Ridgecrest

    +

    Sunday classes meet at 9:00 a.m. and worship begins at 10:00 a.m. Wednesday night kids and youth ministries meet from 6:30 to 8:00 p.m.

    +
    +
    +

    Where to look next

    +

    Use the Events Calendar for dates and the Resources page for study support, family helps, and church-life tools.

    +
    +
    +
    + +
    +
    +

    Announcements we share regularly

    +
      +
    • Weekly worship and ministry reminders
    • +
    • Student and children’s ministry events
    • +
    • Church-wide fellowship meals and special gatherings
    • +
    • Prayer needs and ministry opportunities
    • +
    +

    If you need to confirm a detail before visiting, use the Contacts page.

    +
    + {$worship_img} +
    + +
    +

    Stay informed without missing the essentials

    +

    Check this page for headline items, then visit the Blog for future article-style updates and ministry stories.

    +
    + {rc_button_blog_secondary} + {rc_button_resources} +
    +
    +HTML; +} + +function rc_build_contacts($u, $m, $address, $phone, $email) { + $contact_img = rc_img($m['contact_graphic']['url'], 'Contact information graphic', 'rc-media'); + $church_img = rc_img($m['church_exterior']['url'], 'Church exterior and entrance', 'rc-media'); + $map_img = rc_img($m['map_graphic']['url'], 'Map and directions graphic', 'rc-media rc-media-small'); + + return << +
    +

    Contacts

    +

    Reach out before you visit or whenever you need help getting connected.

    +

    If you have questions about worship times, children’s ministry, student ministry, prayer needs, or how to find the church, we are glad to help.

    +
      +
    • Email {$email}
    • +
    • Phone {$phone}
    • +
    • Address {$address}
    • +
    +
    + {$contact_img} + + +
    +
    +
    +

    General questions

    +

    Email {$email} for first-visit questions, ministry information, event details, or prayer needs.

    +
    +
    +

    Phone support

    +

    Call {$phone} if you need help on Sunday morning, directions to the campus, or clarification about a ministry gathering.

    +
    +
    +
    + +
    +
    +

    How we can help before your first visit

    +

    Let us know whether you need directions, kids ministry details, or guidance on where to start. We can point you to the right page, gathering, or ministry contact so your first visit feels simple.

    +

    You may also want to review the Church Map and Events Calendar before you come.

    +
    + {$church_img} +
    + +
    +
    + {$map_img} +
    +

    Need directions right now?

    +

    Visit the Church Map page for route guidance, nearby community references, and a direct map link.

    +
    +
    +
    +HTML; +} + +function rc_build_map($u, $m, $address) { + $map_img = rc_img($m['map_graphic']['url'], 'Map and directions graphic', 'rc-media'); + $church_img = rc_img($m['church_exterior']['url'], 'Church exterior and arrival view', 'rc-media'); + + return << +
    +

    Church Map

    +

    Find Ridgecrest Baptist Church and plan your route before you come.

    +

    Ridgecrest Baptist Church is located at {$address}. Families from Blanchard, Bridge Creek, Newcastle, and Tuttle can use this page as a quick starting point for arrival details.

    +
    + Open in Google Maps + {rc_button_contact} +
    +
    + {$map_img} + + +
    +
    +

    Arrival notes

    +
      +
    • Use the main campus entrance at 1118 S. Sara Road in Blanchard.
    • +
    • Sunday classes begin at 9:00 a.m. and worship begins at 10:00 a.m.
    • +
    • Wednesday night kids and youth ministries begin at 6:30 p.m.
    • +
    • If you are visiting with children, it can help to arrive a few minutes early.
    • +
    +
    + {$church_img} +
    + +
    +
    +
    +

    From Blanchard

    +

    Use local routes toward S. Sara Road and plan a short buffer before the service start time.

    +
    +
    +

    From Bridge Creek or Newcastle

    +

    Give yourself enough time to settle in and stop by the welcome area before worship begins.

    +
    +
    +

    From Tuttle

    +

    If you are joining a Wednesday ministry, check the Events Calendar for any schedule changes.

    +
    +
    +
    +HTML; +} + +function rc_build_resources($u, $m) { + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Sermons and teaching graphic', 'rc-media'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Connection and life groups graphic', 'rc-media'); + $logo_img = rc_img($m['logo_graphic']['url'], 'Ridgecrest Baptist Church logo', 'rc-media rc-media-small'); + + return << +
    +

    Resources

    +

    Helpful tools for Bible study, family discipleship, and staying connected to church life.

    +

    This page gathers practical resources that support worship on Sunday and faithfulness throughout the week. It is a useful starting point for members, guests, and ministry volunteers who want one place for the most-requested links.

    +
    + {rc_button_news} + {rc_button_blog} +
    +
    + {$sermons_img} + + +
    +
    +
    +

    Worship and study support

    +

    Use this page for sermon follow-up, Bible reading prompts, and reminders about where the church is gathering during the week. Start with the News page for current announcements and the Events Calendar for timing.

    +
    +
    +

    Family discipleship

    +

    Parents can coordinate with our Kids and Youth pages to help children and students carry the truths of Sunday into the rest of the week.

    +
    +
    +
    + +
    +
    +

    Church administration and technology planning

    +

    Some churches look for outside tools when planning registration forms, ministry databases, volunteer portals, or event communication workflows. If your team is researching options, these external resources may be helpful:

    + +
    + {$connect_img} +
    + +
    +
    + {$logo_img} +
    +

    Need a simple next step?

    +

    If you are new to Ridgecrest, start with About Us, then check Church Map and Contacts before your first visit.

    +
    +
    +
    +HTML; +} + +function rc_build_privacy($u, $email) { + return << +

    Privacy Policy

    +

    Ridgecrest Baptist Church uses this website to share worship times, ministry information, events, news, and ways to contact the church. This policy explains the kinds of information that may be collected when you use the site and how that information is handled.

    +

    Information you provide

    +

    If you contact the church by email or through any future website form, we may receive your name, email address, phone number, and the details you choose to share. We use that information to respond to your message, answer questions, or help connect you with the right ministry.

    +

    Website data

    +

    Like most websites, basic technical information may be collected automatically through server logs, security tools, and website analytics. This can include IP address, browser type, pages visited, and general referral information. We use that data to keep the site running, understand which pages are useful, and protect the website from abuse.

    +

    How information is used

    +

    Information is used for communication, ministry follow-up, website administration, and improving the visitor experience. We do not publish private contact details that visitors send to the church.

    +

    Sharing information

    +

    We do not sell visitor information. Information may be shared with trusted service providers that help host, secure, or maintain the website, or when required to respond to legal or security concerns.

    +

    Your choices

    +

    If you want to ask what information you have shared through the site or request that a message be removed from active use, contact {$email}.

    +

    Policy updates

    +

    This policy may be updated as the website changes. The current version will remain available on this page.

    +

    For more information about how the church communicates, visit Contacts and Cookie Policy.

    + +HTML; +} + +function rc_build_terms($u, $email) { + return << +

    Terms of Use

    +

    This website is provided to help visitors learn about Ridgecrest Baptist Church, plan a visit, follow church news, and access ministry resources. By using the site, you agree to use it in a lawful and respectful way.

    +

    Permitted use

    +

    You may browse the site, share public pages, and use the information here for personal, family, and church-related reference. You may not use the site to interfere with its operation, attempt unauthorized access, or send harmful or misleading material through any contact channel.

    +

    Content accuracy

    +

    We work to keep service times, ministry information, and event details accurate, but schedules and page content may change. Visitors should use the Contacts page when they need confirmation about a time-sensitive matter.

    +

    External links

    +

    Some pages may link to outside resources for convenience. Ridgecrest Baptist Church does not control external websites and is not responsible for their content, policies, or uptime.

    +

    Intellectual property

    +

    Website text, church identifiers, and original site content may not be republished in a misleading way. Scripture quotations, linked third-party resources, and licensed images remain subject to their respective rights and terms.

    +

    Contact

    +

    If you have questions about these terms or need to report a problem with the site, email {$email}.

    +

    You may also want to review our Privacy Policy and Cookie Policy.

    + +HTML; +} + +function rc_build_cookie($u, $email) { + return << +

    Cookie Policy

    +

    Ridgecrest Baptist Church may use cookies and similar technologies to help the website function, remember basic preferences, understand how pages are used, and support security tools.

    +

    What cookies may be used for

    +
      +
    • Keeping core website features working correctly
    • +
    • Supporting security, spam prevention, and performance monitoring
    • +
    • Understanding general page traffic and visitor behavior through analytics tools
    • +
    +

    Your control

    +

    Most web browsers allow you to limit or delete cookies. If you disable cookies, some site features may not work as expected.

    +

    Third-party services

    +

    The website may rely on third-party hosting, security, analytics, or media services that set their own cookies according to their policies.

    +

    Questions

    +

    If you have questions about how the site uses cookies or related tools, contact {$email}. For broader information about website data handling, review the Privacy Policy.

    + +HTML; +} + +try { + update_option('blogname', $site_name); + update_option('blogdescription', $tagline); + update_option('timezone_string', 'America/Chicago'); + update_option('admin_email', $email); + + $media = []; + $media['logo_graphic']['id'] = rc_import_attachment('imports/logo.gif', 'Ridgecrest Baptist Church Logo', 'Ridgecrest Baptist Church logo'); + $media['service_times']['id'] = rc_import_attachment('imports/service-times.gif', 'Ridgecrest Service Times', 'Service times for Sunday and Wednesday gatherings'); + $media['events_graphic']['id'] = rc_import_attachment('imports/events.gif', 'Ridgecrest Events Calendar', 'Events calendar graphic'); + $media['connect_graphic']['id'] = rc_import_attachment('imports/connect.gif', 'Ridgecrest Connection Graphic', 'Connection and life groups graphic'); + $media['sermons_graphic']['id'] = rc_import_attachment('imports/sermons.gif', 'Ridgecrest Sermons Graphic', 'Sermons and resources graphic'); + $media['contact_graphic']['id'] = rc_import_attachment('imports/contact-info.gif', 'Ridgecrest Contact Graphic', 'Contact information graphic'); + $media['map_graphic']['id'] = rc_import_attachment('imports/map-directions.gif', 'Ridgecrest Map Graphic', 'Map and directions graphic'); + $media['groups_image']['id'] = rc_import_attachment('imports/groups.jpg', 'Ridgecrest Community Illustration', 'Illustration representing gathered church community'); + $media['church_exterior']['id'] = rc_import_attachment('imports/church-exterior.jpg', 'Church Exterior', 'Church building exterior'); + $media['worship_service']['id'] = rc_import_attachment('imports/worship-service.jpg', 'Worship Service', 'Church worship service'); + $media['children_ministry']['id'] = rc_import_attachment('imports/children-ministry.jpg', 'Children Ministry', 'Children participating in church ministry'); + $media['youth_worship']['id'] = rc_import_attachment('imports/youth-worship.jpg', 'Youth Worship', 'Students gathered for youth worship'); + + foreach ($media as $key => $details) { + $media[$key]['url'] = wp_get_attachment_url($details['id']); + } + + $pages = []; + $pages['home'] = rc_upsert_page('Home', 'home'); + $pages['about-us'] = rc_upsert_page('About Us', 'about-us'); + $pages['ministries'] = rc_upsert_page('Ministries', 'ministries'); + $pages['kids'] = rc_upsert_page('Kids', 'kids'); + $pages['youth'] = rc_upsert_page('Youth', 'youth'); + $pages['events-calendar'] = rc_upsert_page('Events Calendar', 'events-calendar'); + $pages['news'] = rc_upsert_page('News', 'news'); + $pages['contacts'] = rc_upsert_page('Contacts', 'contacts'); + $pages['church-map'] = rc_upsert_page('Church Map', 'church-map'); + $pages['resources'] = rc_upsert_page('Resources', 'resources'); + $pages['blog'] = rc_upsert_page('Blog', 'blog', '

    The blog index is configured for church news posts and future updates.

    '); + $pages['privacy-policy'] = rc_upsert_page('Privacy Policy', 'privacy-policy'); + $pages['terms-of-use'] = rc_upsert_page('Terms of Use', 'terms-of-use'); + $pages['cookie-policy'] = rc_upsert_page('Cookie Policy', 'cookie-policy'); + + foreach ($pages as $page_id) { + rc_set_page_template($page_id); + } + + $urls = []; + foreach ($pages as $key => $page_id) { + $urls[$key] = get_permalink($page_id); + } + + $replacements = [ + '{rc_button_contact}' => rc_button($urls['contacts'], 'Plan Your Visit'), + '{rc_button_about}' => rc_button($urls['about-us'], 'About Ridgecrest', true), + '{rc_button_map}' => rc_button($urls['church-map'], 'Get Directions'), + '{rc_button_events}' => rc_button($urls['events-calendar'], 'See Upcoming Events', true), + '{rc_button_ministries}' => rc_button($urls['ministries'], 'Explore Ministries'), + '{rc_button_contact_secondary}' => rc_button($urls['contacts'], 'Contact the Church', true), + '{rc_button_kids}' => rc_button($urls['kids'], 'Kids Ministry'), + '{rc_button_youth}' => rc_button($urls['youth'], 'Youth Ministry', true), + '{rc_button_resources}' => rc_button($urls['resources'], 'Open Resources', true), + '{rc_button_news}' => rc_button($urls['news'], 'Read Current News'), + '{rc_button_news_secondary}' => rc_button($urls['news'], 'Read Church News', true), + '{rc_button_blog}' => rc_button($urls['blog'], 'Visit the Blog'), + '{rc_button_blog_secondary}' => rc_button($urls['blog'], 'Open Blog Index', true), + ]; + + $content_map = [ + 'home' => rc_build_home($urls, $media, $address, $phone, $email), + 'about-us' => rc_build_about($urls, $media), + 'ministries' => rc_build_ministries($urls, $media), + 'kids' => rc_build_kids($urls, $media), + 'youth' => rc_build_youth($urls, $media), + 'events-calendar' => rc_build_events($urls, $media), + 'news' => rc_build_news($urls, $media), + 'contacts' => rc_build_contacts($urls, $media, $address, $phone, $email), + 'church-map' => rc_build_map($urls, $media, $address), + 'resources' => rc_build_resources($urls, $media), + 'privacy-policy' => rc_build_privacy($urls, $email), + 'terms-of-use' => rc_build_terms($urls, $email), + 'cookie-policy' => rc_build_cookie($urls, $email), + ]; + + $meta_descriptions = [ + 'home' => 'Welcome to Ridgecrest Baptist Church in Blanchard, Oklahoma. Find worship times, ministries, events, and ways to plan your visit.', + 'about-us' => 'Learn about Ridgecrest Baptist Church, our mission, values, and what to expect when you visit.', + 'ministries' => 'Explore ministries at Ridgecrest Baptist Church for kids, students, adults, and families.', + 'kids' => 'Ridgecrest Kids offers safe, Scripture-centered ministry for preschool and elementary children.', + 'youth' => 'Ridgecrest Youth serves students in 6th through 12th grade with worship, Bible teaching, and fellowship.', + 'events-calendar' => 'View the regular weekly rhythm and upcoming church gatherings at Ridgecrest Baptist Church.', + 'news' => 'Read church news, announcements, and current updates from Ridgecrest Baptist Church.', + 'contacts' => 'Contact Ridgecrest Baptist Church for service questions, ministry information, and visit planning.', + 'church-map' => 'Find the location of Ridgecrest Baptist Church and plan your route before you visit.', + 'resources' => 'Use Ridgecrest resources for Bible study, family discipleship, church news, and practical ministry links.', + 'blog' => 'The Ridgecrest blog index is ready for future church news and article updates.', + 'privacy-policy' => 'Read the privacy policy for Ridgecrest Baptist Church and learn how website information is handled.', + 'terms-of-use' => 'Review the terms of use for the Ridgecrest Baptist Church website.', + 'cookie-policy' => 'Read how Ridgecrest Baptist Church uses cookies and similar website technologies.', + ]; + + foreach ($content_map as $key => $html) { + $html = strtr($html, $replacements); + wp_update_post([ + 'ID' => $pages[$key], + 'post_content' => $html, + ]); + update_post_meta($pages[$key], '_yoast_wpseo_metadesc', $meta_descriptions[$key]); + } + + set_post_thumbnail($pages['home'], $media['church_exterior']['id']); + set_post_thumbnail($pages['about-us'], $media['worship_service']['id']); + set_post_thumbnail($pages['ministries'], $media['worship_service']['id']); + set_post_thumbnail($pages['kids'], $media['children_ministry']['id']); + set_post_thumbnail($pages['youth'], $media['youth_worship']['id']); + set_post_thumbnail($pages['events-calendar'], $media['events_graphic']['id']); + set_post_thumbnail($pages['news'], $media['worship_service']['id']); + set_post_thumbnail($pages['contacts'], $media['church_exterior']['id']); + set_post_thumbnail($pages['church-map'], $media['church_exterior']['id']); + set_post_thumbnail($pages['resources'], $media['sermons_graphic']['id']); + set_post_thumbnail($pages['blog'], $media['worship_service']['id']); + + update_option('show_on_front', 'page'); + update_option('page_on_front', $pages['home']); + update_option('page_for_posts', $pages['blog']); + + $menu = wp_get_nav_menu_object('Primary Navigation'); + if (!$menu) { + $menu_id = wp_create_nav_menu('Primary Navigation'); + } else { + $menu_id = (int) $menu->term_id; + } + + $existing_items = wp_get_nav_menu_items($menu_id); + $existing_object_ids = []; + if ($existing_items) { + foreach ($existing_items as $item) { + if ((int) $item->object_id) { + $existing_object_ids[(int) $item->object_id] = true; + } + } + } + + $menu_order = [ + 'home', 'about-us', 'ministries', 'kids', 'youth', 'events-calendar', 'news', 'resources', 'contacts', 'church-map', 'blog', + ]; + foreach ($menu_order as $key) { + if (empty($existing_object_ids[$pages[$key]])) { + wp_update_nav_menu_item($menu_id, 0, [ + 'menu-item-title' => get_the_title($pages[$key]), + 'menu-item-object' => 'page', + 'menu-item-object-id' => $pages[$key], + 'menu-item-type' => 'post_type', + 'menu-item-status' => 'publish', + ]); + } + } + + $locations = get_theme_mod('nav_menu_locations', []); + $locations['primary'] = $menu_id; + set_theme_mod('nav_menu_locations', $locations); + + $sidebars = wp_get_sidebars_widgets(); + $inactive = isset($sidebars['wp_inactive_widgets']) ? $sidebars['wp_inactive_widgets'] : []; + foreach (['header-right', 'primary'] as $sidebar_key) { + if (!empty($sidebars[$sidebar_key])) { + $inactive = array_merge($inactive, $sidebars[$sidebar_key]); + $sidebars[$sidebar_key] = []; + } + } + $sidebars['wp_inactive_widgets'] = array_values(array_unique($inactive)); + update_option('sidebars_widgets', $sidebars); + + set_theme_mod('custom_logo', $media['logo_graphic']['url']); + set_theme_mod('header_image', $media['worship_service']['url']); + set_theme_mod('church_header_home', 0); + set_theme_mod('custom_footer', + '' . + '' . + '' + ); + + set_theme_mod('custom_css', << $media['logo_graphic']['url'], + 'id' => $media['logo_graphic']['id'], + 'size' => 'full', + 'alt' => 'Ridgecrest Baptist Church logo', + ]; + $wpseo_titles['title-home-wpseo'] = 'Ridgecrest Baptist Church'; + $wpseo_titles['metadesc-home-wpseo'] = 'Welcome to Ridgecrest Baptist Church in Blanchard, Oklahoma. Find worship times, ministries, events, and ways to plan your visit.'; + $wpseo_titles['open_graph_frontpage_title'] = 'Ridgecrest Baptist Church'; + $wpseo_titles['open_graph_frontpage_desc'] = 'A welcoming family church serving Blanchard, Bridge Creek, and nearby communities.'; + update_option('wpseo_titles', $wpseo_titles); + + $wpseo_social = get_option('wpseo_social', []); + if (!is_array($wpseo_social)) { + $wpseo_social = []; + } + $wpseo_social['twitter_site'] = ''; + $wpseo_social['facebook_site'] = ''; + update_option('wpseo_social', $wpseo_social); + + echo "Site build complete\n"; +} catch (Throwable $e) { + fwrite(STDERR, $e->getMessage() . "\n"); + exit(1); +} succeeded in 6680ms: 200 https://ridgecrestchurch.com/about-us/ 200 https://ridgecrestchurch.com/ministries/ 200 https://ridgecrestchurch.com/kids/ 200 https://ridgecrestchurch.com/youth/ 200 https://ridgecrestchurch.com/events-calendar/ 200 https://ridgecrestchurch.com/news/ 200 https://ridgecrestchurch.com/contacts/ 200 https://ridgecrestchurch.com/church-map/ 200 https://ridgecrestchurch.com/resources/ 200 https://ridgecrestchurch.com/blog/ 200 https://ridgecrestchurch.com/privacy-policy/ 200 https://ridgecrestchurch.com/terms-of-use/ 200 https://ridgecrestchurch.com/cookie-policy/ 200 exec /bin/bash -lc 'curl -L --max-redirs 5 https://ridgecrestchurch.com/blog/ | rg -n "Nothing Found|Blog|Ridgecrest Baptist Church|Top posts|Recent"' in /home/ubuntu/apps/ridgecrestchurch.com diff --git a//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php b//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php new file mode 100644 index 0000000000000000000000000000000000000000..6f8d7cac688d3c48f24a65de8d0963d856f1f7e8 --- /dev/null +++ b//home/ubuntu/apps/ridgecrestchurch.com/wp-content/uploads/flatlogic-page-tasks/job-44/build_site.php @@ -0,0 +1,1243 @@ +' . esc_attr($alt) . ''; +} + +function rc_button($url, $label, $secondary = false) { + $class = $secondary ? 'rc-button secondary' : 'rc-button'; + return '' . esc_html($label) . ''; +} + +function rc_import_attachment($relative_path, $title, $alt) { + $uploads = wp_upload_dir(); + $relative_path = ltrim($relative_path, '/'); + $absolute_path = trailingslashit($uploads['basedir']) . $relative_path; + + if (!file_exists($absolute_path)) { + throw new RuntimeException('Missing media file: ' . $absolute_path); + } + + $existing = get_posts([ + 'post_type' => 'attachment', + 'post_status' => 'inherit', + 'posts_per_page' => 1, + 'fields' => 'ids', + 'meta_key' => '_wp_attached_file', + 'meta_value' => $relative_path, + ]); + + if (!empty($existing)) { + $attachment_id = (int) $existing[0]; + wp_update_post([ + 'ID' => $attachment_id, + 'post_title' => $title, + ]); + update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt); + return $attachment_id; + } + + $filetype = wp_check_filetype(basename($absolute_path), null); + $url = trailingslashit($uploads['baseurl']) . $relative_path; + + $attachment_id = wp_insert_attachment([ + 'guid' => $url, + 'post_mime_type' => $filetype['type'] ?: 'image/jpeg', + 'post_title' => $title, + 'post_status' => 'inherit', + 'post_content' => '', + ], $absolute_path, 0, true); + + if (is_wp_error($attachment_id)) { + throw new RuntimeException('Failed to register media: ' . $attachment_id->get_error_message()); + } + + $size = @getimagesize($absolute_path); + $metadata = [ + 'file' => $relative_path, + 'sizes' => [], + ]; + if (is_array($size)) { + $metadata['width'] = (int) $size[0]; + $metadata['height'] = (int) $size[1]; + } + + wp_update_attachment_metadata($attachment_id, $metadata); + update_post_meta($attachment_id, '_wp_attachment_image_alt', $alt); + + return $attachment_id; +} + +function rc_upsert_page($title, $slug, $content = '') { + $existing = get_page_by_path($slug, OBJECT, 'page'); + $payload = [ + 'post_title' => $title, + 'post_name' => $slug, + 'post_type' => 'page', + 'post_status' => 'publish', + 'post_content' => $content, + ]; + + if ($existing) { + $payload['ID'] = $existing->ID; + $page_id = wp_update_post($payload, true); + } else { + $page_id = wp_insert_post($payload, true); + } + + if (is_wp_error($page_id)) { + throw new RuntimeException('Failed to save page "' . $title . '": ' . $page_id->get_error_message()); + } + + return (int) $page_id; +} + +function rc_set_page_template($page_id, $template = 'page-full-width.php') { + update_post_meta($page_id, '_wp_page_template', $template); +} + +function rc_build_home($u, $m, $address, $phone, $email) { + $hero_img = rc_img($m['church_exterior']['url'], 'A welcoming church building exterior', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Sunday and Wednesday service times', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship gathering', 'rc-media'); + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media rc-media-small'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Life groups and connection graphic', 'rc-media rc-media-small'); + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Sermons and resources graphic', 'rc-media rc-media-small'); + + return << +
    +

    Ridgecrest Baptist Church

    +

    Welcome to a church home where families can grow in faith together.

    +

    Ridgecrest Baptist Church is a local Baptist congregation in the Blanchard area committed to biblical teaching, caring relationships, and practical ministry for every generation. Whether you are returning to church, exploring Christianity, or looking for a place to serve, you are welcome here.

    +
    + {rc_button_contact} + {rc_button_about} +
    +
      +
    • Sunday classes at 9:00 a.m. and worship at 10:00 a.m.
    • +
    • Wednesday kids and youth ministries from 6:30 to 8:00 p.m.
    • +
    • Location {$address}
    • +
    +
    + {$hero_img} + + +
    +
    +

    What to expect on your first visit

    +

    We want visitors to feel at ease from the moment they arrive. You do not need to know church language or dress a certain way to join us.

    +
    +
    +
    +

    Bible-centered worship

    +

    Each gathering is built around Scripture, prayer, and a clear message that points people to Jesus.

    +
    +
    +

    Room for families

    +

    Kids, students, and adults each have meaningful places to learn, ask questions, and build friendships.

    +
    +
    +

    Genuine community

    +

    From Sunday mornings to midweek ministries, Ridgecrest is a church where people know one another and carry each other's burdens.

    +
    +
    +
    + +
    +
    +

    Our weekly rhythm

    +

    We gather throughout the week so people can worship, study the Bible, and stay connected outside a single Sunday hour.

    +
    +

    Sunday classes
    9:00 a.m. for children, students, and adults.

    +

    Morning worship
    10:00 a.m. with singing, prayer, and preaching.

    +

    Wednesday ministries
    6:30 to 8:00 p.m. for kids, preschool, and youth.

    +
    +

    Questions about parking, children, or where to go first? Visit our Contacts page or use the Church Map before you arrive.

    +
    + {$times_img} +
    + +
    +
    +

    Ministry for every stage of life

    +

    We want every person in the church to have a clear place to belong, learn, and serve.

    +
    +
    +

    Kids

    +

    Safe, encouraging ministry for preschool and elementary children with age-appropriate Bible teaching.

    +
    +
    +

    Youth

    +

    Midweek worship, discipleship, and friendships for students in 6th through 12th grade.

    +
    +
    +

    Adult Ministries

    +

    Life groups, service opportunities, prayer support, and ministries that help the church care for one another.

    +
    +
    +
    + {$worship_img} +
    + +
    +
    +

    Stay connected through the week

    +

    Use these pages to keep up with church life, upcoming gatherings, and study resources for your home.

    +
    +
    +
    + {$events_img} +

    Events Calendar

    +

    Find weekly rhythms, seasonal gatherings, fellowship meals, and family events.

    +
    +
    + {$sermons_img} +

    News

    +

    Read current announcements, ministry highlights, and planning updates for the church family.

    +
    +
    + {$connect_img} +

    Resources

    +

    Explore sermon support, family discipleship tools, and practical links for church life during the week.

    +
    +
    +
    + +
    +

    Plan your visit this week

    +

    Ridgecrest serves families from Blanchard, Bridge Creek, Newcastle, and Tuttle with a simple goal: helping people know Christ and follow Him faithfully. Call {$phone}, email {$email}, or stop by at {$address}.

    +
    + {rc_button_map} + {rc_button_events} +
    +
    +HTML; +} + +function rc_build_about($u, $m) { + $worship_img = rc_img($m['worship_service']['url'], 'Worship gathering during a church service', 'rc-media'); + $logo_img = rc_img($m['logo_graphic']['url'], 'Ridgecrest Baptist Church logo', 'rc-media rc-media-small'); + $groups_img = rc_img($m['groups_image']['url'], 'Illustration representing church community', 'rc-media rc-media-small'); + + return << +
    +

    About Ridgecrest

    +

    We want people to know Christ, grow in His Word, and live for His glory together.

    +

    Ridgecrest Baptist Church exists to help people worship God, study Scripture, care for one another, and serve our neighbors with steady faithfulness. Our church family values clear biblical preaching, meaningful prayer, and a welcoming atmosphere for those who are still asking questions.

    +
    + {rc_button_ministries} + {rc_button_contact} +
    +
    + {$worship_img} + + +
    +
    +

    What shapes our church life

    +

    Our aim is not to impress people with programs, but to help them follow Jesus in ordinary life with conviction and joy.

    +
    +
    +
    +

    Worship

    +

    We gather to honor God for who He is, what He has done, and the hope we have in Christ.

    +
    +
    +

    Scripture

    +

    The Bible guides our preaching, teaching, discipleship, and decisions as a church family.

    +
    +
    +

    Prayer

    +

    We believe spiritual growth, church health, and ministry fruitfulness depend on God's work through prayer.

    +
    +
    +

    Family

    +

    Children, students, parents, singles, and older adults all need a place to belong and mature in faith.

    +
    +
    +

    Service

    +

    Every believer has gifts to use, and ministry is strongest when the church serves together.

    +
    +
    +

    Mission

    +

    We want our worship to overflow into compassion, witness, and practical care in our community.

    +
    +
    +
    + +
    +
    +

    A church that feels approachable

    +

    If you are exploring Christianity or returning to church after a long time away, we want you to know that Ridgecrest is a place where you can take the next step without pressure.

    +

    Dress is casual, the message is relevant, and there is space to listen, learn, and ask honest questions. We care about helping people move from curiosity to confidence in Christ.

    +

    Our Ministries page can help you find the next best fit for your family.

    +
    +
    + {$logo_img} + {$groups_img} +
    +
    + +
    +
    +

    Frequently asked questions

    +
    +
    +
    +

    What should I wear?

    +

    Come as you are. You will see people dressed casually as well as more traditionally, and you will not feel out of place.

    +
    +
    +

    Can I visit even if I do not know anyone?

    +

    Yes. Visitors are always welcome, and our church family works to make first-time guests feel comfortable.

    +
    +
    +

    Where do I start?

    +

    Start with a Sunday morning worship service, then explore Kids, Youth, or the broader Ministries page.

    +
    +
    +
    + +
    +

    Learn more in person

    +

    If you would like to talk with someone before visiting, use the Contacts page and let us know how we can help.

    +
    + {rc_button_events} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_ministries($u, $m) { + $connect_img = rc_img($m['connect_graphic']['url'], 'Graphic about church connection and life groups', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship and fellowship', 'rc-media'); + $service_times_img = rc_img($m['service_times']['url'], 'Weekly service time information', 'rc-media rc-media-small'); + + return << +
    +

    Ministries

    +

    Every ministry is meant to help people belong, grow, and serve.

    +

    Our ministries are designed to move people from simply attending a service to becoming active, cared-for members of the church family. Whether you are raising children, walking through a hard season, or ready to serve, there is a place to connect.

    +
    + {rc_button_kids} + {rc_button_youth} +
    +
    + {$connect_img} + + +
    +
    +
    +

    Children and preschool

    +

    Age-appropriate Bible teaching, caring leaders, and a clear partnership with parents. Learn more on the Kids page.

    +
    +
    +

    Student ministry

    +

    Weekly worship, conversation, and fellowship for students in 6th through 12th grade. Visit Youth.

    +
    +
    +

    Adult discipleship

    +

    Sunday classes, small-group style connection, prayer support, and opportunities to serve throughout the church.

    +
    +
    +
    + +
    +
    +

    How people get connected

    +

    Most people begin by attending worship, then stepping into a class, ministry team, or group where they can be known by name.

    +
      +
    1. Visit a Sunday worship service and introduce yourself.
    2. +
    3. Ask about kids, youth, or adult study options that fit your household.
    4. +
    5. Join a serving team or ministry opportunity where relationships grow naturally.
    6. +
    +

    Questions about where to start can always go through our Contacts page.

    +
    + {$worship_img} +
    + +
    +
    +

    Consistent rhythms build stronger community

    +

    Healthy ministry happens when people see each other often enough to worship together, learn together, and carry real needs together.

    +

    Our Events Calendar and News pages help members and guests stay informed.

    +
    + {$service_times_img} +
    + +
    +

    Find the right next step for your family

    +

    Explore the pages below to see where your household can plug in this week.

    +
    + {rc_button_events} + {rc_button_resources} +
    +
    +HTML; +} + +function rc_build_kids($u, $m) { + $kids_img = rc_img($m['children_ministry']['url'], 'Children participating in church ministry', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Weekly service times for families', 'rc-media'); + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media rc-media-small'); + + return << +
    +

    Kids Ministry

    +

    A safe and encouraging place for children to learn the Bible and love the church.

    +

    Ridgecrest Kids exists to help preschool and elementary children know God, enjoy church, and build friendships with caring leaders. We want every child to hear the truth of Scripture in a way that is understandable, memorable, and joyful.

    +
    + {rc_button_contact} + {rc_button_events} +
    +
    + {$kids_img} + + +
    +
    +
    +

    Sunday mornings

    +

    Children can join age-appropriate classes at 9:00 a.m. before the main worship service at 10:00 a.m.

    +
    +
    +

    Wednesday nights

    +

    Preschool meets in the main building and children in kindergarten through 5th grade meet in the children's building from 6:30 to 8:00 p.m.

    +
    +
    +

    Parent partnership

    +

    We want to support parents with resources, consistent communication, and practical encouragement for faith at home.

    +
    +
    +
    + +
    +
    +

    What families can expect

    +

    We aim for clear check-in, attentive leaders, and classrooms that help children feel known. Lessons focus on Scripture, prayer, and the good news of Jesus in a way kids can grasp.

    +

    If your child is visiting for the first time, use the Contacts page before Sunday and we will help you know where to go.

    +
    + {$times_img} +
    + +
    +
    + {$events_img} +
    +

    Watch the calendar for family events

    +

    Seasonal activities, family gatherings, and church-wide celebrations are posted on the Events Calendar and highlighted on the News page.

    +
    +
    +
    + +
    +

    Questions about your child’s first visit?

    +

    We are glad to help with classrooms, arrival details, and ministry timing before you come.

    +
    + {rc_button_map} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_youth($u, $m) { + $youth_img = rc_img($m['youth_worship']['url'], 'Students gathered for youth worship', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Weekly service and ministry times', 'rc-media'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Graphic about connection and fellowship', 'rc-media rc-media-small'); + + return << +
    +

    Youth Ministry

    +

    Students need a place to ask honest questions, build real friendships, and follow Christ together.

    +

    Ridgecrest Youth serves students in 6th through 12th grade with weekly worship, Bible teaching, and relational discipleship. We want teenagers to know that church is not something they simply attend, but a community where they can grow, serve, and belong.

    +
    + {rc_button_events} + {rc_button_contact} +
    +
    + {$youth_img} + + +
    +
    +
    +

    Wednesday gathering

    +

    Students meet from 6:30 to 8:00 p.m. for worship, teaching, discussion, and fellowship.

    +
    +
    +

    Faith that is lived out

    +

    We encourage students to serve in church life, build healthy friendships, and bring their questions into the open.

    +
    +
    +

    Support for parents

    +

    Parents can track gatherings and important updates through the News page and direct communication from the church.

    +
    +
    +
    + +
    +
    +

    What students can expect

    +

    Ridgecrest Youth is built around Scripture, conversation, and relationships. Students should expect caring adults, a welcoming peer group, and space to talk honestly about faith and life.

    +

    Special events and seasonal student activities are listed on the Events Calendar.

    +
    + {$times_img} +
    + +
    +
    + {$connect_img} +
    +

    From weekly worship to everyday discipleship

    +

    Our goal is not only to gather students for one night each week, but to help them develop convictions, friendships, and habits that last beyond high school.

    +
    +
    +
    + +
    +

    Bring a student this week

    +

    If you want to ask about age groups, transportation, or first-night details, use the Contacts page and we will point you in the right direction.

    +
    + {rc_button_resources} + {rc_button_contact_secondary} +
    +
    +HTML; +} + +function rc_build_events($u, $m) { + $events_img = rc_img($m['events_graphic']['url'], 'Events calendar graphic', 'rc-media'); + $times_img = rc_img($m['service_times']['url'], 'Service schedule graphic', 'rc-media'); + + return << +
    +

    Events Calendar

    +

    Keep up with the regular rhythm of worship, midweek ministry, and church-wide gatherings.

    +

    The calendar page is the best place to start if you want to know what is happening this week at Ridgecrest. For special announcements and highlight items, check the News page as well.

    +
    + {rc_button_news} + {rc_button_contact} +
    +
    + {$events_img} + + +
    +
    +

    Weekly schedule

    +
    +

    Sunday classes
    9:00 a.m.

    +

    Sunday worship
    10:00 a.m.

    +

    Wednesday kids and youth
    6:30 to 8:00 p.m.

    +
    +

    Visitors are welcome at every regular gathering. If you are planning a first visit, our Church Map page can help you prepare.

    +
    + {$times_img} +
    + +
    +
    +
    +

    Family events

    +

    Watch for fellowships, seasonal celebrations, meals, and gatherings designed for the whole church family.

    +
    +
    +

    Student and kids events

    +

    Special nights, camps, and ministry highlights for families are announced as dates are confirmed.

    +
    +
    +

    Ministry reminders

    +

    Service opportunities, planning meetings, and schedule updates are shared through church announcements and ministry leaders.

    +
    +
    +
    + +
    +

    Need details on an upcoming event?

    +

    Use the Contacts page if you need help with timing, location, or ministry-specific questions.

    +
    + {rc_button_map} + {rc_button_news_secondary} +
    +
    +HTML; +} + +function rc_build_news($u, $m) { + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Church news and sermons graphic', 'rc-media'); + $worship_img = rc_img($m['worship_service']['url'], 'Church worship gathering', 'rc-media'); + + return << +
    +

    News

    +

    Church news, announcements, and practical updates for the Ridgecrest family.

    +

    This page highlights the kinds of updates members and guests most often need: schedule reminders, ministry highlights, student and kids activities, and church-wide announcements. Longer written updates will also appear on the Blog as posts are published.

    +
    + {rc_button_blog} + {rc_button_events} +
    +
    + {$sermons_img} + + +
    +
    +
    +

    This week at Ridgecrest

    +

    Sunday classes meet at 9:00 a.m. and worship begins at 10:00 a.m. Wednesday night kids and youth ministries meet from 6:30 to 8:00 p.m.

    +
    +
    +

    Where to look next

    +

    Use the Events Calendar for dates and the Resources page for study support, family helps, and church-life tools.

    +
    +
    +
    + +
    +
    +

    Announcements we share regularly

    +
      +
    • Weekly worship and ministry reminders
    • +
    • Student and children’s ministry events
    • +
    • Church-wide fellowship meals and special gatherings
    • +
    • Prayer needs and ministry opportunities
    • +
    +

    If you need to confirm a detail before visiting, use the Contacts page.

    +
    + {$worship_img} +
    + +
    +

    Stay informed without missing the essentials

    +

    Check this page for headline items, then visit the Blog for future article-style updates and ministry stories.

    +
    + {rc_button_blog_secondary} + {rc_button_resources} +
    +
    +HTML; +} + +function rc_build_contacts($u, $m, $address, $phone, $email) { + $contact_img = rc_img($m['contact_graphic']['url'], 'Contact information graphic', 'rc-media'); + $church_img = rc_img($m['church_exterior']['url'], 'Church exterior and entrance', 'rc-media'); + $map_img = rc_img($m['map_graphic']['url'], 'Map and directions graphic', 'rc-media rc-media-small'); + + return << +
    +

    Contacts

    +

    Reach out before you visit or whenever you need help getting connected.

    +

    If you have questions about worship times, children’s ministry, student ministry, prayer needs, or how to find the church, we are glad to help.

    +
      +
    • Email {$email}
    • +
    • Phone {$phone}
    • +
    • Address {$address}
    • +
    +
    + {$contact_img} + + +
    +
    +
    +

    General questions

    +

    Email {$email} for first-visit questions, ministry information, event details, or prayer needs.

    +
    +
    +

    Phone support

    +

    Call {$phone} if you need help on Sunday morning, directions to the campus, or clarification about a ministry gathering.

    +
    +
    +
    + +
    +
    +

    How we can help before your first visit

    +

    Let us know whether you need directions, kids ministry details, or guidance on where to start. We can point you to the right page, gathering, or ministry contact so your first visit feels simple.

    +

    You may also want to review the Church Map and Events Calendar before you come.

    +
    + {$church_img} +
    + +
    +
    + {$map_img} +
    +

    Need directions right now?

    +

    Visit the Church Map page for route guidance, nearby community references, and a direct map link.

    +
    +
    +
    +HTML; +} + +function rc_build_map($u, $m, $address) { + $map_img = rc_img($m['map_graphic']['url'], 'Map and directions graphic', 'rc-media'); + $church_img = rc_img($m['church_exterior']['url'], 'Church exterior and arrival view', 'rc-media'); + + return << +
    +

    Church Map

    +

    Find Ridgecrest Baptist Church and plan your route before you come.

    +

    Ridgecrest Baptist Church is located at {$address}. Families from Blanchard, Bridge Creek, Newcastle, and Tuttle can use this page as a quick starting point for arrival details.

    +
    + Open in Google Maps + {rc_button_contact} +
    +
    + {$map_img} + + +
    +
    +

    Arrival notes

    +
      +
    • Use the main campus entrance at 1118 S. Sara Road in Blanchard.
    • +
    • Sunday classes begin at 9:00 a.m. and worship begins at 10:00 a.m.
    • +
    • Wednesday night kids and youth ministries begin at 6:30 p.m.
    • +
    • If you are visiting with children, it can help to arrive a few minutes early.
    • +
    +
    + {$church_img} +
    + +
    +
    +
    +

    From Blanchard

    +

    Use local routes toward S. Sara Road and plan a short buffer before the service start time.

    +
    +
    +

    From Bridge Creek or Newcastle

    +

    Give yourself enough time to settle in and stop by the welcome area before worship begins.

    +
    +
    +

    From Tuttle

    +

    If you are joining a Wednesday ministry, check the Events Calendar for any schedule changes.

    +
    +
    +
    +HTML; +} + +function rc_build_resources($u, $m) { + $sermons_img = rc_img($m['sermons_graphic']['url'], 'Sermons and teaching graphic', 'rc-media'); + $connect_img = rc_img($m['connect_graphic']['url'], 'Connection and life groups graphic', 'rc-media'); + $logo_img = rc_img($m['logo_graphic']['url'], 'Ridgecrest Baptist Church logo', 'rc-media rc-media-small'); + + return << +
    +

    Resources

    +

    Helpful tools for Bible study, family discipleship, and staying connected to church life.

    +

    This page gathers practical resources that support worship on Sunday and faithfulness throughout the week. It is a useful starting point for members, guests, and ministry volunteers who want one place for the most-requested links.

    +
    + {rc_button_news} + {rc_button_blog} +
    +
    + {$sermons_img} + + +
    +
    +
    +

    Worship and study support

    +

    Use this page for sermon follow-up, Bible reading prompts, and reminders about where the church is gathering during the week. Start with the News page for current announcements and the Events Calendar for timing.

    +
    +
    +

    Family discipleship

    +

    Parents can coordinate with our Kids and Youth pages to help children and students carry the truths of Sunday into the rest of the week.

    +
    +
    +
    + +
    +
    +

    Church administration and technology planning

    +

    Some churches look for outside tools when planning registration forms, ministry databases, volunteer portals, or event communication workflows. If your team is researching options, these external resources may be helpful:

    + +
    + {$connect_img} +
    + +
    +
    + {$logo_img} +
    +

    Need a simple next step?

    +

    If you are new to Ridgecrest, start with About Us, then check Church Map and Contacts before your first visit.

    +
    +
    +
    +HTML; +} + +function rc_build_privacy($u, $email) { + return << +

    Privacy Policy

    +

    Ridgecrest Baptist Church uses this website to share worship times, ministry information, events, news, and ways to contact the church. This policy explains the kinds of information that may be collected when you use the site and how that information is handled.

    +

    Information you provide

    +

    If you contact the church by email or through any future website form, we may receive your name, email address, phone number, and the details you choose to share. We use that information to respond to your message, answer questions, or help connect you with the right ministry.

    +

    Website data

    +

    Like most websites, basic technical information may be collected automatically through server logs, security tools, and website analytics. This can include IP address, browser type, pages visited, and general referral information. We use that data to keep the site running, understand which pages are useful, and protect the website from abuse.

    +

    How information is used

    +

    Information is used for communication, ministry follow-up, website administration, and improving the visitor experience. We do not publish private contact details that visitors send to the church.

    +

    Sharing information

    +

    We do not sell visitor information. Information may be shared with trusted service providers that help host, secure, or maintain the website, or when required to respond to legal or security concerns.

    +

    Your choices

    +

    If you want to ask what information you have shared through the site or request that a message be removed from active use, contact {$email}.

    +

    Policy updates

    +

    This policy may be updated as the website changes. The current version will remain available on this page.

    +

    For more information about how the church communicates, visit Contacts and Cookie Policy.

    + +HTML; +} + +function rc_build_terms($u, $email) { + return << +

    Terms of Use

    +

    This website is provided to help visitors learn about Ridgecrest Baptist Church, plan a visit, follow church news, and access ministry resources. By using the site, you agree to use it in a lawful and respectful way.

    +

    Permitted use

    +

    You may browse the site, share public pages, and use the information here for personal, family, and church-related reference. You may not use the site to interfere with its operation, attempt unauthorized access, or send harmful or misleading material through any contact channel.

    +

    Content accuracy

    +

    We work to keep service times, ministry information, and event details accurate, but schedules and page content may change. Visitors should use the Contacts page when they need confirmation about a time-sensitive matter.

    +

    External links

    +

    Some pages may link to outside resources for convenience. Ridgecrest Baptist Church does not control external websites and is not responsible for their content, policies, or uptime.

    +

    Intellectual property

    +

    Website text, church identifiers, and original site content may not be republished in a misleading way. Scripture quotations, linked third-party resources, and licensed images remain subject to their respective rights and terms.

    +

    Contact

    +

    If you have questions about these terms or need to report a problem with the site, email {$email}.

    +

    You may also want to review our Privacy Policy and Cookie Policy.

    + +HTML; +} + +function rc_build_cookie($u, $email) { + return << +

    Cookie Policy

    +

    Ridgecrest Baptist Church may use cookies and similar technologies to help the website function, remember basic preferences, understand how pages are used, and support security tools.

    +

    What cookies may be used for

    +
      +
    • Keeping core website features working correctly
    • +
    • Supporting security, spam prevention, and performance monitoring
    • +
    • Understanding general page traffic and visitor behavior through analytics tools
    • +
    +

    Your control

    +

    Most web browsers allow you to limit or delete cookies. If you disable cookies, some site features may not work as expected.

    +

    Third-party services

    +

    The website may rely on third-party hosting, security, analytics, or media services that set their own cookies according to their policies.

    +

    Questions

    +

    If you have questions about how the site uses cookies or related tools, contact {$email}. For broader information about website data handling, review the Privacy Policy.

    + +HTML; +} + +try { + update_option('blogname', $site_name); + update_option('blogdescription', $tagline); + update_option('timezone_string', 'America/Chicago'); + update_option('admin_email', $email); + + $media = []; + $media['logo_graphic']['id'] = rc_import_attachment('imports/logo.gif', 'Ridgecrest Baptist Church Logo', 'Ridgecrest Baptist Church logo'); + $media['service_times']['id'] = rc_import_attachment('imports/service-times.gif', 'Ridgecrest Service Times', 'Service times for Sunday and Wednesday gatherings'); + $media['events_graphic']['id'] = rc_import_attachment('imports/events.gif', 'Ridgecrest Events Calendar', 'Events calendar graphic'); + $media['connect_graphic']['id'] = rc_import_attachment('imports/connect.gif', 'Ridgecrest Connection Graphic', 'Connection and life groups graphic'); + $media['sermons_graphic']['id'] = rc_import_attachment('imports/sermons.gif', 'Ridgecrest Sermons Graphic', 'Sermons and resources graphic'); + $media['contact_graphic']['id'] = rc_import_attachment('imports/contact-info.gif', 'Ridgecrest Contact Graphic', 'Contact information graphic'); + $media['map_graphic']['id'] = rc_import_attachment('imports/map-directions.gif', 'Ridgecrest Map Graphic', 'Map and directions graphic'); + $media['groups_image']['id'] = rc_import_attachment('imports/groups.jpg', 'Ridgecrest Community Illustration', 'Illustration representing gathered church community'); + $media['church_exterior']['id'] = rc_import_attachment('imports/church-exterior.jpg', 'Church Exterior', 'Church building exterior'); + $media['worship_service']['id'] = rc_import_attachment('imports/worship-service.jpg', 'Worship Service', 'Church worship service'); + $media['children_ministry']['id'] = rc_import_attachment('imports/children-ministry.jpg', 'Children Ministry', 'Children participating in church ministry'); + $media['youth_worship']['id'] = rc_import_attachment('imports/youth-worship.jpg', 'Youth Worship', 'Students gathered for youth worship'); + + foreach ($media as $key => $details) { + $media[$key]['url'] = wp_get_attachment_url($details['id']); + } + + $pages = []; + $pages['home'] = rc_upsert_page('Home', 'home'); + $pages['about-us'] = rc_upsert_page('About Us', 'about-us'); + $pages['ministries'] = rc_upsert_page('Ministries', 'ministries'); + $pages['kids'] = rc_upsert_page('Kids', 'kids'); + $pages['youth'] = rc_upsert_page('Youth', 'youth'); + $pages['events-calendar'] = rc_upsert_page('Events Calendar', 'events-calendar'); + $pages['news'] = rc_upsert_page('News', 'news'); + $pages['contacts'] = rc_upsert_page('Contacts', 'contacts'); + $pages['church-map'] = rc_upsert_page('Church Map', 'church-map'); + $pages['resources'] = rc_upsert_page('Resources', 'resources'); + $pages['blog'] = rc_upsert_page('Blog', 'blog', '

    The blog index is configured for church news posts and future updates.

    '); + $pages['privacy-policy'] = rc_upsert_page('Privacy Policy', 'privacy-policy'); + $pages['terms-of-use'] = rc_upsert_page('Terms of Use', 'terms-of-use'); + $pages['cookie-policy'] = rc_upsert_page('Cookie Policy', 'cookie-policy'); + + foreach ($pages as $page_id) { + rc_set_page_template($page_id); + } + + $urls = []; + foreach ($pages as $key => $page_id) { + $urls[$key] = get_permalink($page_id); + } + + $replacements = [ + '{rc_button_contact}' => rc_button($urls['contacts'], 'Plan Your Visit'), + '{rc_button_about}' => rc_button($urls['about-us'], 'About Ridgecrest', true), + '{rc_button_map}' => rc_button($urls['church-map'], 'Get Directions'), + '{rc_button_events}' => rc_button($urls['events-calendar'], 'See Upcoming Events', true), + '{rc_button_ministries}' => rc_button($urls['ministries'], 'Explore Ministries'), + '{rc_button_contact_secondary}' => rc_button($urls['contacts'], 'Contact the Church', true), + '{rc_button_kids}' => rc_button($urls['kids'], 'Kids Ministry'), + '{rc_button_youth}' => rc_button($urls['youth'], 'Youth Ministry', true), + '{rc_button_resources}' => rc_button($urls['resources'], 'Open Resources', true), + '{rc_button_news}' => rc_button($urls['news'], 'Read Current News'), + '{rc_button_news_secondary}' => rc_button($urls['news'], 'Read Church News', true), + '{rc_button_blog}' => rc_button($urls['blog'], 'Visit the Blog'), + '{rc_button_blog_secondary}' => rc_button($urls['blog'], 'Open Blog Index', true), + ]; + + $content_map = [ + 'home' => rc_build_home($urls, $media, $address, $phone, $email), + 'about-us' => rc_build_about($urls, $media), + 'ministries' => rc_build_ministries($urls, $media), + 'kids' => rc_build_kids($urls, $media), + 'youth' => rc_build_youth($urls, $media), + 'events-calendar' => rc_build_events($urls, $media), + 'news' => rc_build_news($urls, $media), + 'contacts' => rc_build_contacts($urls, $media, $address, $phone, $email), + 'church-map' => rc_build_map($urls, $media, $address), + 'resources' => rc_build_resources($urls, $media), + 'privacy-policy' => rc_build_privacy($urls, $email), + 'terms-of-use' => rc_build_terms($urls, $email), + 'cookie-policy' => rc_build_cookie($urls, $email), + ]; + + $meta_descriptions = [ + 'home' => 'Welcome to Ridgecrest Baptist Church in Blanchard, Oklahoma. Find worship times, ministries, events, and ways to plan your visit.', + 'about-us' => 'Learn about Ridgecrest Baptist Church, our mission, values, and what to expect when you visit.', + 'ministries' => 'Explore ministries at Ridgecrest Baptist Church for kids, students, adults, and families.', + 'kids' => 'Ridgecrest Kids offers safe, Scripture-centered ministry for preschool and elementary children.', + 'youth' => 'Ridgecrest Youth serves students in 6th through 12th grade with worship, Bible teaching, and fellowship.', + 'events-calendar' => 'View the regular weekly rhythm and upcoming church gatherings at Ridgecrest Baptist Church.', + 'news' => 'Read church news, announcements, and current updates from Ridgecrest Baptist Church.', + 'contacts' => 'Contact Ridgecrest Baptist Church for service questions, ministry information, and visit planning.', + 'church-map' => 'Find the location of Ridgecrest Baptist Church and plan your route before you visit.', + 'resources' => 'Use Ridgecrest resources for Bible study, family discipleship, church news, and practical ministry links.', + 'blog' => 'The Ridgecrest blog index is ready for future church news and article updates.', + 'privacy-policy' => 'Read the privacy policy for Ridgecrest Baptist Church and learn how website information is handled.', + 'terms-of-use' => 'Review the terms of use for the Ridgecrest Baptist Church website.', + 'cookie-policy' => 'Read how Ridgecrest Baptist Church uses cookies and similar website technologies.', + ]; + + foreach ($content_map as $key => $html) { + $html = strtr($html, $replacements); + wp_update_post([ + 'ID' => $pages[$key], + 'post_content' => $html, + ]); + update_post_meta($pages[$key], '_yoast_wpseo_metadesc', $meta_descriptions[$key]); + } + + set_post_thumbnail($pages['home'], $media['church_exterior']['id']); + set_post_thumbnail($pages['about-us'], $media['worship_service']['id']); + set_post_thumbnail($pages['ministries'], $media['worship_service']['id']); + set_post_thumbnail($pages['kids'], $media['children_ministry']['id']); + set_post_thumbnail($pages['youth'], $media['youth_worship']['id']); + set_post_thumbnail($pages['events-calendar'], $media['events_graphic']['id']); + set_post_thumbnail($pages['news'], $media['worship_service']['id']); + set_post_thumbnail($pages['contacts'], $media['church_exterior']['id']); + set_post_thumbnail($pages['church-map'], $media['church_exterior']['id']); + set_post_thumbnail($pages['resources'], $media['sermons_graphic']['id']); + set_post_thumbnail($pages['blog'], $media['worship_service']['id']); + + update_option('show_on_front', 'page'); + update_option('page_on_front', $pages['home']); + update_option('page_for_posts', $pages['blog']); + + $menu = wp_get_nav_menu_object('Primary Navigation'); + if (!$menu) { + $menu_id = wp_create_nav_menu('Primary Navigation'); + } else { + $menu_id = (int) $menu->term_id; + } + + $existing_items = wp_get_nav_menu_items($menu_id); + $existing_object_ids = []; + if ($existing_items) { + foreach ($existing_items as $item) { + if ((int) $item->object_id) { + $existing_object_ids[(int) $item->object_id] = true; + } + } + } + + $menu_order = [ + 'home', 'about-us', 'ministries', 'kids', 'youth', 'events-calendar', 'news', 'resources', 'contacts', 'church-map', 'blog', + ]; + foreach ($menu_order as $key) { + if (empty($existing_object_ids[$pages[$key]])) { + wp_update_nav_menu_item($menu_id, 0, [ + 'menu-item-title' => get_the_title($pages[$key]), + 'menu-item-object' => 'page', + 'menu-item-object-id' => $pages[$key], + 'menu-item-type' => 'post_type', + 'menu-item-status' => 'publish', + ]); + } + } + + $locations = get_theme_mod('nav_menu_locations', []); + $locations['primary'] = $menu_id; + set_theme_mod('nav_menu_locations', $locations); + + $sidebars = wp_get_sidebars_widgets(); + $inactive = isset($sidebars['wp_inactive_widgets']) ? $sidebars['wp_inactive_widgets'] : []; + foreach (['header-right', 'primary'] as $sidebar_key) { + if (!empty($sidebars[$sidebar_key])) { + $inactive = array_merge($inactive, $sidebars[$sidebar_key]); + $sidebars[$sidebar_key] = []; + } + } + $sidebars['wp_inactive_widgets'] = array_values(array_unique($inactive)); + update_option('sidebars_widgets', $sidebars); + + set_theme_mod('custom_logo', $media['logo_graphic']['url']); + set_theme_mod('header_image', $media['worship_service']['url']); + set_theme_mod('church_header_home', 0); + set_theme_mod('custom_footer', + '' . + '' . + '' + ); + + set_theme_mod('custom_css', << $media['logo_graphic']['url'], + 'id' => $media['logo_graphic']['id'], + 'size' => 'full', + 'alt' => 'Ridgecrest Baptist Church logo', + ]; + $wpseo_titles['title-home-wpseo'] = 'Ridgecrest Baptist Church'; + $wpseo_titles['metadesc-home-wpseo'] = 'Welcome to Ridgecrest Baptist Church in Blanchard, Oklahoma. Find worship times, ministries, events, and ways to plan your visit.'; + $wpseo_titles['open_graph_frontpage_title'] = 'Ridgecrest Baptist Church'; + $wpseo_titles['open_graph_frontpage_desc'] = 'A welcoming family church serving Blanchard, Bridge Creek, and nearby communities.'; + update_option('wpseo_titles', $wpseo_titles); + + $wpseo_social = get_option('wpseo_social', []); + if (!is_array($wpseo_social)) { + $wpseo_social = []; + } + $wpseo_social['twitter_site'] = ''; + $wpseo_social['facebook_site'] = ''; + update_option('wpseo_social', $wpseo_social); + + echo "Site build complete\n"; +} catch (Throwable $e) { + fwrite(STDERR, $e->getMessage() . "\n"); + exit(1); +} succeeded in 437ms: 100 28371 0 28371 0 0 59604 0 --:--:-- --:--:-- --:--:-- 59728 12: Blog - Ridgecrest Baptist Church 16: 19: 24: 25: 26: 281: