Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter lolhospital

    (@lolhospital)

    URL is https://www.lolhospital.com.
    No cahcing plugin. tried a different theme, same “referer error”.
    What am I doing wrong?

    I am not using a caching plug in but I still get a “failed to Verify Referer”
    How did you resolve this issue? and Lester, how can this issue be resolved if one is not using a caching plugin but still encounters in. I’m using the latest wordpress. thanks

    Thread Starter lolhospital

    (@lolhospital)

    Thanks Armando! It might be too much for me, So I abandoned the idea of the feelbox on the front page. Maybe in future updates you can fix this so it displays on the front page with individual post IDs.

    Thread Starter lolhospital

    (@lolhospital)

    there is no content.php in a few themes I’ve used recently. My theme currently has an index.php file. I presume that’s what you mean? there’s also the single.php.
    I was your awesome plugin to display on my frontpage (index.php) below every post. Here is my index.php currently.

    <?php $mts_options = get_option('dualshock'); ?>
    <?php get_header(); ?>
    <div id="page">
    	<div class="content">
    		<article class="article">
    			<div id="content_box">
    				<?php $j = 0; if (have_posts()) : while (have_posts()) : the_post(); ?>
                        <div class="post excerpt <?php echo (++$j % 2 == 0) ? 'last' : ''; ?>">
    						<header>
    							<h2 class="title">
    								<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php the_title(); ?></a>
    							</h2>
    						</header><!--.header-->
    						<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="nofollow" id="featured-thumbnail">
    							<?php if ( has_post_thumbnail() ) { ?>
    								<?php echo '<div class="featured-thumbnail">'; the_post_thumbnail('featured',array('title' => '')); echo '</div>'; ?>
    							<?php } else { ?>
    								<div class="featured-thumbnail">
    									<img width="450" height="200" src="<?php echo get_template_directory_uri(); ?>/images/nothumb.png" class="attachment-featured wp-post-image" alt="<?php the_title(); ?>">
    								</div>
    							<?php } ?>
    						</a>
    						<div class="post-content image-caption-format-1">
    
    						<?php echo excerpt(39);?>
    
    						</div>
    
    					</div><!--.post excerpt-->
    
                        <div class="post-info">
     <span><?php echo do_shortcode(' [feelbox]');?></span>
    						<span class="thecomment"><?php echo comments_number(__('No Comment','mythemeshop'), __('One Comment','mythemeshop'), '<span class="comments">'.__('Comments','mythemeshop').'</span> <span class="comm">%</span>');?></span>
    						<span class="readMore"><a href="<?php the_permalink() ?>" title="<?php the_title(); ?>" rel="bookmark"><?php _e('Read More','mythemeshop'); ?></a></span>
    
                        </div>
    				<?php endwhile; endif; ?>	
    
    				<!--Start Pagination-->
    				<?php if ( isset($mts_options['mts_pagenavigation']) == '1' ) { ?>
    					<?php  $additional_loop = 0; pagination($additional_loop['max_num_pages']); ?>
    				<?php } else { ?>
    					<div class="pagination">
    						<ul>
    							<li class="nav-previous"><?php next_posts_link( __( '&larr; '.'Older posts', 'mythemeshop' ) ); ?></li>
    							<li class="nav-next"><?php previous_posts_link( __( 'Newer posts'.' &rarr;', 'mythemeshop' ) ); ?></li>
    						</ul>
    					</div>
    				<?php } ?>
    				<!--End Pagination-->
    			</div>
    
    		</article>
    				<?php get_sidebar(); ?>
    <?php get_footer(); ?>

    I tried to incorporate both <?php echo do_shortcode(' [feelbox]');?> and <?php if ( function_exists('print_feelbox_widget') ) { print_feelbox_widget(); } ?>.

    Can you take a look at the index.php and give me some pointers?

    Thanks Ammando!

    Thread Starter lolhospital

    (@lolhospital)

    And also, how can I reduce the overall size of the displayed icons below a post. Thanks.

    Thread Starter lolhospital

    (@lolhospital)

    Wow Armando. Thanks for the quick response. I appreciate it.
    Sorry for the simple Newbie questions.
    I’m willing to give it a try. Which theme file do I add this code to?
    header.php? or Index.php?
    Let me know.
    Thanks.

    -L

Viewing 6 replies - 1 through 6 (of 6 total)