Skip to content

Instantly share code, notes, and snippets.

View Bot12313's full-sized avatar
🏠
Working from home

Артем Bot12313

🏠
Working from home
View GitHub Profile
@Bot12313
Bot12313 / input.scss
Created October 1, 2023 16:44
Generated by SassMeister.com.
.dymok-display-posts {
&--only-headings {
&--cities-container {
display: flex;
gap: 10px;
flex-wrap: wrap;
}
&--city {
@Bot12313
Bot12313 / custom_post_types.php
Created September 2, 2019 15:53 — forked from Kelderic/custom_post_types.php
This is set of helper classes to create and manage custom post types for WordPress. It gets added to a theme's logic folder, or libs or includes folders, and included in functions.php. Then the primary tracker class is initiated once, and used to create new CTPs.
<?php
/***********************************************************************/
/*************************** TRACKER CLASS ***************************/
/***********************************************************************/
if ( ! class_exists( 'Custom_Post_Types_Manager' ) ) {
class Custom_Post_Types_Manager {