• I have been recently hired at a company to help modify and update their wp website. But the people who previously made it wrote EVERY DETAIL into HTML code. I have tried so many different solutions, but it is getting UNBEARABLE!! Supposedly there is a way to convert from code to regular blocks that I could work with and edit. but I have NO IDEA how I could even start to get that done. And there is NO ONE to help me easily, so I’m resorting to here.

    I’m at the end of my rope guys and very fed up. Can anyone help me? Please?

    [Moderated: de-capitalized the title. It’s considered shouting and rude.]

    • This topic was modified 5 years, 11 months ago by James Huff. Reason: all-caps title converted to lowercase
    • This topic was modified 5 years, 11 months ago by t-p.
Viewing 13 replies - 1 through 13 (of 13 total)
  • Ha ha, you funny…
    First, HTML is not code. It’s markup.
    Second, there is 15 years of history of WordPress using HTML, and only 4 months of it using blocks.
    Third, blocks are converted to HTML in order to display the page, so it’s built-in.
    Fourth, there is an option in one of the menus to convert to blocks.
    Fifth, you will likely lose a lot of what you have if you convert to blocks.

    Moderator James Huff

    (@macmanx)

    Sixth, you don’t _have_ to convert to blocks.

    I’d recommend working with blocks going forward, and just edit the raw HTML for old content as necessary.

    Thread Starter jharris1

    (@jharris1)

    Well, I only know how to create content for websites, not code them. And from my research of the updated version of wordpress we have, HTML was the only thing I could find that mentioned coding. So, glad you got a laugh out of my confusion.

    The previous people used a customized code as well, whatever you call the code. So, if I find the menu that has the convert to blocks, would it still extract all the data? Or at least some of it?

    Thread Starter jharris1

    (@jharris1)

    also, thank you for revising my title.

    Haven’t used these before lol

    Moderator James Huff

    (@macmanx)

    Well, let’s start simple. What exactly are you trying to change? Can you give us a link? Can you use https://snag.gy/ to provide a screenshot?

    Right now, all I can offer is that it took me a few months to get absolutely comfortable with HTML, but I eventually got comfortable with it and it’s no big deal now.

    Thread Starter jharris1

    (@jharris1)

    okay, sure,

    So, I tried to add another element to one of our pages, but when I tried to move stuff around, I couldn’t, because everything was condensed into one line that had all this code in it.

    I’ll provide multiple pictures:
    https://snag.gy/5MPUys.jpg (hope this works?)

    Thread Starter jharris1

    (@jharris1)

    Here is what the main page looks like:
    https://snag.gy/gPTsm9.jpg

    The red text is what I could add in as a new block because I couldn’t figure out the code.

    Literally, all the graphics, images, pictures are in code and I can’t edit them.

    Is this HTML? or did they do something different?

    Moderator James Huff

    (@macmanx)

    Can you send over a screenshot of the editor itself and highlight what you’re having trouble editing?

    Thread Starter jharris1

    (@jharris1)

    Sure.

    This is all that I see. I don’t know where I could edit any little bit of text or update any of the images because this is all that is shown.

    https://snag.gy/wdKn12.jpg

    And if I try to clear out the title or the box it ends up deleting EVERYTHING on the actual site. Like the page doesn’t exist.

    Moderator James Huff

    (@macmanx)

    So, that means one of two things. Either everything is coming from that “wipcontentmanger” whatever that is (I assume a plugin), or everything is inside a template file within the theme.

    Thread Starter jharris1

    (@jharris1)

    sooo….is there an easy way I could pull any content from it?

    Or, is it going to be a large ordeal to try and convert/change anything?

    Moderator James Huff

    (@macmanx)

    Well, you’d have to access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and use a plain text editor to see if the content is in any of the theme template files.

    To be clear, this is _not_ a normal way to use WordPress, but I have seen developers who are familiar with HTML but not WordPress use it as a shortcut.

    Thread Starter jharris1

    (@jharris1)

    okay,

    Thank you so much, James, I really appreciate all your help! I’ll look into this.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘How can I convert code to blocks?’ is closed to new replies.