View Filter
function setNoDiviCheck(){ | |
return false; | |
} | |
add_filter( 'mrkwp_gfwp_test_divi', 'setNoDiviCheck' ); |
View css
::placeholder { | |
color: red; | |
} |
View css snippet
.ez-toc-list-level-5{ | |
display:none; | |
} |
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; | |
} |
View HTML
<meta name="theme-color" content="#038"/> |
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"/> |
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" /] |
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" /] |
View mrkwp-faq-post-type-permalink-fix.php
<?php | |
function mrkwp_faq_posttype_fix_register_post_type_args( $args, $post_type ) | |
{ | |
if ($post_type == "faq" ) { | |
$args['rewrite'] = array( | |
'slug' => false, | |
); | |
} |
View update_diviframework_faq_post_type_args.php
<?php | |
// Add this to your child theme's function.php file. | |
// Make sure you flush the rewrite rules. | |
// On wp cli you can 'wp rewrite flush' | |
// Or goto WordPress Admin > Settings > Permalink and save the settings which will flush the rules. | |
add_filter( | |
'df_faq_post_type_args', | |
function ($args) { | |
$args['public'] = true; |
NewerOlder