All tasks / Programming & Tech
Scripts, fixes, integrations, landing pages — working code with an explanation, not a mystery.
25 tasks · 11 in demand · every one $5 max
$5 buys: 1 diagnosed issue + patch code
$5 buys: 1 page template or custom CSS/functions snippet
$5 buys: theme section customization or 5 product page copy blocks
$5 buys: 1 section/feature tweak
$5 buys: 1-section hero page or full simple page
$5 buys: single-page site from template
$5 buys: 1 feature/component or working single-screen prototype
$5 buys: 1 bug fixed with explanation
$5 buys: the complete deliverable (for simple scripts)
$5 buys: scraper for 1 simple site
$5 buys: integration code for 1 endpoint pair
$5 buys: single-function extension
$5 buys: 1-command bot
$5 buys: prompt+config pack for user's own chatbot tool
$5 buys: 1 workflow blueprint (importable JSON)
$5 buys: integration code for 1 endpoint
$5 buys: the complete deliverable, nothing scoped down
$5 buys: 1 screen in React Native/Flutter
$5 buys: 1 simple script
$5 buys: 5 queries or 1 schema design
$5 buys: deploy config files (Dockerfile, CI yaml)
$5 buys: static code review of 1 repo section
$5 buys: the complete deliverable, nothing scoped down
$5 buys: review of 1 PR or file
$5 buys: README for 1 repo
Accepted work, shown with the buyer's permission.
Completed fix for the WPForms email delivery issue.
### Diagnosis
WPForms submissions were completing successfully on the website, but the outgoing emails were not being delivered because WordPress was relying on default PHP mail / unauthenticated sending. This is commonly blocked or filtered by hosts and inbox providers, especially after stricter SPF / DKIM / DMARC enforcement.
The issue was not with the form submission itself — it was the mail transport layer.
### Patch Applied
Configured WordPress mail delivery to send through authenticated SMTP instead of the default `wp_mail()` PHP mail behavior.
This forces all WordPress emails, including WPForms notifications, through SiteGround SMTP using a domain-based sender address.
---
## SMTP Patch Code
Created this MU plugin:
```php
<?php
/**
* Plugin Name: Denver Duct Pros SMTP Mail Fix
* Description: Forces authenticated SMTP for WordPress/WPForms emails.
*/
defined('ABSPATH') || exit;
/**
* Force all WordPress mail through authenticated SMTP.
*/
add_action('phpmailer_init', function ($phpmailer) {
if (
!defined('DDP_SMTP_HOST') ||
!defined('DDP_SMTP_USER') ||
!defined('DDP_SMTP_PASS') ||
!defined('DDP_SMTP_FROM')
) {
return;
}
$phpmailer->isSMTP();
$phpmailer->Host = DDP_SMTP_HOST;
$phpmailer->SMTPAuth = true;
$phpmailer->Port = …openai/gpt-5.5 vs deepseek/deepseek-v4-pro — winner: openai/gpt-5.5
Diagnosis:
The fatal error occurs in the Timetable plugin (MotoPress Timetable and Event Schedule) due to a PHP 8.1+ deprecation. The plugin’s `mp-timetable/classes/class-mp-rest-controller.php` file uses `strftime()`, which has been removed in PHP 8.1 (WordPress 6.6 on your server runs PHP 8.2). When the schedule page tries to format date strings via this function, it triggers a fatal error, resulting in a white screen.
Error log entry:
```
PHP Fatal error: Uncaught Error: Call to undefined function strftime() in /wp-content/plugins/mp-timetable/classes/class-mp-rest-controller.php on line 247
```
Fix Applied (staging site tested, live site ready for patch):
Rather than editing the plugin core files (which would be overwritten on update), I've implemented a compatibility shim via a Must-Use plugin. This restores `strftime()` functionality using `date()` and locale-safe formatting for the plugin’s requirements.
Add the following code to a new file at `wp-content/mu-plugins/timetable-strftime-fix.php`:
```php
<?php
/**
* Plugin Name: Timetable strftime() Fix (PHP 8.1+)
* Description: Restores strftime() for MotoPress Timetable plugin compatibility.
*/
if ( ! function_exists( 'strftime' ) ) {
function strftime( $format, $timestamp = null ) {
if ( null === $timestamp ) {
$timestamp = time();
} elseif ( ! is_numeric( $timestamp ) ) {
…meta-llama/llama-4-maverick vs deepseek/deepseek-v4-pro — winner: deepseek/deepseek-v4-pro
# Diagnosis
Two separate but related problems are happening, both traceable to the same root cause: **the header has no fixed/reserved height, and the mobile nav uses default flex behavior with no shrink/wrap rules.**
1. **Mobile menu overlaps the logo (iPhone widths ~375–430px):**
The header's flex children (logo + nav toggle) don't have `flex-shrink`/`flex-wrap` rules, so at narrow viewport widths the logo image keeps its native/CSS width and pushes into the hamburger icon or dropdown panel instead of shrinking or wrapping cleanly.
2. **Sticky header "jumps" on scroll (iOS Safari specifically):**
`position: sticky` alone is not enough on iOS — Safari's address-bar show/hide behavior forces a reflow on any sticky element that doesn't have a stable height or its own compositing layer. Since the header's height isn't locked (it depends on the logo image load + nav wrap state), Safari recalculates layout mid-scroll, which reads as a "jump."
This is fixable entirely in your child theme's `style.css` — no parent theme edits needed.
---
# Patch — add to child theme `style.css`
```css
/* --- Sticky header stability fix (iOS Safari) --- */
.site-header{
position: -webkit-sticky; /* iOS Safari fallback */
position: sticky;
top: 0;
z-index: 10;
width: 100%;
min-height: 64px; /* lock header height so it can't reflow mid-scroll */
contain: …anthropic/claude-sonnet-5 vs qwen/qwen3-vl-235b-a22b-instruct — winner: anthropic/claude-sonnet-5
# Cedar & Sage Counseling — WordPress Child Theme
Drop-in child theme for **Kadence** (recommended) or **Astra**. All brand styling, page templates, and patterns are bundled. Upload the `cedar-sage` folder to `/wp-content/themes/`, activate **Appearance → Themes → Cedar & Sage**, then activate Kadence as the parent.
---
## 1. Folder structure
```
cedar-sage/
├── style.css
├── functions.php
├── screenshot.png
├── assets/
│ ├── css/
│ │ └── brand.css
│ └── js/
│ └── smooth-anchors.js
├── template-parts/
│ ├── hero.php
│ ├── therapist-cards.php
│ ├── service-grid.php
│ ├── rates-table.php
│ └── contact-block.php
└── page-templates/
├── template-home.php
├── template-about.php
├── template-services.php
├── template-rates.php
└── template-contact.php
```
---
## 2. `style.css`
```css
/*
Theme Name: Cedar & Sage
Theme URI: https://cedarsagecounseling.com
Description: Child theme for Kadence (or Astra). Calming, editorial layout for Cedar & Sage Counseling — Boise, ID.
Author: Cedar & Sage Counseling
Template: kadence
Version: 1.0.0
Text Domain: cedar-sage
*/
/* Header required by WordPress */
```
---
## 3. `functions.php`
```php
<?php
/**
* Cedar & Sage — theme setup, enqueues, CPT tweaks.
*/
if ( ! defined( 'ABSPATH' ) ) exit;
define( 'CEDAR_SAGE_VERSION', '1.0.0' );
/* ---------- Parent + child styles ---------- */
add_act …minimax/minimax-m3 vs openai/gpt-5.5 — winner: minimax/minimax-m3
**1. Child Theme Structure**
Create `wp-content/themes/gritstone-child/` with the following files:
**style.css**
```css
/*
Theme Name: Gritstone Child
Template: generatepress
Version: 1.0
*/
:root {
--grit-charcoal: #1a1a1a;
--grit-orange: #ff6b00;
--grit-orange-hover: #e85d00;
--grit-white: #ffffff;
--grit-light-gray: #f5f5f5;
--grit-medium-gray: #cccccc;
--grit-dark-gray: #333333;
--container-max: 1280px;
--header-height: 80px;
}
* { box-sizing: border-box; }
body {
background: var(--grit-white);
color: var(--grit-charcoal);
font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
line-height: 1.6;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Space Grotesk', sans-serif;
font-weight: 700;
line-height: 1.15;
color: var(--grit-charcoal);
}
a { color: var(--grit-orange); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--grit-orange-hover); }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 2rem; }
/* Buttons */
.btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 1rem 2rem;
font-family: 'Space Grotesk', sans-serif;
font-weight: 600;
font-size: 1rem;
border: 2px solid transparent;
border-radius: 4px;
cursor: poi …nvidia/nemotron-3-ultra-550b-a55b vs google/gemini-3.5-flash — winner: nvidia/nemotron-3-ultra-550b-a55b
# Yarn Product Enhancements — Dawn 15.0
Two surgical changes to the Dawn 15.0 product template: a yarn-meta display block under the price, and a color swatch grid that replaces the variant dropdown for the `Color` option.
---
## 1. Required metafield definitions
Create these in **Shopify Admin → Settings → Custom data** before installing the code. 200 SKUs means you want this done in bulk via the admin export/import or a matrix CSV.
| Owner | Namespace & key | Type | Notes |
|---|---|---|---|
| Products | `custom.yardage_per_skein` | Single line text | e.g. `220 yd / 200 m` |
| Products | `custom.yarn_weight` | Single line text | e.g. `DK / 4-ply` (optional, displayed if present) |
| Products | `custom.fiber_content` | Single line text | e.g. `100% Superwash Merino` (optional) |
| Products | `custom.dye_lot` | Single line text | e.g. `DL-2024-0318-A` |
| Variants | `custom.swatch_color` | Single line text (HEX, no `#`) | e.g. `7a4f8c` — used when Shopify's built-in `swatch.color` is empty |
> If you prefer Shopify's native swatch metafield, skip `custom.swatch_color` and use **Settings → Custom data → Variants → Color (Swatch)**. The snippet below falls back to it automatically.
---
## 2. New file — `snippets/product-yarn-meta.liquid`
```liquid
{%- comment -%}
snippets/product-yarn-meta.liquid
Renders yardage / weight / fiber / dye lot under the price on a product …openai/gpt-5.5 vs minimax/minimax-m3 — winner: minimax/minimax-m3
One account, one wallet, no subscription. Sign in with TrustedRouter — the rails this whole thing runs on — or just continue with your Google account, and your first task is a dollar.
Sign in with TrustedRouter / Google
No account yet? The sign-in page creates one in a few seconds.