• 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

bbcode

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 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • November 15, 2013 at 3:58 am in reply to: Div before Footer Widget Area? #73114
    bbcode
    Member

    I have just addet a new div (dont need a widget area) in footer.php and put them in my chil theme, works great. thanks

    November 15, 2013 at 1:25 am in reply to: Div before Footer Widget Area? #73107
    bbcode
    Member

    I allready try this Tutorial but no hook position for "before the footer widget area" - looks like i need to make it manually without hooks but thanks for your help.

    November 14, 2013 at 8:36 pm in reply to: Div before Footer Widget Area? #73058
    bbcode
    Member

    The page is actually not online, i just build it on localhost right now.

    The widget area code is: add_theme_support( 'genesis-footer-widgets', 3 );
    Can i just use the hook system to get a new DIV above?

    genesis_before_footer just puts the new div under the footer widget area. (tested with simple hooks)

    November 13, 2013 at 2:48 am in reply to: change .entry just on custom taxonomy possible? #72662
    bbcode
    Member

    .post-94 .entry can't work because its just one entry, but i want to change the width of all entrys, just on taxonomy page. And the html code is the same on the single custom page site, this would break the entry on the singlepage too.

    I think i can't call the class .entry just for the taxonomy page. Looks like i need to change the loop for this taxonomy.

    ~ Update ~

    I found an easy solution. it works like a charm, but im not sure that i find the best way to do it. but.. lets show you my code to do this. maybee someone will have the same problem in the future.

    First you need to remove the genesis loop and add a normal WordPress Loop on your taxonomy-name.php file:

    <?php
    remove_action('genesis_loop','genesis_do_loop');
    add_action('genesis_loop','letsplays_loop');
     
    function letsplays_loop() {
    while(have_posts()) : the_post();
     
    the_post_thumbnail ( 'cover-small' );
     
    endwhile;
    }
    
    genesis();
    ?>

    Now you get your thumbnails. The size of the thumbnails "cover-small" comes from the function "add_image_size" in functions.php the standard way.

    to permalink the thumbnails to the post you want to you just need to put this code in your function.php:

    add_filter( 'post_thumbnail_html', 'my_post_image_html', 10, 3 );
    
    function my_post_image_html( $html, $post_id, $post_image_id ) {
    
      $html = '<a href="' . get_permalink( $post_id ) . '" title="' . esc_attr( get_the_title( $post_id ) ) . '">' . $html . '</a>';
      return $html;
    
    }

    Now all your thumbnails on your page are linked to the posts there come from.

    To style your custom taxonomy thumbnails just open your css and add

    .attachment-cover-small {
    	yourstyles: #fff;
    }

    Not styled yet, but soon.

    Hope this can help someone, and thanks for your help braddalton.

    November 12, 2013 at 10:27 pm in reply to: change .entry just on custom taxonomy possible? #72630
    bbcode
    Member

    Thanks for your fast response,

    the page is actually not online, i just build it on localhost right now.

    The source code is:

    <article class="post-94 letsplay type-letsplay status-publish entry" itemscope="itemscope" itemtype="http://schema.org/CreativeWork"><header class="entry-header"></header><div class="entry-content" itemprop="text"><a href="http://localhost/letsplay/splinter-cell-blacklist/" title="Splinter Cell: Blacklist"><img width="171" height="242" src="http://localhost/wp-content/uploads/2013/11/splinter_cell_blacklist_cover-171x242.jpg" class="alignleft post-image entry-image" alt="Splinter Cell Blacklist Cover" itemprop="image"></a></div></article>

    My custom post-type is "letsplay" and the taxonomy is "letsplays" - looks like im not good enough to find out how to combine these informations to change the ".entry" just on the taxonomy. :/

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

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 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