OK, I need help. I have gone through the tutorial process and copied all the code, as directed, but I can not get the ads to display. I did see one ad display temporarily, in the sidebar, but it was not the size that should have been there. It was a 300×600 instead of the 300×250. Then while editing the code I could not get it to reappear and have not been able to get any of the ads to show up. We have four ad spots and sizes, Top Banner is 728×90, Right Hand (Sidebar) is 300×250, in the lower right we should have a 300×600 (I believe that’s in custom 1, and then an ad at the end of the story.
I have created a temporary user and password if you could possibly take a look and let me know what you see is going on at suindependent.com. Where can I securely share this login and password with you?
Okay that makes sense thank you. So, just making sure, there is no other way besides customizing our changes in the code to make those top 7+ stories of the week to actually come from the last 7 days of posting and not just randomly or from the entire site?
Thank you for the help. You said the theme has an option to display our top articles from the week in a random order. Where is this option on the back end? The order of the articles is not as important as getting the top articles from that week specifically, and not from past weeks.
Still no luck.
Here’s the error…
Parse error: syntax error, unexpected $end in /home2/independ/public_html/wp-content/themes/Newspaper/loop-single-7.php on line 43
And here are the blocks of text as they exist now…
<div class=”td-pb-span8 td-main-content <?php echo $td_sidebar_position; ?>-content” role=”main”>
<div class=”td-ss-main-content”>
<?php
locate_template(‘loop-single-7.php’, true);
?>
</div>
</div>
<div class=”td-pb-span4 td-main-sidebar” role=”complementary”>
<div class=”td-ss-main-sidebar”>
<?php get_sidebar(); ?>
</div>
</div>
<?php
break;
case ‘no_sidebar’:
?>
<div class=”td-pb-span12 td-main-content” role=”main”>
<div class=”td-ss-main-content”>
<?php
locate_template(‘loop-single-7.php’, true);
?>
</div>
<?php comments_template(“, true);?>
<?php echo $td_mod_single->get_social_sharing_bottom();?>
<?php echo $td_mod_single->get_next_prev_posts();?>
<?php echo $td_mod_single->get_author_box();?>
<?php echo $td_mod_single->get_item_scope_meta();?>
</footer>
I tried to insert the comment code into the block but it just got an error.
Again, it would seem that changing the order of these items would be something that everyone would want to do, so I’m curious if it’s something we should expect in an update. The problem clearly is that the comment should be the first thing after the end of the article text. As it is, everyone has to scroll all the way past all this other stuff to even be prompted to comment…I’m sure it’s one of the primary reasons we are getting so few comments.
Please help! Thanks!
Unfortunately attempting to fix it that way failed. The result was that the comment box actually showed up BEFORE the content text of the article.
I would think that sorting the order of those items would be something everyone would want control over and I’m actually a bit surprised it’s not part of the theme panel. Any chance it will be in an update?
And since that didn’t work do you have another proposed method? Thanks!
OK. I’ve never modified modules, where do I go to do that? Also, where should the custom CSS go and should I be using a daughter theme if I’m making changes like this? Thanks!