Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #23251

    I need to embed code on a page but simply pasting it in the page does not work. How do I do this?

    #23254

    Hello 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.

    #23253

    The answer is toooooo vague, as is the error message in boldgrid.

    #23252
    Arnel C
    Member

    If 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How do I embed code into a page?’ is closed to new replies.