Hello,
I added the code to the loop-single.php file and it appears to be working but only on the posts that use the video format but not on standard posts. Which template file is used for standard posts?
Thanks!
Victoria
Thank you very much!
Thanks for the replies. Which template is the Standard blog post and video blog posts?
Here are the instructions I was given from the client. Maybe this will help you direct me better.
Search your theme directory for a single‐post.php template file. This file is used to render a single post. Open the code file and place the nmWidgetContainerArticle class on the root div element of your article content, above the_content() method. This will wrap your article and tell the widget to start searching for ad placements; it serves as an anchor.
Example:
<div class=”post-entry nmWidgetContainerArticle”>
<?php the_content(); ?>
</div>
Can’t find the_content() method in your code file?
This is more than likely because you are loading an external template. You can verify that you are loading
an external template file if there is a line of code similar to the following:
<?php get_template_part( ‘content-single’, get_post_format() ); ?>
Look for a file called content‐single‐{post‐format}.php where {post‐format} is the format you are using on
your posts. In most instances, the file should be called content‐single‐standard.php , meaning standard
post. Next, follow Step 1 to insert the class.
Step 2 – Insert Code
Place the code supplied to you at the bottom of the nmWidgetContainerArticle div element.
Example:
<div class=”post-entry nmWidgetContainerArticle”>
<?php the_content(); ?>
</div>
<div id=”NmWg3276″ ></div>
<script type=”text/javascript” src
=’https://cdn.nmcdn.us/js/connectiaV1.js’></script>
<script type=”text/javascript”> NM.init({WidgetID:
3276,ArticleSelector: ‘.nmWidgetContainerArticle’})</script>
I am not sure where
Ideally, I would love the logo to be below the menu/search bar and on the left side.
Thank you so much!! The missing thing for me was putting the entire date AND time string in the date section. Have a great weekend!!
Yes, the settings are set accordingly but the time is not showing up. How do I make the time show on the posts?
Okay, I have figured out what is going on. When reduced down to phone size, the black bar that contains the menu and search icons is behind the logo and pushing it to the right. Can this be changed?
Thanks. I have updated the theme to the newest version and no custom code has been added. My client wants the time stamp for each post to be displayed. How can this be done? Or does your theme not support it? I need to know so my client will have a definitive answer.
Thanks!
Victoria
Switching the menu color to white changes nothing. The logo is still on the right of the header on the phone and there is not navigation. Help please.
I am using the same code on the featured stories area that I am using in the latest stories area but the times are different. Why is this? Makes no sense whatsoever.
Forgot to post url: http://conservativevoiceofthepeople.com/