Skip to content

Instantly share code, notes, and snippets.

@mrkdevelopment
mrkdevelopment / blocsky-single.php
Created Jun 22, 2021
Use this as a basis for a single blocksy template part in child theme
View blocsky-single.php
<?php
/*
* The template for displaying all single posts
*
* @link https://developer.wordpress.org/themes/basics/template-hierarchy/#single-post
*
* @package Blocksy
*/
if (have_posts()) {
@mrkdevelopment
mrkdevelopment / footer.css
Created Apr 6, 2021
color the description field on a gravity form
View footer.css
@mrkdevelopment
mrkdevelopment / Filter
Created Oct 25, 2020
Hook to stop Divi Check in Gravity Forms Styler for Divi Plugin
View Filter
function setNoDiviCheck(){
return false;
}
add_filter( 'mrkwp_gfwp_test_divi', 'setNoDiviCheck' );
@mrkdevelopment
mrkdevelopment / css
Created Aug 5, 2020
Style your paceholder
View css
::placeholder {
color: red;
}
View css snippet
.ez-toc-list-level-5{
display:none;
}
@mrkdevelopment
mrkdevelopment / css-notifiy-bar
Last active Jul 3, 2021
Alert Bar with Icon
View css-notifiy-bar
<style>
#notify-bar .alert-wrapper{
padding:5px;
}
#notify-bar .icon-wrap{
height: 25px;
display: inline-flex;
width: 20px;
margin: 5px 20px 0 0;
}
@mrkdevelopment
mrkdevelopment / HTML
Created Feb 2, 2020
Browser Theme Color
View HTML
<meta name="theme-color" content="#038"/>
@mrkdevelopment
mrkdevelopment / HTMlL in Head
Last active Feb 1, 2020
Add this to your header for coloured browser in mobile
View HTMlL in Head
<!-- Blue Version -->
<meta name="theme-color" content="#038"/>
<!--Grey Version -->
<meta name="theme-color" content="#3a3a3a"/>
<!--Green version -->
<meta name="theme-color" content="#209b60"/>
@mrkdevelopment
mrkdevelopment / FAQ Items as a Grid
Created Jan 8, 2020
Displays the FAQ items as a grid
View FAQ Items as a Grid
[df_multi_col_faq_shortcode id="css-id" class="css-class" include_categories="comma-separated-faq-category-ids" expanded="0-or-1" orderby="date" order="DESC" /]
@mrkdevelopment
mrkdevelopment / FAQ List Short Code
Last active Jan 8, 2020
Short Code Attributes for FAQ List id
View FAQ List Short Code
[df_toggled_faq_shortcode id="css-id" class="css-class" include_categories="comma-separated-faq-category-ids" expanded="0-or-1" orderby="date" order="DESC" /]