Archive widget numbers translation?

For archives you can use the get_archives_link filter like this: add_filter(‘get_archives_link’, ‘translate_archive_month’); function translate_archive_month($list) { $patterns = array( ‘/January/’, ‘/February/’, ‘/March/’, ‘/April/’, ‘/May/’, ‘/June/’, ‘/July/’, ‘/August/’, ‘/September/’, ‘/October/’, ‘/November/’, ‘/December/’ ); $replacements = array( //Put here whatever you want ’01’, ’02’, ’03’, ’04’, ’05’, ’06’, ’07’, ’08’, ’09’, ’10’, ’11’, ’12’ ); $list = preg_replace($patterns, … Read more

Custom image sizes are not used

The function.php: if ( function_exists( ‘add_theme_support’ ) ) { add_theme_support( ‘post-thumbnails’ ); set_post_thumbnail_size( 150, 150 ); // default Post Thumbnail dimensions } if ( function_exists( ‘add_image_size’ ) ) { add_image_size(‘homepage’, 704, 396, true); add_image_size(‘articles’, 1174, 660, true); add_image_size(‘in-post’, 568, 320, true); add_image_size(‘featured-post’, 1280, 683, true); } To make it appear in .php-file: <?php if ( … Read more

I need to create a page or post hierarchy

If all you need is to show the hierarchy in the menu, choose Appearance->Menus and build your hierarchy there by using Custom Links. Use # for levels that don’t need to have a page, but use a URL when you get to the bottom level (a page that has content). You can then arrange them … Read more