Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14625 reviews 1734 hosting providers

Questions & Answers

Create constantly occurring static text in WordPress?

May 28, 2013 by SaraSX

I am using Twenty Twelve child theme, and I want to add a static text block above the posts content inside the page’s main column.  Is this possible? And if so how can it be achieved?

thanks in advanced

1 Answer

0 votes
May 28, 2013 by expert
Create a  custom Page Template (simply copy the template you are using for the posts and then edit it in your HTML text editor)
Try something like this in the index.php , or in the content. php

<div id=”Newtext”>This is your text.</div>
Then you can use the id to add in any CSS style you want. You can also add other HTML tags inside the div.