Cite this

0 views
Skip to first unread message

morisp...@gmail.com

unread,
Nov 19, 2007, 9:49:56 PM11/19/07
to LLBB Small Creations
Hi,

I've been trying to make your plugin Cite this in my word press blog,
but can't make it work. I guess the problem may be in the index.php of
my default theme (Talian 1.0). I can't find where to insert the

<?php
if (function_exists('GetCitationsBlockStaticHTML'))
echo GetCitationsBlockStaticHTML($post, null);
?>

My index.php looks as follows:

<?php get_header(); ?>
<div id="content_talia">
<div class="right-content-talia">
<div id="left-post">
<div id="put-image-here"></div>

<div id="post-entry">

<?php if(have_posts()) : ?>

<?php while(have_posts()) : the_post(); ?>

<div class="post-meta" id="post-<?php the_ID(); ?>">

<h1><a href="<?php the_permalink(); ?>" title="<?php the_title(); ?
>"><?php the_title(); ?></a></h1>

<div class="posted-aut-cat">Posted in <?php the_time('F jS, Y') ?> <?
php edit_post_link('Edit', '&#124; ', ''); ?></div>

<div class="posted-aut-cat">by <?php the_author_posts_link(); ?> in <?
php the_category(', ') ?></div>

<div class="post-content"><?php the_content('Continue reading this
post...') ;?></div>

<div class="post-commented">

<div class="post-box"><?php comments_popup_link('No Comments', '1
Comment', '% Comments'); ?></div>

</div>


</div>

<div class="post-fixed"></div>

<?php endwhile; ?>


<?php comments_template(); ?>



<div class="post-fixed"></div>

<div class="post-navs">
<?php if(function_exists('wp_pagenavi')): ?> <?php wp_pagenavi(); ?><?
php else : ?><?php posts_nav_link(); ?><?php endif; ?>
</div>

<div class="post-fixed"></div>

<?php else: ?>

<h3>Sorry The Post Have Been Removed</h3>

<?php endif; ?>

</div>

</div>

<?php get_sidebar(); ?>

<?php get_leftbar(); ?>

<?php get_footer(); ?>

Can you please tell me where to insert code for citations?

Thank you,

Moris Polanco

livibetter

unread,
Nov 19, 2007, 9:57:40 PM11/19/07
to LLBB Small Creations
<div class="post-content"><?php the_content('Continue reading this
post...') ;?></div>
[HERE is OK]
<div class="post-commented">

Are you sure you need to modify this theme? It looks it can work with
CT without modification.

On Nov 20, 10:49 am, "morispola...@gmail.com" <morispola...@gmail.com>
wrote:

morisp...@gmail.com

unread,
Nov 26, 2007, 2:01:23 AM11/26/07
to LLBB Small Creations
Thanks for your help.

I tried what you suggested me, but I get an error. I inserted
<?php
if (function_exists('GetCitationsBlockStaticHTML'))
echo GetCitationsBlockStaticHTML($post, null);
?>
where you told me. Any idea?

Moris

livibetter

unread,
Nov 26, 2007, 4:31:49 AM11/26/07
to LLBB Small Creations
What's the error message?

On Nov 26, 3:01 pm, "morispola...@gmail.com" <morispola...@gmail.com>
wrote:

morisp...@gmail.com

unread,
Nov 27, 2007, 12:42:53 AM11/27/07
to LLBB Small Creations
Before trying to make changes in my theme in order to get the error
message, I have a question.

When you say "you may need to make small modifications to your theme"
you mean the default theme, or the theme I am currently using? (it is
talian-10)

morisp...@gmail.com

unread,
Nov 27, 2007, 12:43:45 AM11/27/07
to LLBB Small Creations
By the way, i updated the plugin to the version 0.3.0.1

On Nov 26, 3:31 am, livibetter <livibet...@gmail.com> wrote:

livibetter

unread,
Nov 27, 2007, 1:10:31 AM11/27/07
to LLBB Small Creations
The default and classic themes need no modifications.

On Nov 27, 1:42 pm, "morispola...@gmail.com" <morispola...@gmail.com>
wrote:
Reply all
Reply to author
Forward
0 new messages