Title: Output direct in post or page
Last modified: August 21, 2016

---

# Output direct in post or page

 *  [jammy to go](https://wordpress.org/support/users/jammy-to-go/)
 * (@jammy-to-go)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/output-direct-in-post/)
 * I had to output the ticker inside a post but it had issues with its placement
   on the page, so I had to change the lines (which are close to the bottom).
 *     ```
       print("<div class='ticker-div'>");
       echo $ticker;
       print("</div>");
       ```
   
 * to
 *     ```
       $notice_output_is_here = "<div class='ticker-div'>";
       $notice_output_is_here .= $ticker;
       $notice_output_is_here .= "</div>";
       return $notice_output_is_here;
       ```
   
 * Also edited the css.
 *     ```
       .ticker-div {
       	padding-top: 4px;
       	margin-top: 11px;
       	width: 100%;
       	clear:both;
       	height: 30px;
       	display:block;
       	margin-bottom:20px;
       }
       ```
   
 * Hope it helps anyone, with the same issue.
 * [http://wordpress.org/plugins/notices/](http://wordpress.org/plugins/notices/)

The topic ‘Output direct in post or page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/notices.svg)
 * [Notices Ticker](https://wordpress.org/plugins/notices/)
 * [Support Threads](https://wordpress.org/support/plugin/notices/)
 * [Active Topics](https://wordpress.org/support/plugin/notices/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/notices/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/notices/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jammy to go](https://wordpress.org/support/users/jammy-to-go/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/output-direct-in-post/)
 * Status: not resolved