Support » Themes and Templates » [Theme: Edin by automatic]

Viewing 5 replies - 1 through 5 (of 5 total)
  • I’m have the same problem in the child theme, Goran. I can’t seem to make the Site Logo work in Appearance > Customize > Site Title. Is it supposed to? When I uncheck “Display header text” I don’t get any other options. I’m using 4.0.

    Hi Folks,

    My first post here and I did some digging as you both touched on my issue as well. I’m using the Goran theme and found 3 areas that needed an update after searching on ways to load a “logo” so here’s my attempt.

    I found a github theme that loads the image here:
    https://github.com/taupecat/responsive-wordpress-theming/blob/master/chapter-08/manning/

    I borrowed the code from their methods and steps are below.

    First under theme customize I was receiving and error about line 21 on customizer.php.
    I changed:
    $wp_customize->get_setting( 'site_logo' )->transport = 'refresh';

    /* Adds textarea support to the theme customizer */`
    to:

    $wp_customize->get_setting( 'site_logo' );
    
    /**
       * Add the ability to upload a custom logo into the header.
       */
    
      $wp_customize->add_section( 'logo', array(
        'title'     => __( 'Logo', 'goran' ),
        'priority'  => 70,
      ) );
    
      $wp_customize->add_setting( 'site_logo', array(
        'default'     => '',      // The default is no logo at all.
        'type'        => 'option',
        'capability'  => 'edit_theme_options',
      ) );
    
      $wp_customize->add_control( new WP_Customize_Image_Control(
        $wp_customize,
        'logo_image',
        array(
          'label'     => __( 'Image', 'goran' ),
          'section'   => 'logo',
          'settings'  => 'site_logo',
        )
      ) );
    
    	/* Adds textarea support to the theme customizer */

    If you upload this section alone it should update your customize menu.

    Then I modified the header.php and added the code right above <div class=”site-branding”> as such:

    <?php if ( get_option( 'site_logo' ) ): ?>
          <img src="<?php echo esc_url( get_option( 'site_logo' ) ); ?>" alt="<?php bloginfo( 'name' ); ?> Logo" class="logo">
          <?php endif; ?>
    		<div class="site-branding">

    This was my first attempt and my logo was a bit large but I’m using the .logo class that the code provided to my styles.css to modify the size and position.

    I hope this helps. I would really like to see how its meant to work based on the Edin and Goran instructions.

    I just created a website with the Edin Theme on WordPress.com. (Basic) I didn’t see any plugins so I could better customize the share buttons. Also, I noticed that I can’t embed Scribd files. When I use the embed code, the only thing that shows up is the code, and not the embedded file. This is the case with other online apps as well. I can embed in the widgets, but I can’t put hyperlinks in them.

    I’m looking for a way to create 3 more featured pages for the “front page” template.

    If I want more than 3 icons on the front page, I need to opt for the “grid page” template, and this doesn’t allow me to overlay any text over the picture, stretching out the page longer.

    Any way to do this?

    Please start your own thread here:

    https://wordpress.org/support/theme/edin#postform

    This one isn’t actually in the Edin theme forum and it’s months out of date.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Theme: Edin by automatic]’ is closed to new replies.