• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Tomas Risberg

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password
  • Profile
  • Topics Started
  • Replies Created
  • Engagements
  • Favorites

Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • March 22, 2016 at 1:56 am in reply to: Why is this page aligned left on small screens? #182006
    Tomas Risberg
    Member

    I guess this is very basic for most of you, but I haven't got knowlede enough to solve this problem. Is there anyone here that can learn me how to analyze why my site isn't rendering at all in Genesis Mobile Responsive Design Testing:

    http://www.studiopress.com/responsive/

    silent.se

    March 20, 2016 at 4:23 pm in reply to: Why is this page aligned left on small screens? #181939
    Tomas Risberg
    Member

    Thanks for helping. I realize this problem with the particular page might be the top of an iceberg: It's not only that page that doesn't render in the Studio Press responsive test page. It's the whole site. I disabled the Autoptimize plug-in. It didn't solve the problem, but it made my site load faster! I understand I will have to check my JavaScripts.

    Regards,
    Tomas
    silent.se

    September 8, 2014 at 9:49 am in reply to: normalize.css – reason for not using latest version? #123392
    Tomas Risberg
    Member

    I have recieved the following answers from StudioPress/CopyBlogger Media:

    The latest version of normalize.css has not been tested with the Minimum Pro theme.

    They do not plan on moving normalize out of the main style.css as that would add another http request. Reducing HTTP requests improve front-end performance.

    August 23, 2014 at 2:56 pm in reply to: normalize.css – reason for not using latest version? #120655
    Tomas Risberg
    Member

    Ok. Thanks. I will try with Studiopress.

    August 17, 2014 at 9:11 am in reply to: Pagination without the word 'Pages:' – code for the child theme? #119361
    Tomas Risberg
    Member

    Brad, I'm sorry. I understand that the error must be mine. I know you are one of the most skilled Genesis experts.

    I can not find a way solve the problem. I tried to use the your code in the Minimum Pro, which should be true html5, but I can't make that work either.

    At this page:

    http://www.htpcbeginner.com/add-and-style-post-pagination-in-genesis-themes/

    they talk about replacing .pages with .entry-pagination.pagination for Genesis 2.0.2 (HTML5)

    Does that have something with my problem to do?

    August 17, 2014 at 3:47 am in reply to: Pagination without the word 'Pages:' – code for the child theme? #119332
    Tomas Risberg
    Member

    Update: I have been able to make the pagination visible again by exchanging 'genesis_entry_header' with 'genesis_after_content' in your suggested php code, but except of this Genesis/WP doesn't seem to use neither your provided code for the functions.php nor the code for the style.css file.

    August 16, 2014 at 3:28 pm in reply to: Pagination without the word 'Pages:' – code for the child theme? #119271
    Tomas Risberg
    Member

    Brad, thanks for taking your time, and excuse me: I have tried to add your php code to the functions.php and the css to style.css but now no pagination at all shows.

    I'm running the original Minimum theme, but it is html5 converted. Does it have anything to do with that?

    http://exp.silent.se/character

    July 27, 2014 at 1:18 pm in reply to: Decrease line width in the original Minimum theme? #116012
    Tomas Risberg
    Member

    The problem was solved by janet4now in the css combat forum @ css.tricks.com

    This was the solution:

    .entry-content p {
    max-width: 665px;
    margin: 0 auto 30px;
    }

    June 22, 2014 at 10:39 am in reply to: a visited overrides a hover #111080
    Tomas Risberg
    Member

    Thank you so much!!

    I had forgotten about the breadcrumbs code that I added to the theme but didn't use.

    March 30, 2014 at 10:38 pm in reply to: How to remove the original Minimum theme tagline area? #97563
    Tomas Risberg
    Member

    Thanks. I will look in to it.

    March 30, 2014 at 2:12 am in reply to: How to remove the original Minimum theme tagline area? #97391
    Tomas Risberg
    Member

    Thanks! This did the job.

    Now I wonder. I'm not sure yet, but If I would like to keep the tagline area only at the first page, can the code above be used only for that one?

    March 29, 2014 at 9:16 am in reply to: How to remove the original Minimum theme tagline area? #97269
    Tomas Risberg
    Member

    Thanks for taking your time. There is no front-page.php

    These are the files found in the editor:

    archive-portfolio.php
    functions.php
    home.php
    page-title.php
    page_landing.php
    single-portfolio.php
    style.css

    Here is the functions.php

    <?php
    /** Start the engine */
    require_once( get_template_directory() . '/lib/init.php' );

    /** Set Localization (do not remove) */
    load_child_theme_textdomain( 'minimum', apply_filters( 'child_theme_textdomain', get_stylesheet_directory() . '/languages', 'minimum' ) );

    /** Child theme (do not remove) */
    define( 'CHILD_THEME_NAME', __( 'Minimum Theme', 'minimum' ) );
    define( 'CHILD_THEME_URL', 'http://my.studiopress.com/themes/minimum' );

    /** Load Google fonts */
    add_action( 'wp_enqueue_scripts', 'minimum_load_google_fonts' );
    function minimum_load_google_fonts() {
    wp_enqueue_style(
    'google-fonts',
    'http://fonts.googleapis.com/css?family=Open+Sans:400,700',
    array(),
    PARENT_THEME_VERSION
    );
    }

    /** Sets Content Width */
    $content_width = apply_filters( 'content_width', 740, 740, 1140 );

    /** Add Viewport meta tag for mobile browsers */
    add_action( 'genesis_meta', 'minimum_add_viewport_meta_tag' );
    function minimum_add_viewport_meta_tag() {
    echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
    }

    /** Add new image sizes */
    add_image_size( 'header', 1600, 9999, TRUE );
    add_image_size( 'portfolio', 330, 230, TRUE );

    /** Add support for custom background */
    add_theme_support( 'custom-background' );

    /** Add support for custom header */
    add_theme_support( 'genesis-custom-header', array(
    'width' => 1140,
    'height' => 100
    ) );

    /** Remove Site Tag Line **/
    remove_action( 'genesis_site_description', 'genesis_seo_site_description' );

    /** Unregister layout settings */
    genesis_unregister_layout( 'content-sidebar-sidebar' );
    genesis_unregister_layout( 'sidebar-content-sidebar' );
    genesis_unregister_layout( 'sidebar-sidebar-content' );

    /** Unregister secondary sidebar */
    unregister_sidebar( 'sidebar-alt' );

    /** Add support for structural wraps */
    add_theme_support( 'genesis-structural-wraps', array(
    'header',
    'nav',
    'subnav',
    'inner',
    'footer-widgets',
    'footer'
    ) );

    /** Add the featured image section */
    add_action( 'genesis_after_header', 'minimum_featured_image' );
    function minimum_featured_image() {
    if ( is_home() ) {
    echo '<div id="featured-image"></div>';
    }
    elseif ( is_singular( array( 'post', 'page' ) ) && has_post_thumbnail() ){
    echo '<div id="featured-image">';
    echo get_the_post_thumbnail($thumbnail->ID, 'header');
    echo '</div>';
    }
    }

    /** Add the page title section */
    add_action( 'genesis_after_header', 'minimum_page_title' );
    function minimum_page_title() {
    require_once( get_stylesheet_directory() . '/page-title.php' );
    }

    /** Customize the post info function */
    add_filter( 'genesis_post_info', 'post_info_filter' );
    function post_info_filter( $post_info ) {
    if ( !is_page() ) {
    $post_info = __( 'Posted on', 'minimum' ) . ' [post_date] // [post_comments] [post_edit]';
    return $post_info;
    }}

    /** Customize the post meta function */
    add_filter( 'genesis_post_meta', 'post_meta_filter' );
    function post_meta_filter( $post_meta ) {
    if ( !is_page() ) {
    $post_meta = '[post_categories before="' . __( 'Filed Under: ', 'minimum' ) . '"] // [post_tags before="' . __( 'Tagged: ', 'minimum' ) . '"]';
    return $post_meta;
    }}

    /** Modify the size of the Gravatar in the author box */
    add_filter( 'genesis_author_box_gravatar_size', 'minimum_author_box_gravatar_size' );
    function minimum_author_box_gravatar_size( $size ) {
    return '96';
    }

    /** Add support for 3-column footer widgets */
    add_theme_support( 'genesis-footer-widgets', 3 );

    /** Add custom footer if widget area is used */
    add_action( 'genesis_footer', 'minimum_custom_footer', 6 );
    function minimum_custom_footer() {

    if ( is_active_sidebar( 'custom-footer' ) ) {

    remove_action( 'genesis_footer', 'genesis_do_footer' );
    echo '<div class="custom-footer">';
    dynamic_sidebar( 'custom-footer' );
    echo '</div><!-- end .custom-footer -->';

    }
    }

    /** Create portfolio custom post type */
    add_action( 'init', 'minimum_portfolio_post_type' );
    function minimum_portfolio_post_type() {
    register_post_type( 'portfolio',
    array(
    'labels' => array(
    'name' => __( 'Portfolio', 'minimum' ),
    'singular_name' => __( 'Portfolio', 'minimum' ),
    ),
    'exclude_from_search' => true,
    'has_archive' => true,
    'hierarchical' => true,
    'menu_icon' => get_stylesheet_directory_uri() . '/images/icons/portfolio.png',
    'public' => true,
    'rewrite' => array( 'slug' => 'portfolio' ),
    'supports' => array( 'title', 'editor', 'author', 'thumbnail', 'excerpt', 'trackbacks', 'custom-fields', 'comments', 'revisions', 'page-attributes', 'genesis-seo' ),
    )
    );
    }

    /** Change the number of portfolio items to be displayed (props Bill Erickson) */
    add_action( 'pre_get_posts', 'minimum_portfolio_items' );
    function minimum_portfolio_items( $query ) {

    if( $query->is_main_query() && !is_admin() && is_post_type_archive( 'portfolio' ) ) {
    $query->set( 'posts_per_page', '12' );
    }

    }

    /** Register widget areas */
    genesis_register_sidebar( array(
    'id' => 'home-featured-1',
    'name' => __( 'Home Featured #1', 'minimum' ),
    'description' => __( 'This is the home featured #1 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-featured-2',
    'name' => __( 'Home Featured #2', 'minimum' ),
    'description' => __( 'This is the home featured #2 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-featured-3',
    'name' => __( 'Home Featured #3', 'minimum' ),
    'description' => __( 'This is the home featured #3 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'home-featured-4',
    'name' => __( 'Home Featured #4', 'minimum' ),
    'description' => __( 'This is the home featured #4 section.', 'minimum' ),
    ) );
    genesis_register_sidebar( array(
    'id' => 'custom-footer',
    'name' => __( 'Custom Footer', 'minimum' ),
    'description' => __( 'This is the custom footer section.', 'minimum' ),
    ) );

    //* Load custom favicon
    add_filter( 'genesis_pre_load_favicon', 'custom_favicon_filter' );
    function custom_favicon_filter( $favicon_url ) {
    return 'http://silent.se/wp-content/images/favicon.ico';

    }

    I also must inform you that I do the modifications first in my experimental site:

    http://exp.silent.se

    March 29, 2014 at 8:55 am in reply to: How to remove the original Minimum theme tagline area? #97261
    Tomas Risberg
    Member

    Thanks, but no. That is the code for the Minimum Pro. They seem to differ regarding the tagline area.

    I can not even find the word tagline in the functions.php for the original "old" Minimum theme.

    March 29, 2014 at 7:25 am in reply to: Minimum or Minimum Pro? #97254
    Tomas Risberg
    Member

    Thanks!

  • Author
    Posts
Viewing 14 posts - 1 through 14 (of 14 total)

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2026 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble