Mobile Menu not working on TwentyThirteen child theme

This is code from the codex which enables your child inheritance. add_action( ‘wp_enqueue_scripts’, ‘theme_enqueue_styles’ ); function theme_enqueue_styles() { wp_enqueue_style( ‘parent-style’, get_template_directory_uri() . ‘/style.css’ ); wp_enqueue_style( ‘child-style’, get_stylesheet_directory_uri() . ‘/style.css’, array(‘parent-style’) ); } https://codex.wordpress.org/Child_Themes

Restoring WordPress Header Image

THe theme’s Customizations area should allow you to specify the header image (and even the background image). Although this is not the place to get support for a theme (or plugin), look in Customizations first (in Admin area, under Themes) to specify your header image. It may be that the actual image file was deleted. … Read more

Change custom featured image size in twentythirteen child theme

The function that handles thumbnail size is already hooked with after_setup_theme in \twentythirteen\functions.php. There is no use adding a if (!function_exists()) in child functions.php because the child functions.php is always loaded before. So this would be more logical to find this in the parent file. The answer would be to set a different prority to … Read more

Enable post excerpts in wordpress theme twentythirteen

In TwentyThirteen, there are many files, their names’re started with content: content.php content-none.php content-aside.php content-audio.php content-chat.php content-gallery.php content-image.php content-link.php content-quote.php content-status.php content-video.php Among them, except the first two, all the others are for different post types, and you can understand their usages from their names. The 2nd one, content-none.php is used to display apology texts, … Read more

Custom entry_date function

You should be using get_the_date, rather than the_time (which will just echo the value). And always quote string arguments. $date = sprintf( ‘<span class=”date”><a href=”https://wordpress.stackexchange.com/questions/132268/%s” title=”https://wordpress.stackexchange.com/questions/132268/%s” rel=”bookmark”><time class=”entry-date” datetime=”https://wordpress.stackexchange.com/questions/132268/%s”><span class=”date–day”>%s</span><span class=”date–month”>%s</span><span class=”date–year”>%s</span></time></a></span>’, esc_url( get_permalink() ), esc_attr( sprintf( __( ‘Permalink to %s’, ‘lyod’ ), the_title_attribute( ‘echo=0’ ) ) ), esc_attr( get_the_date( ‘c’ ) ), esc_attr( get_the_date( … Read more

Theme twentythirteen widget area clearfix

There are many approaches to this. This is because the position: absolute on the sidebar-container is making it overlap over the footer. Try this CSS to override. This is a static solution: body.single .hentry // Selects the single posts { min-height: 2000px; // Set this according to the height of the sidebar } This one … Read more

Add logo in navigation bar before menu items in twenty thirteen?

Tested on a Twenty Thirteen & Twenty Twelve child theme. Try this from your child themes functions.php file. You can add the image using various methods. add_filter( ‘wp_nav_menu_items’, ‘wpsites_add_logo_nav_menu’, 10, 2 ); function wpsites_add_logo_nav_menu( $menu, stdClass $args ){ if ( ‘primary’ != $args->theme_location ) return $menu; $menu .= ‘<nav class=”nav-image”><img src=”‘ . get_stylesheet_directory_uri() . ‘/images/header.png” … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)