DSaxon
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Theme Install ErrorThanks Million…hey i was also wondering do you know anything about the “clickst share” plugin. I was trying to follow the instructions on how to install if but i think im getting hung up on editing the php files. It just seems not to be working for me…the told me to
To use the Clickst plug-in, follow these steps:
1. Upload clickst.php to your /wp-content/plugins/ directory
2. Activate the plugin through the Plugins menu in WordPress
3. Click on ‘Clickst’ under the ‘Settings’ menu and tweak your preferences
4. Add <?php clickst_buttons() ?> inside your templates wherever the_post() is availableI think i may be pasting the cod in the wrong place. my index.php template. <?php
/*
Single Post Template: [Blank]
Description: This part is optional, but helpful for describing the Post Template
*/
?>
<?php get_header(); ?><div id=”content”>
<div id=”post-entry”><?php $postcount = 1; ?>
<?php if (have_posts()) : ?>
<?php include (TEMPLATEPATH . ‘/headline.php’); ?>
<?php while (have_posts()) : the_post(); $do_not_duplicate = $post->ID; $the_post_ids = get_the_ID(); ?>
<div class=”post-meta” id=”post-<?php the_ID(); ?>”>
<div class=”post-top”>
<div class=”calendar”>
<span class=”day”><?php the_time(‘d’); ?></span>
<span class=”month-year”><?php the_time(‘M’); ?>/<?php the_time(‘y’); ?></span>
</div><!– CALENDAR END –><div class=”post-info”>
<h1>” rel=”bookmark” title=”<?php the_title(); ?>”><?php the_title(); ?></h1>
<span class=”stats”>Posted By <?php the_author_posts_link(); ?> In <?php the_category(‘, ‘) ?> <?php if(function_exists(“the_tags”)) : ?><?php the_tags() ?><?php endif; ?> <?php edit_post_link(‘Edit’); ?></span><!– STATS END –>
</div><!– POST INFO END –><div class=”clearfix”></div>
</div><!– POST TOP END –><div class=”post-center”>
<div class=”post-content”>
<?php clickst_buttons() ?>
<?php if((is_home()) || (is_category()) || (is_archive()) || (is_search())) { ?>
<?php the_content(‘Read the rest of this entry »’); ?>
<?php } ?></div><!– POST CONTENT END –>
<?php
$get_google_activate = get_option(‘rk_redmint_google_activate’);
if(($get_google_activate == ”) || ($get_google_activate == ‘disable’)) { ?>
<?php } else { ?>
<?php
$get_google_code = get_option(‘rk_redmint_google_code’);
if($get_google_code == ”) { ?><?php } else { ?>
<?php if($postcount <= 3){ ?>
<div class=”adsense”>
<?php echo stripcslashes($get_google_code); ?>
</div>
<?php } else { /* nothing */ } ?><?php } ?>
<?php } ?><?php include (TEMPLATEPATH . ‘/social.php’); ?>
</div><!– POST CENTER END –>
<div class=”post-bottom”> </div>
<?php clickst_buttons() ?>
</div><?php $postcount++; ?>
<?php endwhile; ?>
<?php include (TEMPLATEPATH . ‘/paginate.php’); ?>
<?php else : ?>
<h2 class=”center”>Not Found</h2>
<p class=”center”>Sorry, but you are looking for something that isn’t here.</p><?php endif; ?>
</div>
</div><?php get_sidebar(); ?>
<?php get_footer(); ?>