Show div via url

Hello guys and girls :slight_smile:

I need a good way to say if url is index.php then show this and this content.

i have very little content on my site, so i don’t wanna make some fully dynamic stuff, just basic call stuff in via the url.

thanks for help :slight_smile:

you could do something like
[php]
if(basename($file) == ‘index’) {
// do something
} [/php]

Thanks :slight_smile:
i think i can get it to work now.

Sponsor our Newsletter | Privacy Policy | Terms of Service