Custom HTML Block for specific pages/categories?
-
Howdy!
Firstly, I apologise if this is in the wrong section! I did browse through the Forums page and couldn’t decide between two.
What’d be the best way of including a Custom HTML block on specific pages but If I edit the “main” it updates all of those specific pages? Currently if something changes I manually edit every page with the new information.
However, now I’m at 28 pages it’s a bit of a drag and I’m sure there is a faster way! Obviously I can’t just make a
customblock.php
file and just do<?php include 'customblock.php';?>
like here as WordPress Gutenberg text editor doesn’t allow just placing PHP code.This is usually done for things like footer.php
Of course, there is WPCode Plugin (which I use for other things) but this will include it on every page I only want it on certain download items/listings under specific topic/category.
Thanks!
- The topic ‘Custom HTML Block for specific pages/categories?’ is closed to new replies.