by Garth | Mar 14, 2021 | PHP, Wordpress
function remove_default_post_type() { remove_menu_page( ‘edit.php’ ); } add_action( ‘admin_menu’, ‘remove_default_post_type’ );
by Garth | Mar 2, 2021 | PHP, Wordpress
function create_posttype() { register_post_type( ‘wpll_product’, array( ‘labels’ => array( ‘name’ => __( ‘Videos’ ), ‘singular_name’ => __( ‘Video’ ) ), ‘public’ => true,...
by Garth | Nov 26, 2020 | CSS
a {pointer-events: none;}
by Garth | Nov 24, 2020 | Javascript
INTRO JS https://introjs.com/example/hello-world/index.html Wizard steps are managed with simple HTML attributes data-step=”1″ data-intro=”This is a tooltip for wizard step 1!”data-step=”2″ data-intro=”This is the second...
by Garth | Nov 9, 2020 | Javascript
In the Ajax submits you will see a variable. formdata The below snippet is what you must append to the top of your Ajax call to initiate the variable Otherwise you need to change the variable to what ever you are targeting. var formdata = new FormData;...