Articles of theme twenty twelve

Logo is not being displayed in header (Twentytwelve)

So I have a image tag in the header.php of the WordPress theme Twentytwelve like this: <header id=”masthead” class=”site-header” role=”banner”> <hgroup> <img src=”image/logokovil.png” alt=”logo” height=”100″ width=”100″> <h1 class=”site-title”><a href=”<?php echo esc_url( home_url( ‘/’ ) ); ?>” title=”<?php echo esc_attr( get_bloginfo( ‘name’, ‘display’ ) ); ?>” rel=”home”><?php bloginfo( ‘name’ ); ?></a></h1> <h2 class=”site-description”><?php bloginfo( ‘description’ ); […]

Twenty Twelve Widget Taking Space

I am using the twenty twelve theme and in this theme I used the Main Sidebar for widgets. I used the code below to make the widgets disappear in my homepage ( front page ). The code works however, the widget area is still taking the space. How can I stretch my content to fill […]

With over a page of content the footer remains where the bottom of the screen was at top scroll

I’ve been building an artist website to promote my music and I’ve ran into an obstacle with my footer. What I want is very simple (or so it would seem). I’m trying to create a footer that sits under the content/body and is at the very bottom of the site. No white space on the […]

Add date before entry title in Twenty Twelve

How do I add the date before the entry title in Twenty Twelve with just functions.php? Right now I have to add and modify many files in the child theme such as content.php, content-aside.php, content-image.php, content-link.php, content-quote.php, content-status.php. Is there a way to do it with filters? I tried to put it in the_content but […]

magic “MENU” button under Twenty Twelve theme

I’m using Twenty Twelve with one of my sites on WordPress and someone told me that the site wasn’t appearing as it should. She told me that instead of the menu, she saw a “MENU” button, which if clicked, gives a long list of all the pages. After some investigating I found that if a […]

How does the Twenty Twelve Navigation Bar work?

I have been pouring through the code trying to find out how the navigation menu is actually built. In my header I see: < nav id=”site-navigation” class=”main-navigation” role=”navigation”> < h3 class=”menu-toggle”>Menu< /h3> < a class=”assistive-text” href=”” title=”Skip to content”>Skip to content< /a> < div class=”menu-main-menu-container”> < ul id=”menu-main-menu” class=”nav-menu”> < li id=”menu-item-22″ class=”menu-item menu-item-type-post_type menu-item-object-page […]

TwentyTwelve child theme style.css?ver=3.8.1

I’ve created a child theme of TwentyTwelve. On the front end, the <head> section contains the line: http://example.com/wp-content/themes/childtheme/style.css?ver=3.8.1 Any changes I make to childtheme/style.css are not reflected in http://example.com/wp-content/themes/childtheme/style.css?ver=3.8.1 I’ve performed a search in TwentyTwelve and childtheme, and can’t find any instance of enqueue_style which contains a version of 3.8.1, or any hard coding of […]

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’ => […]

TwentyTwelve, where is the excerpt box in add new?

When i try to add a new post, the is no excerpt box. Does anyone know a way to enable this?

I can't change the body background-color through style.css

Using a child of Twenty Twelve, I’ve been adding color to all the major containers (#main, #content, #secondary, etc.) using #arbitrary-id { background-color: #dedede; } This works for everything but body. I should be more clear: it changed the body background color until I messed with the background color in “Appearance -> Background”. Now no […]