This is a response to a reddit post where a user wants to allow public users to verify if a "worker" (employee) works at the company based on an employee ID.
https://www.reddit.com/r/Wordpress/comments/g3n5wv/wordpress_worker_verify/
Hello guys,
<?php | |
add_filter('body_class', 'sf3_custom_body_class'); | |
function sf3_custom_body_class($classes){ | |
global $post; | |
$prefix = 'cpgname_'; //insert your own prefix | |
if(isset($post->post_type)){ //if a post-type is required | |
$prefix .= sprintf('%s_%s', $prefix, $post->post_type); | |
// 'cpgname_page' |
# IMPORTANT: The version must match the version of docker-compose.yml | |
version: '2.1' | |
services: | |
# ------------------------------------------------------------ | |
# Web Server | |
# ------------------------------------------------------------ | |
httpd: | |
image: sixfoot3/docker-apache-2.4:latest | |
hostname: httpd |