Results 1 to 3 of 3

Thread: Want to display content specific to single post pages

Hybrid View

  1. #1
    Join Date
    Jun 2009
    Location
    Australia
    Posts
    124

    Want to display content specific to single post pages

    Am I correct in assuming that I use the conditional tag is_single() to display content specific to single post pages in wordpress?

    I'm using the thesis theme and would like to display content after the post which is specific to blog post pages. I'm using the open hook plugin.

    What php code would I add to thesis hook after post?

    Thanks in advance for the help.

  2. Quote Originally Posted by dcristo View Post
    Am I correct in assuming that I use the conditional tag is_single() to display content specific to single post pages in wordpress?
    That's the way I read Conditional Tags.

    But the best thing is probably just to try it?
    Submit Your Webmaster Related Sites to the NB Directory
    I swear, by my life and my love of it, that I will never live for the sake of another man, nor ask another man to live for mine.

  3. #3
    Join Date
    Jun 2009
    Location
    Australia
    Posts
    124
    Yeah, I ended up playing around with it and got it to work. Here is the code for anyone wanting to know, using the open hook plugin.

    Code:
    <?php if (is_single() ) { ?>
    // HTML code here
    <?php } // if is_single()… ?>

Similar Threads

  1. Replies: 7
    Last Post: 28 November, 2011, 08:12 AM
  2. Replies: 0
    Last Post: 25 January, 2010, 03:19 AM
  3. Replies: 1
    Last Post: 26 November, 2009, 21:05 PM
  4. Sulumits Retsambew post content Need to review
    By sulumitsretsambewcontest in forum Site Reviews
    Replies: 1
    Last Post: 20 May, 2009, 10:55 AM
  5. Large pages content problem
    By almannai in forum Translation Script Support
    Replies: 1
    Last Post: 9 May, 2009, 02:25 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •