TwentyTwelve child theme mobile menu not working

I have a pretty simple child theme of Twenty Twelve active, but the mobile menu does not expand when pressed. Here is header.php: <?php/** * The Header for our theme. * * Displays all of the <head> section and everything up till <div id=”main”> * * @package WordPress * @subpackage Twenty_Twelve * @since Twenty Twelve … Read more

Jetpack infinite scroll not working on Twenty Twelve [closed]

Closed. This question is off-topic. It is not currently accepting answers. Your question should be specific to WordPress. Generic PHP/JS/HTML/CSS questions might be better asked at Stack Overflow or another appropriate site of the Stack Exchange network. Third party plugins and themes are off topic. Closed 7 years ago. Improve this question I just updated … Read more

Plugin development without Theme adjustments?

I’m an ambitious wordpress beginner and learner – this is my first question at Stackexchange – in case I’m wrong here, I’m grateful for anyone pointing in a better direction. On my page http://www.project22.org I started off with a childtheme of Twenty Twelve, because I thought this theme is particularly well prepared for anything that … Read more

How to get a different mobile menu than desktop menu in the twentytwelve child theme

I would like to use a different menu for my mobile website than my desktop website. With different I mean the content not the layout. I just want to use the mobile menu of the twentytwelve theme. What I’ve done so far: In my child functions.php i’ve added the following code: register_nav_menus( array( ‘primary’ => … Read more

What is meant by __(‘page’,’twentytwelve’)

I’m using twentytwelve theme with 1.0 version. I saw many codes like following, ‘name’ = __(‘page’,’twentytwelve’); If I give, ‘name’ = ‘page’; It’s also working fine. Then why using __()? What is use of that? 1 1 Internationalization and localization (commonly abbreviated as i18n and l10n respectively) are terms used to describe the effort to … Read more

Remove Open Sans from Twenty Twelve theme

I´m creating a child theme for Twenty Twelve v1.0 and I want to remove the Open Sans font. Open Sans is added in Twenty Twelve´s functions.php: wp_enqueue_style( ‘twentytwelve-fonts’, add_query_arg( $query_args, “$protocol://fonts.googleapis.com/css” ), array(), null ); I´ve tried to deregister/dequeue the stylesheet in my childtheme´s functions.php (see examples below) but to no effect: function example_scripts_styles() { … Read more