Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- add_action( 'jnews_single_post_before_content', 'add_disclaimer_text' ); /* add this line to add the disclaimer text before the post content */
- add_action( 'jnews_single_post_before_title', 'add_disclaimer_text' ); /* add this line to add the disclaimer text before the post title */
- add_action( 'jnews_single_post_after_content', 'add_disclaimer_text', 9 ); /* add this line to add the disclaimer text after the post content */
- function add_disclaimer_text() {
- echo '<p class="disclaimer-text"> Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>';
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement