Support » Plugin: Notices Ticker » Output direct in post or page

  • 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/

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