Wordpress-Thesis Theme Help

3 replies
  • WEB DESIGN
  • |
Hello
I have created a website but I have a problem. In my home page I have a div which display images and text. ( under the featured content slider)
I used "thesis open hooks" to create this div.
But I do not want to display for post page or another pages. Can you help me?

My website: www.fitdietplans.com
#theme #wordpressthesis
  • Profile picture of the author pbarnhart
    First - for testing and dev - run don't walk and get the free WordPress Openhook plugin:

    WordPress › Thesis OpenHook WordPress Plugins

    WordPress has several conditional functions that are very helpful in customizing thesis. Try

    PHP Code:
    if (is_front_page()) {  
      
    // existing code here

    Function Reference/is front page WordPress Codex
    {{ DiscussionBoard.errors[2384581].message }}
  • Profile picture of the author Abledragon
    You'd be better off adapting the teasers boxes to display the articles and images in that way, unless those articles are static.

    If they're static you could contain the code in the Feature Box, set the Feature Box to display on the Home page only and move it to the thesis_hook_after_post.

    There are two or three hooks that will place your Feature Box below the post (thesis_hook_post_box_bottom, thesis_hook_after_content, etc) so you may need to experiment with those hooks to get the placement you want.

    Cheers,

    Martin.
    Signature
    WealthyDragon - Earning My Living Online
    {{ DiscussionBoard.errors[2384620].message }}
  • Profile picture of the author alkantenik
    Thank you very much but I can not do it )
    Can you explain more? I want to do just 1 think. I do not want to display that div box for my other pages. Just home page.
    Thanks.
    Signature
    Wordpress Designer
    Skype: wordpress_alkan
    {{ DiscussionBoard.errors[2384682].message }}

Trending Topics