• 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

jourdain

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 9 posts - 21 through 29 (of 29 total)
← 1 2
  • Author
    Posts
  • May 6, 2014 at 2:12 pm in reply to: Magazine Pro – help with tweaks. #103891
    jourdain
    Member

    Amazing! I will try this later. Also do you have any thoughts on making the second navigation sticky and full width, 100% of the browser?

    Thanks again!

    Jourdain

    May 5, 2014 at 2:48 pm in reply to: Help with coding Magazine pro #103750
    jourdain
    Member

    AMAZING!!!

    Thanks for your help and patience buddy, it is working correctly now.

    Jourdain

    May 5, 2014 at 3:56 am in reply to: Help with coding Magazine pro #103683
    jourdain
    Member

    I added the code in like you said and it now looks like this

    if ( is_category( 'tutorials' ) && is_active_sidebar('new-widget') && is_paged( '') ) {

    The only problem is that it has had the reverse affect. I would like the widget to only appear on page 1 and not subsequent pages. However, at the moment it does not appear on page 1, but does appear on pages 2, 3, 4, 5 ...

    Is there a way to fix that?

    Link to tutorials page: http://creativefreaks.co.uk/category/tutorials

    May 4, 2014 at 5:02 pm in reply to: Help with coding Magazine pro #103629
    jourdain
    Member

    I am stumped with this one, sorry for being a total newb but I cant figure it out.

    her is the code.

    genesis_register_sidebar( array(
    	'id'          => 'new-widget',
    	'name'        => __( 'Featured Tutorials', 'domain' ),
    	'description' => __( 'Add Content Here', 'domain' ),
    ) );
     
    add_action( 'genesis_before_loop', 'your_widget' );
    
    function your_widget() {
    if ( is_category( 'tutorials' ) && is_active_sidebar('new-widget') ) {
    if ( is_paged() ) { 	}
     
    genesis_widget_area( 'new-widget', array(
    'before' => '<div class="home-top widget-area">',
    'after'	 => '</div>',
    		
    ) ); 
     
      }
     
    }

    What else needs to be added to the code so the widget is only displayed on the 1 page of the archive.

    Thanks in advance.

    May 4, 2014 at 7:31 am in reply to: Help with coding Magazine pro #103576
    jourdain
    Member

    I am having trouble adding a conditional tag after the function.

    I have tried adding the is_paged code in many ways using tutorials and WordPress codex you linked but each time I break break my site. So I am defiantly doing something wrong.

    This is what the code currently looks like for your reference.

    genesis_register_sidebar( array(
    	'id'          => 'new-widget',
    	'name'        => __( 'Featured Tutorials', 'domain' ),
    	'description' => __( 'Add Content Here', 'domain' ),
    ) );
     
    add_action( 'genesis_before_loop', 'your_widget' );
    
    function your_widget() {
    if ( is_category( 'tutorials' ) && is_active_sidebar('new-widget') ) {
    
    genesis_widget_area( 'new-widget', array(
    'before' => '<div class="home-top widget-area">',
    'after'	 => '</div>',
    		
    ) ); 
     
      }
     

    Link: http://creativefreaks.co.uk/category/tutorials

    Secondly, the widget title styling did not transfer over. I was wondering if I need to add something to the code for that to be pulled? I can change it with css but I am just curious.

    Jourdain

    May 3, 2014 at 12:10 pm in reply to: Help with coding Magazine pro #103476
    jourdain
    Member

    Again thanks for your help, I have one other question about the formatting.

    I would like to style the widget in the same way the home page is styled with the sidebar in line with the featured post widget. Is there anything I need to consider in order to achieve this?

    Jourdain

    May 3, 2014 at 4:14 am in reply to: Help with coding Magazine pro #103428
    jourdain
    Member

    I have worked out question number 2.

    I have used ( is_category( 'tutorials' ) in order to display on a single category page. Then I will just hook a new widget in for each category page. Does this sound ok?

    Jourdain

    May 3, 2014 at 3:11 am in reply to: Help with coding Magazine pro #103425
    jourdain
    Member

    I can't believe I missed that header option in the settings! Thanks for that.

    I have hooked a new widget are into the archive page ( http://creativefreaks.co.uk/category/inspiration ) but I have a few questions before I proceed.

    1. Does the widget need to styled or should it take on the themes styling? I just want to make sure I have not made a mistake.

    2. I was hoping to have a different featured post for each archive category, is this possible?

    3. Can the widget be removed when the user clicks through to page 2 of the archive?

    If you could point me the write direction and I will learn/teach myself.

    Thanks again

    Jourdain

    April 30, 2014 at 3:56 pm in reply to: Barn Sale Business built on Blissful theme #103125
    jourdain
    Member

    I would personally add a border to the right hand side of the main navigation items. This would solve the cluttered navigation problem. See CSS below

    #subnav li a {
    border-right: 1px solid #c2c2c2;
    }

    In addition I would reduce the amount of content on the home page to give a less cluttered feel.

    Enjoy

  • Author
    Posts
Viewing 9 posts - 21 through 29 (of 29 total)
← 1 2
« Previous Page

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