- AuthorPosts
- December 26, 2017 at 5:23 pm #23251Anonymous UserMember
I need to embed code on a page but simply pasting it in the page does not work. How do I do this?
December 26, 2017 at 5:58 pm #23254Christopher MMemberHello Dana,
Thanks for submitting a question about embedding code in a page or post. This falls more under the category of using HTML in WordPress than BoldGrid. I recommend using the WordPress text editor. You can surround your code with “pre” or “code” HTML tags.
This will output “preformatted” text, which is recommended for viewing code. However, in order to get syntax color highlighting, you can install a a WordPress “code snippets” plugin to handle that. This is likely the easiest option because it will help with “escaping” certain characters.
Best,
Christopher M.April 18, 2018 at 4:02 pm #23253Anonymous UserMemberThe answer is toooooo vague, as is the error message in boldgrid.
April 18, 2018 at 4:26 pm #23252Arnel CMemberIf you’re embedding code then you can use HTML code to wrap code as per Chris’s answer. If you need to know how to do this, you can refer to this WordPress article from their documentation. BoldGrid allows you to more easily build sites in WordPress, but you’re still working with the WordPress interface when adding content through posts or pages.
- AuthorPosts
- The topic ‘How do I embed code into a page?’ is closed to new replies.