• Hi,
    Wondered if someone could help.

    I’m currently using the NewsPro theme and wanted to know how i would add the Featured Factory plugin into an area of the theme that is not available via the widgets section.

    The area of the theme i want to add the plugin to is the left sidebar – but there is no option for this area via the widgets section in my admin panel.

    Normally with plugins the author might tell you to add a string of code to your themes php file – however for this particular plugin it doesn’t tell me or give me an idea of what code i would use if i wanted the widget within a non-widgetized area of my theme.

    i’m guessing it’s this section within the home.php file need to place the code in if i want the plugin to show – but the question is – what code do i insert?

    <!-- Container -->
    	<div id="content-wrap">
    
    		<!-- Left Column -->
    		<div id="leftcol-wrapper">
    			<div id="leftcolumn">
    				<h2><?php echo $theme_options["titleLeftColumn"]; ?></h2>
    				<?php query_posts('cat='.$theme_options["leftColCatID"].'&showposts='.$theme_options["leftColPostCount"]); ?>
    				<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    				<div class="latestnewspost">
    					<h2><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2>
    					<p><?php print string_limit_words(get_the_excerpt(), 17); ?>...</p>
    				</div>
    				<?php endwhile; else : ?>
    				<?php endif; ?>
    				<?php wp_reset_query(); ?>
    
    				<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('GabWidget-Area-4') ) : ?>
    				<?php endif; ?>
    
    				<?php include (TEMPLATEPATH . '/160x600ad.php'); ?>
    
    				<?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('GabWidget-Area-5') ) : ?>
    				<?php endif; ?>
    			</div>
    		</div>
    		<!-- /Left Column Wrapper -->

    My html/php is fairly basic – if i know what code to place and within what file i’m fine – so any help with this would be greatly appreciated.

    Thanks in advance 🙂

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘adding the Featured Factory plugin into a non-widget enabled area of a theme’ is closed to new replies.