Hi, I would like to enter a code only homepage in the footer, how can I do? I tried to put this <?php if ( is_front_page() ){ ?> //code <?php } ?> in the footer, but it does not work
It depends what you have as your front-page, cause when using albums-list or single album, WordPress query have to be changed so is_front_page might not work anymore. In this case it would be better to check for certain post ID I believe. If this still don't help then please show me link to your site.
Comments
It depends what you have as your front-page, cause when using albums-list or single album, WordPress query have to be changed so is_front_page might not work anymore. In this case it would be better to check for certain post ID I believe.
If this still don't help then please show me link to your site.
With kind regards.
With kind regrads.