Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 68 additions & 1 deletion environments/jobs/bin/after-start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,74 @@ create_page_if_missing() {
create_page_if_missing 'post-a-job' 'Post a Job'
create_page_if_missing 'remove-a-job' 'Remove a Job'
create_page_if_missing 'feedback' 'Feedback' '<p>We are sorry, but we do not have any additional information about job postings other than what was posted to the site.</p><p>If you are writing about your already-submitted job posting, please be sure to provide the email address you specified when you filled out the job form.</p><form method="post"><p><label for="feedback-name">Name *</label><input type="text" id="feedback-name" name="name" required /></p><p><label for="feedback-email">Email *</label><input type="email" id="feedback-email" name="email" required /></p><p><label for="feedback-subject">Subject *</label><input type="text" id="feedback-subject" name="subject" required /></p><p><label for="feedback-message">Message *</label><textarea id="feedback-message" name="message" rows="8" required></textarea></p><p><input type="submit" value="Send Feedback" /></p></form>'
create_page_if_missing 'faq' 'FAQ' '<h2>General</h2><dl><dt>What is this site?</dt><dd>This is a job board for WordPress-related jobs. Anyone can post a job opening or browse available positions.</dd><dt>How long do job postings stay up?</dt><dd>Job postings remain active for 21 days from the date of approval, after which they are automatically removed.</dd><dt>How much does it cost to post a job?</dt><dd>Posting a job is completely free.</dd></dl><h2>For Employers</h2><dl><dt>What kinds of jobs can I post?</dt><dd>Any job that is directly related to WordPress. This includes development, design, support, writing, translation, and more.</dd><dt>What is NOT acceptable for a job posting?</dt><dd>Jobs that are not related to WordPress, jobs that require payment from applicants, and jobs offering illegally low compensation are not acceptable.</dd><dt>How do I remove my job posting?</dt><dd>When you submit a job, you receive a job token. Use that token on the Remove a Job page to remove your listing at any time.</dd></dl>'
FAQ_CONTENT='<p>Frequently asked questions for <a href="#job-posters">job posters</a> and <a href="#job-seekers">job seekers</a>.</p>

<h2 id="job-posters">Posting a job?</h2>

<dl>
<dt>What types of jobs can be posted on this site?</dt>
<dd>Only WordPress-related jobs will be published, provided they meet the criteria below.</dd>

<dt>How much does it cost to post a job listing?</dt>
<dd>There is no fee for posting a job listing.</dd>

<dt>How long will it take for my job posting to appear on the site?</dt>
<dd>All job postings are moderated prior to appearing on the site. Moderation is performed by a team of volunteers. As such, it may take as long as 24-36 hours before a job posting is approved depending on various factors.</dd>

<dt>How long will my job posting be displayed?</dt>
<dd>Your job posting will be displayed for a period of 21 days, unless you <a href="/remove-a-job/">remove it yourself</a> using the job token you are provided or you <a href="/feedback/">contact us</a> to have it removed earlier than that.</dd>

<dt>Who can I contact?</dt>
<dd>Contact us via our <a href="/feedback/">feedback form</a>.</dd>

<dt>Can I post my advertisement, site, or cool new product?</dt>
<dd>No, this site is only for posting available jobs.</dd>

<dt>How do I remove a job posting?</dt>
<dd>Your job will automatically be removed from the site after 21 days. Upon successful submission of a job to the site, a unique job token is provided to the job poster. We emphatically implore job posters (multiple times) to make note of the job token. The token can be used on our <a href="/remove-a-job/">Remove Job</a> page to immediately close the job. If you do not have the job token, you can <a href="/feedback/">contact us</a> to request closure of the job. You must submit your request from an email address you provided via the job submission form. It would also be helpful if you reference the job by link and/or title, especially if you have more than one job in the system. <em>Note: Requests made via the contact page could take as much as 72 hours or longer to fulfill.</em></dd>

<dt>Why is X feature not available?</dt>
<dd>It could be. Just leave us <a href="/feedback/">feedback</a>.</dd>

<dt>Why was my job posting not approved?</dt>
<dd>We moderate job posts on a few criteria, including:
<ul>
<li>At this time, all job postings must be in English.</li>
<li>Only actual jobs can be posted to the job board.</li>
<li>The job board is for WordPress jobs only.</li>
<li>Jobs must offer monetary compensation in exchange for work. Non-monetary compensation (exposure, trade, charity, etc) are not acceptable except in the case of verifiable non-profit organizations who <strong>clearly</strong> state their non-profit status and the fact that their job or project is not offering compensation.</li>
<li>Your job posting must have adequate information about the listing, including contact information. One or two sentences are not sufficient to explain the job or project.
<ul>
<li>For full and part time jobs, please include as many details about the position, including what exactly the applicant will be doing, what salary/hourly range you are expecting to pay, and what skills you require from applicants.</li>
<li>For projects, please be as specific as possible about the nature of your project as well as your budget. Pro bono projects for non-profits are allowed, but be up front about this in your job posting.</li>
</ul>
</li>
<li>Products and businesses listed on this job board must not infringe on the WordPress trademark. (See the <a href="https://WordPressfoundation.org/trademark-policy/">WordPress trademark policy</a>.)</li>
<li>Job posting will not be published for sites which:
<ul>
<li>Promote discrimination of any kind or hate speech</li>
<li>Promote illegal activity as defined by the laws of the United States</li>
<li>Primarily host adult content or merchandise (e.g. pornography)</li>
</ul>
</li>
<li>If your job posting involves a project that will be released publicly, it must embrace <a href="https://WordPress.org/about/license/">the same license as WordPress</a>. If distributing WordPress-derivative works (themes, plugins, WP distros), any person or business should give their users the same freedoms that WordPress itself provides. Projects must be 100% GPL or compatibly licensed.</li>
</ul>
</dd>
</dl>

<h2 id="job-seekers">Seeking a job?</h2>

<dl>
<dt>Can I post my resume?</dt>
<dd>Not at this time.</dd>

<dt>How do I contact an employer?</dt>
<dd>Employers are expected to leave their contact information on each post.</dd>

<dt>Why does an employer not respond?</dt>
<dd>It is completely up to the employer to choose to respond or ignore a request for communication.</dd>
</dl>'
create_page_if_missing 'faq' 'FAQ' "$FAQ_CONTENT"

# Create job categories.
echo "Creating job categories..."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,22 +172,12 @@ function jobswp_the_attached_image() {
* Prints HTML with meta information for the current post-date/time and author.
*/
function jobswp_posted_on() {
$time_string = '<time class="entry-date published" datetime="%1$s">%2$s</time>';
if ( get_the_time( 'U' ) !== get_the_modified_time( 'U' ) )
$time_string .= '<time class="updated" datetime="%3$s">%4$s</time>';

$time_string = sprintf( $time_string,
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() ),
esc_attr( get_the_modified_date( 'c' ) ),
esc_html( get_the_modified_date() )
);

printf( __( '<span class="posted-on">Posted %1$s</span>', 'jobswp' ),
sprintf( '<a href="%1$s" title="%2$s" rel="bookmark">%3$s</a>',
printf(
__( '<span class="posted-on">Posted %1$s</span>', 'jobswp' ),
sprintf( '<a href="%1$s" rel="bookmark"><time class="entry-date published" datetime="%2$s">%3$s</time></a>',
esc_url( get_permalink() ),
esc_attr( get_the_time() ),
$time_string
esc_attr( get_the_date( 'c' ) ),
esc_html( get_the_date() )
)
);
}
Expand Down
38 changes: 38 additions & 0 deletions jobs.wordpress.net/public_html/wp-content/themes/jobswp/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -1287,6 +1287,44 @@ input[type="submit"].submit-job {
color: var(--color-charcoal-4);
}

.page-faq .entry-content dd ul {
margin: var(--space-10) 0 0;
padding-left: var(--space-20);
list-style: disc;
}

.page-faq .entry-content dd ul ul {
margin-top: 4px;
list-style: circle;
}

.page-faq .entry-content dd li {
margin-bottom: 6px;
line-height: 1.6;
}

.page-faq .entry-content dd a {
color: var(--color-blueberry-1);
text-decoration: underline;
text-decoration-thickness: 1px;
text-underline-offset: 2px;
}

.page-faq .entry-content dd a:hover {
color: var(--color-deep-blueberry);
}

.page-faq .entry-content > p:first-child {
font-size: var(--font-size-base);
color: var(--color-charcoal-4);
margin-bottom: var(--space-30);
}

.page-faq .entry-content > p:first-child a {
color: var(--color-blueberry-1);
text-decoration: underline;
}


/* ============================================
Category & Search Archive Pages
Expand Down
Loading