Having an Issue with Editing Page with Tabs

  • Unknown's avatar

    I have a page with tabs, you can see an example of this here:

    http://www.starmicrosites.com/marketing-support/brand-development/

    I add content to all of these pages on a very regular basis, this has always been fine, until yesterday.

    I can no longer update any of my pages without losing all of the tabbed content holders within the editor…
    This will also happen if I try to create a new page with tabs. Could anyone help me figure out what is wrong within the code that is causing the editor to no longer handle the tabbed content? Obviously I cannot make any further updates to my site until this is resolved or I will risk losing everything.

    The one page I tried to update after this error began to occur is:

    http://www.starmicrosites.com/digitalsolutions/emerging-technologies/

    As you can see all of the tabs are lost even though the page with tabs template is selected. luckily I saved all the code from within the tabs so as soon as I resolve this issue I can fill out the tabs on that page again.

    Below is the code for the template:

    <?php
    /* Template Name: Page with Tabs */

    get_header(); ?>

    <div id=”primary”>
    <div id=”content” role=”main”>

    <?php the_post(); ?>

    <div class=”entry-content”>

    <div class=”main-col”>

    <?php the_content(); ?>

    <div id=”le-tabs” class=”example1 oldlook”>

    <div id=”le-tabs_tab_container”>
    Examples
    About
    Why?
    How Much?
    Resources
    </div>

    <div id=”le-tabs_content_container”>
    <div id=”le-tabs_content_inner”>
    <div class=”le-tabs_content”>
    <?php the_block(‘tab-examples’); ?>
    </div>
    <div class=”le-tabs_content”>
    <?php the_block(‘tab-about’); ?>
    </div>
    <div class=”le-tabs_content”>
    <?php the_block(‘tab-why’); ?>
    </div>
    <div class=”le-tabs_content”>
    <?php the_block(‘tab-how-much’); ?>
    </div>
    <div class=”le-tabs_content”>
    <?php the_block(‘tab-resources’); ?>
    </div>
    </div>
    </div>

    </div>

    <div class=”col-left”>

    <div class=”col-left-nav”>

    <?php
    if($post->post_parent) {
    $children = wp_list_pages(“title_li=&child_of=”.$post->post_parent.”&echo=0″);
    $titlenamer = get_the_title($post->post_parent);
    }

    else {
    $children = wp_list_pages(“title_li=&child_of=”.$post->ID.”&echo=0″);
    $titlenamer = get_the_title($post->ID);
    }
    if ($children) { ?>

    <h3><? echo $titlenamer ?> </h3>

      <?php echo $children; ?>

    <?php } ?>

    <!–The following for the meta textarea –>
    <div class=”meta-textarea”>
    <?php the_block(‘right-column’); ?>
    <?php the_post(); ?>
    <?php get_template_part( ‘content’, ‘columnwidgetsright’ ); ?>

    </div><!– .entry-content –>

    <?php get_footer(); ?>

  • Unknown's avatar

    Good day to you,
    I’m sorry to report that you have accidentally posted to the wrong support forum. We cannot help you here at WordPress.com with that site as it’s not being hosted by WordPress.com and we run on different software. This is the correct forum for your software http://wordpress.ORG/support/
    WordPress.com vs WordPress.org: The Differences
    http://support.wordpress.com/com-vs-org/
    Best wishes with your site.

  • The topic ‘Having an Issue with Editing Page with Tabs’ is closed to new replies.