Welcome Guest, Not a member yet? Register   Sign In
Any integrated way in CodeIgniter how to check if I am on a homepage?
#1

[eluser]term25[/eluser]
I mean I am looking for CI equivalent of WP is_home() or is_front_page() function?

Is there something like that? I mean I would like to do something simple such as:

Code:
<?php if(is_home()) echo 'This is homepage'; ?>

Thanks in advance.


Messages In This Thread
Any integrated way in CodeIgniter how to check if I am on a homepage? - by El Forum - 05-15-2012, 11:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB