Custom posts with certain html [closed]

Yes, it’s possible – but it’s not trivial. You’ll basically need the following three components: Custom Post Types Custom Fields A page listing the entries I suggest you have a look at the various pages and tutorials that are available covering these three topics. Here would be one “How to Create Custom Post Types in WordPress” … Read more

Commenting out unwated CSS/scripts in HTML with PHP

Install Query Monitor to show your scripts and styles (#qm-assets) – specifically the ID used to register the scripts/styles. Then hook wp_print_scripts and use wp_dequeue_script() to remove it before it outputs. /** * Dequeue the jQuery UI script. * * Hooked to the wp_print_scripts action, with a late priority (100), * so that it is … Read more