Home>Support>Theme Converted from HTML

Theme Converted from HTML

Hi!
I have a wordpress theme that I converted from plain HTML by splitting up everything and converting to php. Now, I’m trying to include a page builder into the theme, but the plugin does not recognize my existing pages (converted from HTML), does anyone know how I could work this around?

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 5 months ago Frekisunr

    Hi Nelson,
    I had the same issue.
    I worked around for a few hours and my solution, for the moment, was to create a child-theme of Twenty Twelve.
    Then I copied the header.php in the child-theme-folder, modified the code but left the -section as it was.

    <!DOCTYPE html>
    <!--[if IE 7]>
    <html class="ie ie7" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if IE 8]>
    <html class="ie ie8" <?php language_attributes(); ?>>
    <![endif]-->
    <!--[if !(IE 7) & !(IE 8)]><!-->
    <html <?php language_attributes(); ?>>
    <!--<![endif]-->
    <head>
    <meta charset="<?php bloginfo( 'charset' ); ?>" />
    <meta name="viewport" content="width=device-width" />
    <title><?php wp_title( '|', true, 'right' ); ?></title>
    <link rel="profile" href="http://gmpg.org/xfn/11" />
    <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />
    <?php // Loads HTML5 JavaScript file to add support for HTML5 elements in older IE versions. ?>
    <!--[if lt IE 9]>
    <script src="<?php echo get_template_directory_uri(); ?>/js/html5.js" type="text/javascript"></script>
    <![endif]-->
    <?php wp_head(); ?>
    </head

    That works for me now but I’m still looking for a better solution. I hope, that helps a little bit.

    • 9 years, 5 months ago Nelson Nauata

      Hi Frekisunr,

      Thanks for answering, just a question here, were you able to get the plugin to recognize your text content in your plugin? In other words, you could turn the text content to be editable?

      Sorry I’m kind of new in this things and I’m not sure how the plugin interprets its elements from HTML.

      Thanks!

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More