Hi,
For - right after the page content.: this should be included into u functions.php
add_filter( 'the_content', 'my_the_content_filter', 20 );
/**
* Add some html to the end of page content
*
*/
function my_the_content_filter( $content ) {
if ( is_page() )
// Add image to the beginning of each page
$content = sprintf(
'%s <a href="#">Some html goes here</a>',
$content
);
// Returns the content.
return $content;
}
For - directly below the post title: you have to edit two files.
The first one if you chose in theme option paralax post, which will turn of the sidebar in single post.
Edit the file:
hotmag/partials/single-no-sidebar.php
bellow line 61
<div class="single-title">
<h1 class="s-title s-paralax-title"><?php echo esc_html( $title );?></h1>
</div>
Add what you want to show.
The same in this file for single post with sidebar:
hotmag/partials/single-with-sidebar.php, line 92
<div class="single-title">
<h1 class="s-title"><?php echo esc_html( $title );?></h1>
</div>
Best regards,
Shindiri Studio | http://www.shindiristudio.com/
|