Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* Add Custom Content after Article */
- function content_after_article() {
- echo '<h1 style="color: red;">Hello, Im a Custom Content After The Article </h1>';
- /* Example work with shortcode */
- echo do_shortcode( '[jnews_element_newsticker newsticker_title="NEWSFLASH" date_format="ago" autoplay_delay="3000" newsticker_animation="vertical" number_post="5" post_offset="0" sort_by="latest" enable_autoplay="true"]' );
- }
- add_action( 'jnews_single_post_after_content', 'content_after_article' );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement