Skip to content

Jobs Theme: Fix multiple issues in redesign#576

Closed
dd32 wants to merge 11 commits intoWordPress:trunkfrom
dd32:add/claude/jobs-redesign
Closed

Jobs Theme: Fix multiple issues in redesign#576
dd32 wants to merge 11 commits intoWordPress:trunkfrom
dd32:add/claude/jobs-redesign

Conversation

@dd32
Copy link
Copy Markdown
Member

@dd32 dd32 commented Mar 26, 2026

Summary

  • Fix How to Apply links (Via email / Via web form) not rendering as clickable links in single job view, caused by jobswp plugin globally stripping <a> from wp_kses_allowed_html
  • Add empty state message when filtering homepage by a category with no matching jobs
  • Highlight active FAQ menu item in header navigation
  • Account for wp-admin bar height in sticky header and sidebar positioning
  • Replace malformed WordPress logo SVG with the official wordpress.org version
  • Add missing Remove a Job and Feedback links to footer
  • Add remove-a-job note below the post-a-job form
  • Use filemtime() for asset cache busting instead of hardcoded date strings
  • Add howtoapply and howtoapply_method metadata to sample test data

Test plan

  • Visit a single job post and verify How to Apply shows a clickable link (email or web form)
  • On the homepage, filter by a category with no jobs and verify the empty state message appears with a working link to post a job
  • Visit the FAQ page and verify the FAQ nav item is highlighted
  • When logged in, verify the sticky header sits below the admin bar
  • Verify the WordPress logo renders correctly in the header
  • Check the footer includes Remove a Job and Feedback links
  • Visit post-a-job page and verify the remove-a-job note appears below the submit button
  • Destroy and restart the local environment to verify test data includes apply metadata

🤖 Generated with Claude Code

dd32 and others added 6 commits March 26, 2026 12:03
Replaces the dated 996-grid layout with a modern CSS custom properties
design system featuring a hero section with dynamic stats, category
filter pills, card-based job grid, sticky header, and dark footer.

Fixes PHP warnings: array_pop by-reference, deprecated wp_no_robots.
Updates local environment setup to deduplicate pages, add FAQ page,
clear default widgets, and set post_author.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Removes old 996 grid CSS, dashicons CSS, layout CSS, rtl.css,
wporg-footer.php, content.php, custom-header/customizer/jetpack
includes, and old JS files (navigation, customizer, keyboard nav).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use proper escaping functions (esc_html_e, wp_kses_post, wp_kses),
fix indentation to use tabs consistently, avoid inline control
structures, and rename $cat to $job_cat to avoid overriding WP globals.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Correct indentation in content-list.php to match scope level expected
by PHPCS, and use ternary instead of inline brace in header.php.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Show How to Apply links correctly (Via email/web form) by using wp_kses
  with explicit allowed tags, since the jobswp plugin strips <a> globally
- Add empty state message when filtering by category with no matching jobs
- Highlight active FAQ nav item in header
- Account for wp-admin bar height in sticky header positioning
- Replace malformed WordPress logo SVG with official version
- Add Remove a Job and Feedback links to footer
- Add remove-a-job note to post-a-job form
- Use filemtime() for asset cache busting
- Add howtoapply metadata to sample test data

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown

The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the props-bot label.

Core Committers: Use this line as a base for the props when committing in SVN:

Props dd32.

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

dd32 and others added 5 commits March 26, 2026 14:29
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
…ck page to test data.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Override hardcoded inline widths on the form container, inputs,
and textarea so the feedback form fills available space properly.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@bazza bazza closed this in 8cae3f6 Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant