Denise Brown
asked 11 years ago

Thanks so much for the helpful installation guide. Your is the first plugin that includes such a great step-by-step guide. I’ve followed the instructions but am still struggling to integrate the plug-in with the theme I’m using. The theme’s page.php is:

<?php /*  ----------------------------------------------------------------------------     the page template  */

get_header();

//set the template id, used to get the template specific settings $template_id = 'page';

$loop_sidebar_position = td_util::get*option('tds*' . $template_id . '_sidebar_pos'); //sidebar right is default (empty)

//read the custom single post settings - this setting overids all of them $td_page = get_post_meta($post->ID, 'td_page', true); if (!empty($td_page['td_sidebar_position'])) {     $loop_sidebar_position = $td_page['td_sidebar_position']; }

switch ($loop_sidebar_position) {     case 'sidebar_left':         echo td_page_generator::wrap_start();         ?>         <div class="span4 column_container" role="complementary" itemscope="itemscope" itemtype="<a>http://schema.org/WPSideBar"></a>;             <?php get_sidebar(); ?>         </div>         <div class="span8 column_container td-no-pagination" role="main" itemscope="itemscope" itemprop="mainContentOfPage" itemtype="<a>http://schema.org/CreativeWork"></a>;

            <?php

            if (have_posts()) {                 while ( have_posts() ) : the_post();                     echo td_page_generator::get_page_breadcrumbs(get_the_title());                     ?>                     <h1 itemprop="name" class="entry-title td-page-title">                         <?php /*<a itemprop="url" href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?>*/?>                         <span><?php the_title() ?></span>                     </h1>                     <?php                     the_content();                 endwhile; //end loop             }             ?>

        </div>         <?php         echo td_page_generator::wrap_end();         break;

    case 'no_sidebar':         echo td_page_generator::wrap_start();         ?>         <div class="span12 column_container td-no-pagination" role="main" itemscope="itemscope" itemprop="mainContentOfPage" itemtype="<a>http://schema.org/CreativeWork"></a>;

            <?php             if (have_posts()) {                 while ( have_posts() ) : the_post();                     echo td_page_generator::get_page_breadcrumbs(get_the_title());                     ?>                     <h1 itemprop="name" class="entry-title td-page-title">                         <?php /*<a itemprop="url" href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?>*/?>                         <span><?php the_title() ?></span>                     </h1>                     <?php                     the_content();                 endwhile; //end loop             }             ?>

        </div>         <?php         echo td_page_generator::wrap_end();         break;

    default:         echo td_page_generator::wrap_start();         ?>             <div class="span8 column_container td-no-pagination" role="main" itemscope="itemscope" itemprop="mainContentOfPage" itemtype="<a>http://schema.org/CreativeWork"></a>;                 <?php                     if (have_posts()) {                         while ( have_posts() ) : the_post();                             echo td_page_generator::get_page_breadcrumbs(get_the_title());                             ?>                             <h1 itemprop="name" class="entry-title td-page-title">                                 <?php /*<a itemprop="url" href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?>*/?>                                 <span><?php the_title() ?></span>                             </h1>                             <?php                             the_content();                         endwhile;//end loop                     }                 ?>             </div>             <div class="span4 column_container" role="complementary" itemscope="itemscope" itemtype="<a>http://schema.org/WPSideBar"></a>;                 <?php get_sidebar(); ?>             </div>         <?php         echo td_page_generator::wrap_end();         break; }

get_footer(); ?>

Thanks so much for any help you can offer.

3 Answers
Guru
answered 11 years ago

Without access to the files on the server it would be very difficult for me to actually provide a one stop answer, as it needs to be tested on the live server. Perhaps providing your ftp details via private answer to the admins will help them provide a quick answer.

Denise Brown
replied 11 years ago

Thank you so much!! I just sent my FTP.

Denise Brown
replied 11 years ago

My theme is really giving me problems so I’m just going to switch themes. If I have problems styling the new theme, I will let you know. I apologize if I’ve caused more work for you.

DominicStaff
answered 11 years ago

Hello Denise !
Please send me username & password of your site for further checking. I have checked this site but look like you have removed the DW Q&A plugin.

Denise Brown
replied 11 years ago

Hi–I switched my theme but am still using your plugin. I’ve added the the files per the installation guide but the page doesn’t load. http://www.caregiving.com/question/

I’ll include user name and password privately, below.

Denise Brown
replied 11 years ago

Thanks so much for trying to help me. I just couldn’t get this plugin to work my theme. I’ve had to choose another solution.

DominicStaff
answered 11 years ago

Hi Denise !
Apologize for the delay in replying to you.
I have checked your site, I think you have disabled the Q&A plugin and using another different plugin.
Please let me know if you are still interested in our plugin. We will help you install the plugin in your theme as well as other bugs regarding our product.
I’m looking forward hearing from you soon.
Regards,

Powered by DW Question & Answer Pro