Support » Plugins and Hacks » How to determine the page if a front page?

  • Resolved flamey

    (@flamey)


    I want to write a plugin to insert something in my posts, but _only on the front/home page_.

    i was going to add filter like this:
    add_filter(‘the_content’, ‘my_function’);

    but i don’t know how to determine within my_function() weather the page is a home page or not.

    any help would be appreciated! tia

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to determine the page if a front page?’ is closed to new replies.