Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #1278859

    Hi, Enfolds

    I have used somewhere, div class in file >> (/framework/php/class-breadcrumb.php) and i want to display that class everywhere except homepage of a website.

    this div class is used in class-breadcrumb.php and i want to display that div class everywhere but not on homepage.

    my div class inside class-breadcrumb.php is >>

    $breadcrumb .= '</div></div> <div class="ad" style="text-align: center;"><!-- CopyBloggerThemes_S2S_Leaderboard_ROS_Pos2 --><div id="bsa-zone_1611333824377"></div></div>';

    Now, the entire div class=”ad” should be displayed everywhere but it should be removed on homepage.

    Note: i don’t want to do it using css, as it will only hide it, i want to do it using php, either you can give me some code to add in function.php file to delete that specific div class on homepage. or modify my above code directly in the same file,

    so how do i remove the div on homepage and display it everywhere,


    Hi Hafeez Ullah,

    I believe this is already answered on this thread: https://kriesi.at/support/topic/adsense-code-after-breadcrumbs-navigation/

    Best regards,

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.