Hi
First I wanted to say that you have done a great theme I love it!
I use it for my photography work. I have a galerry on the Home page and wanted to had some text to improve SEO
I have tried to had
<?php if (is_home()) : ?>mytext<?php endif; ?>
but it's not working.
Usally I put it in the footer.php, I have also tried to put it in the index.php but nothing works...
Thanks in advance for help
Lawrence
Comments
is_home()
might not work is your front page is not blog. Give a try foris_front_page()
.With regards.
I have tried this
<?php if (is_front_page() ) { echo '<a>test' ;} ?>
but it isn't working... Can you help?
What I 'm trying is to get an include statci file something like this :
<?php if (is_home()) : ?><?php include 'referencement.inc'; ?><?php endif; ?>
How could I do it with "is_front_page()"
Thanks
Lawrence
It would be good to know where you are making your changes, to get better image of what could interfere.
With regards.
For exemple I tried to put it just above the tag.
But it's not working
Thanks
Lawrence
With regards.
Please find 2 screen copy attached
Please tell have you checked source of file is this things are appearing or only check visually layout, cause you know we have there tons of things positioned absolute, so there is huge chance you wont see such things just like that ;-)
If that is not the case, please share link to your site here or via private message.
With regards.
Here is the site link http://www.photographe-professionnel-evenementiel.fr/
Thanks for your time solving this!
Try such code: Hope this will help.
With regards.
Thanks a lot for your help!