How to change featured content to a different tag in WordPress Twenty Fourteen?

In twenty fourteen theme, we’d like to know how to change the features content tag. Currently it’s set as featured. Now, we would like to know how to code this for different page templates. We notice in page.php there is a piece of code calling the template part featured-content. <?php if ( is_front_page() && twentyfourteen_has_featured_posts() … Read more

Extending content width with twentyfourteen theme

I’m using the twentyfourteen theme and have successfully removed the content (right) sidebar. However, I now want to stretch my content to cover the space left by removing that sidebar. I have added the following to my style.css: .site-content .entry-header, .site-content .entry-content, .site-content .entry-summary, .site-content .entry-meta, .page-content { width: 100%; } This increases the width … Read more

How do I change number of columns in a proper way in twentyfourteen child theme?

I’m trying to deactive and reactive a javascript in my childtheme – from the twentyfourteen theme (so updates won’t effect things). What I really want to do is to change column width from 4 to 3 in the footer but I don’t want to change /js/functions.js directly in the main theme (maybe there is another/better … Read more

How do I add a custom post type to the Featured Content in twenty fourteen theme?

This wpmudev post sums up my feeling exactly about twenty fourteen: Featured Content does not support custom post types – only posts are selected even if the custom post type supports the Tags taxonomy I’ve added two CPT that share a custom taxonomy. I’ve tried tagging them without any luck, looked at inc/featured-content.php,js/slider.js and functions.php. … Read more

How to change default header image dimensions in twentyfourteen child theme?

I’m creating a child theme based on twentyfourteen and wish to change the custom header image dimensions. The custom header page states: Images should be at least 1260 pixels wide. Suggested width is 1260 pixels. Suggested height is 240 pixels. This appears to come from defaults set in /inc/custom-header.php: function twentyfourteen_custom_header_setup() { add_theme_support( ‘custom-header’, apply_filters( … Read more

How to set twenty fourteen header image at 100% width?

if function wpse_custom_header_setup() { add_theme_support( ‘custom-header’, apply_filters( ‘wpse_header_args’, array( ‘width’ => 1460, ‘height’ => 220, ) ) ); } add_action( ‘after_setup_theme’, ‘wpse_custom_header_setup’ ); can help define the width of the header in px, how I can set up a header image at 100% to get something similar like http://braidingfreedom.com/? 2 Answers 2 The header image … Read more

Twenty Fourteen theme and the page-templates folder

I have to confess I’m struggling to see how the WordPress Twenty Fourteen theme picks up templates put in the theme’s page-templates folder. Previously I’d create new templates named page-<slug>.php in the theme’s root folder, but not now. I’ve searched the code for mentions of page-templates and not found any where files are included; searched … Read more

Is “Featured Content” in Twenty Fourteen done with a plugin, or is it native in WP4.0?

I found that Twenty Fourteen offers users to have Featured Content on there websites. That’s great, because I had written my own little script for such an occasion. But if the functionality is already there in WP, I might as well use that. However: When looking into Twenty Fourteen’s functions.php to investigate how it works, … Read more