Form – Checkboxes
particleI have a bike I have a car I have a boat
I have a bike I have a car I have a boat
define( ‘DISALLOW_FILE_MODS’, false );
function gt_get_post_view() { $count = get_post_meta( get_the_ID(), ‘post_views_count’, true ); return “$count views”; } function gt_set_post_view() { $key = ‘post_views_count’; $post_id = get_the_ID(); $count = (int) get_post_meta( $post_id, $key, true ); $count++; update_post_meta( $post_id, $key, $count ); } function gt_posts_column_views( $columns ) { $columns[‘post_views’] = ‘Views’; return $columns; } function gt_posts_custom_column_views( $column ) { if […]
define(‘WP_POST_REVISIONS’, 10);
// Empty trash after 7 days define (‘EMPTY_TRASH_DAYS’, 7);
function my_admin_styles() { echo ‘ ‘; } add_action(‘admin_head’, ‘my_admin_styles’);
// Gutenberg editor width function custom_admin_css() { echo ‘ ‘; } add_action(‘admin_head’, ‘custom_admin_css’);