How to get the true permalink of the static home page?

Edit: Wow. I mistyped a bunch the first time around. Hopefully nobody read that. All corrected now. /edit I went code spelunking… 🙂 Short version, the workaround would be this: <?php $front_page_id = get_option( ‘page_on_front’ ); $my_permalink = _get_page_link( $front_page_id ); ?> If you look into link-template.php in the WordPress core, you can kind of …

Read more

Inconsistent translation on a WP site

When every message is hard coded in the theme files there can be no problem with gettext anymore. So, yes, depending on the theme WordPress can use different templates for home and other pages. But no, this has nothing to do with automatic translations. You have simply forgot to translate some strings, possibly in front-page.php …

Read more