Support » Fixing WordPress » custom text box above a particular teaser

  • Hi there,

    Please look at the following code that generates a custom text box above teasers on my home page. However, I would like to display this text box only above a particular teaser not all of them. Could anybody help me with that?

    function custom_text_box() {
    global $thesis_design;
    	if (!is_home())
    <div style="width: 600px; font-family: arial; font-size: 16px; font-weight: bold; color: #2361a1; padding: 12px; border: 3px solid #ccc; margin-bottom: 20px;">
    Isn't this a nice custom function?

    many thanks


    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum’s parser.]

Viewing 1 replies (of 1 total)
  • I’m sorry but as you are using a commercial theme, you need to seek support from the theme’s vendors.

Viewing 1 replies (of 1 total)
  • The topic ‘custom text box above a particular teaser’ is closed to new replies.