WordPress.org

Ready to get started?Download WordPress

Forums

pages loading homepage div (1 post)

  1. emaarkhan
    Member
    Posted 1 year ago #

    hi,
    i have a front page which i set to static..i made this statement but seems like its not working.`<?php
    if(is_front_page()){
    echo "<div>";
    }else{
    echo "<div class=\"wrapper2\">";
    }
    ?>`
    it seems that the both div's on pages load.for live site have a look at this http://snipurl.com/252oa3d

    p.s - i gave it url on zerobin as site is private

Topic Closed

This topic has been closed to new replies.

About this Topic