addb1983
Forum Replies Created
-
Forum: Themes and Templates
In reply to: revcontent messing up pagethe Revcontent code is added below the
</main>
and above the
<?php if(vce_get_post_display(‘show_author_box’) &&
the <script data-cfasync=”false” type=”text/javascript”> is what I was told to add to correct any issues from Rocket Loader.
Forum: Themes and Templates
In reply to: revcontent messing up pagethis is my code on the style sheet.
<?php get_header(); ?>
<?php get_template_part(‘sections/cover-area’); ?>
<?php get_template_part( ‘sections/ads/below-header’ ); ?>
<?php if ( function_exists(‘yoast_breadcrumb’) ) : ?>
<?php yoast_breadcrumb(‘<div id=”mks-breadcrumbs” class=”container mks-bredcrumbs-container”><p id=”breadcrumbs”>’,'</p></div>’); ?>
<?php endif; ?><div id=”content” class=”container site-content”>
<?php global $vce_sidebar_opts; ?>
<?php if ( $vce_sidebar_opts[‘use_sidebar’] == ‘left’ ) { get_sidebar(); } ?><div id=”primary” class=”vce-main-content”>
<main id=”main” class=”main-box main-box-single”>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( ‘sections/content’, get_post_format()); ?>
<?php endwhile; ?>
<?php if(vce_get_post_display(‘show_prev_next’)) : ?>
<?php get_template_part(‘sections/prev-next’); ?>
<?php endif; ?></main>
<div id=”rcjsload_1d5e27″></div>
<script data-cfasync=”false” type=”text/javascript”>
(function() {
var referer=””;try{if(referer=document.referrer,”undefined”==typeof referer)throw”undefined”}catch(exception){referer=document.location.href,(“”==referer||”undefined”==typeof referer)&&(referer=document.URL)}referer=referer.substr(0,700);
var rcel = document.createElement(“script”);
rcel.id = ‘rc_’ + Math.floor(Math.random() * 1000);
rcel.type = ‘text/javascript’;
rcel.src = “https://trends.revcontent.com/serve.js.php?w=29608&t=”+rcel.id+”&c=”+(new Date()).getTime()+”&width=”+(window.outerWidth || document.documentElement.clientWidth)+”&referer=”+referer;
rcel.async = true;
var rcds = document.getElementById(“rcjsload_1d5e27”); rcds.appendChild(rcel);
})();
</script><?php if(vce_get_post_display(‘show_author_box’) && vce_get_option(‘author_box_position’) == ‘up’) : ?>
<?php get_template_part(‘sections/author-box’); ?>
<?php endif; ?><?php if(vce_get_post_display(‘show_related’)) : ?>
<?php get_template_part(‘sections/related-box’); ?>
<?php endif; ?><?php if(vce_get_post_display(‘show_author_box’) && vce_get_option(‘author_box_position’) == ‘down’) : ?>
<?php get_template_part(‘sections/author-box’); ?>
<?php endif; ?><?php comments_template(); ?>
</div>
<?php if ( $vce_sidebar_opts[‘use_sidebar’] == ‘right’ ) { get_sidebar(); } ?>
</div>
<?php get_footer(); ?>
Forum: Fixing WordPress
In reply to: Paginated posts show redirect loopthis is what my .htaccess shows was told by another member of Bluehost tech support that it looked like the issue was there
# BEGIN Far Future Expiration Plugin
ExpiresActive on
ExpiresDefault “access plus 720 hours”
# END Far Future Expiration Plugin
# Use PHP5.4 as default
AddHandler application/x-httpd-php54 .php# BEGIN WordPress
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]# END WordPress