• 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

John

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 20 posts - 201 through 220 (of 254 total)
← 1 2 3 … 10 11 12 13 →
  • Author
    Posts
  • December 13, 2012 at 9:43 am in reply to: Full width widget on the home page #4975
    John
    Participant

    Posh John,

    The way to paste code here that works for me is to switch to the HTML tab, paste in your code, make sure there are no empty lines, select the code, click the "code" button in the toolbar, and you're good to go. That should add an opening and closing "code" tag on either end of your code, which you can see in the HTML editor but not in the Visual editor.

    I've found that I can switch back and forth from Visual to HTML and the code stays like it should.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 13, 2012 at 9:35 am in reply to: Aligning Widgets #4972
    John
    Participant

    I would take a look at the code you used to add the new widget area, and that may be in both functions.php and home.php. You can paste the code here and I'll look it over for you. (Alternatively you can email those two files to me at john @ blackhillswebworks dot com, which might be easier than pasting the code here in the forum.)


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 12, 2012 at 9:53 am in reply to: Agentpress Featured Posts Alignment #4727
    John
    Participant

    Give this a shot (by adding it to your style.css)

    .featured-bottom .featuredpost .post {
    float: left;
    padding: 0 10px 10px;
    width: 46%;

    You'll probably want to tweak the padding and width to get it looking just right.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 12, 2012 at 9:44 am in reply to: Display slide show in a page article #4717
    John
    Participant

    einstein,

    Are you wanting an image slider like what is on many home pages these days? Or a way to present a gallery of images as a slideshow? Maybe if you posted a link to an example of what you're looking to do...

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 12, 2012 at 9:41 am in reply to: Agentpress Featured Posts Alignment #4714
    John
    Participant

    Posting the URL of your site would help us help you.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 12, 2012 at 9:39 am in reply to: Aligning Widgets #4713
    John
    Participant

    Hold off on that 100% width...

    I just checked the Adorable demo theme and she has the #sidebar DIV below the #content DIV. Your site has the #sidebar DIV inside the #content DIV.

    Perhaps that got moved when you added the widget area? You may want to change that back to the original structure rather than changing the CSS which I mentioned in my previous post.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 12, 2012 at 9:32 am in reply to: Aligning Widgets #4710
    John
    Participant

    You're welcome!

    RE the sidebar:

    .content-sidebar #content, .sidebar-content #content {width: 100%;}


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 12:38 pm in reply to: Featured Section in the Education Theme #4541
    John
    Participant

    Hey Erik,

    Add this to your style.css:

    #home-featured .featured .widget {width: 33%;}

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 12:15 pm in reply to: Aligning Widgets #4538
    John
    Participant

    Kendra,

    You've got two DIVs with the same ID of "featured-top", one inside the other - you should only have one ID per page. If you change that inner DIV to a different ID, or better yet make it a class, I think you'll find your answer.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 12:08 pm in reply to: Sorting Category Posts Alphabetically #4536
    John
    Participant

    Oh, and these two Codex articles on categories should be helpful:

    Alphabetizing Posts

    Category Templates


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 12:03 pm in reply to: Sorting Category Posts Alphabetically #4535
    John
    Participant

    Kent,

    I would try this:

    Make a copy of page.php from your Genesis directory, and rename it category.php

    In that file, above the ending genesis(); function, add this code:

    if is_category( 'players' ) {
    // Customize the Loop
    remove_action( 'genesis_loop', 'genesis_do_loop' );
    add_action( 'genesis_loop', 'players_category_order_custom_loop' );
    function players_category_order_custom_loop() {
    global $paged;
    $args = array( 'order' => 'ASC','orderby' => 'name','paged' => $paged );
    // Accepts WP_Query args (http://codex.wordpress.org/Class_Reference/WP_Query)
    genesis_custom_loop( $args );
    } // EndΒ players_category_order_custom_loop
    } // End is_category( 'players' )

    You could clean that up with some line breaks and indenting, but the code editor here won't let us do that.

    You may also want to flush your permalinks: go to Settings > Permalinks and click "Save Changes"

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 11:29 am in reply to: Sorting Category Posts Alphabetically #4528
    John
    Participant

    in_category lets you check if a post or posts are in a specific category, then you can do stuff with those posts.

    is_category checks if a specific category (or categories) archive is being displayed, then lets you do stuff with those categories.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 11:12 am in reply to: WP or Genesis problem: Disappearing posts… #4525
    John
    Participant

    Shoot me an email at [email protected] if you want me to take a closer look.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 10:57 am in reply to: WP or Genesis problem: Disappearing posts… #4518
    John
    Participant

    katmmad,

    You've got some serious script issues on that website. If you check it in Google Chrome with Tools > JavaScript console enabled you'll see a list of warnings and errors.

    I checked the first post you linked to in this thread using Firefox, disabled all JavaScript using the Web Developer Toolbar, refreshed the page and your post appeared like it should. I did this in Chrome as well and used the Tools to disable JavaScript and the post appeared.

    I'd take a close look at the advertising scripts you're using.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 10:24 am in reply to: Sorting Category Posts Alphabetically #4509
    John
    Participant

    It looks like if you're using an array you need to NOT put the single-quote around the ID. Check out the example from the Codex:

    is_category( array( 9, 'blue-cheese', 'Stinky Cheeses' ) );
    // Returns true when the category of posts being displayed is either term_ID 9, or slug "blue-cheese", or name "Stinky Cheeses".


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 9:07 am in reply to: Sorting Category Posts Alphabetically #4495
    John
    Participant

    Hi Kent,

    When in doubt, I nearly always go to the WordPress Codex and search for the function or whatever it is I have a question on. I think you'll find your answer on this Codex page in the examples:Β http://codex.wordpress.org/Function_Reference/is_category

    And for inserting code here in the forums, after I type or paste it in I switch over to the HTML tab, select the code, and click on the "code" button in the toolbar. Your code needs to be single-spaced for it to work, but I've found that I can switch back and forth from Visual to HTML and the code styling stays there. Here's an example (from that Codex page):

    is_category( '9' );
    // When the archive page for Category 9 is being displayed.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 11, 2012 at 8:31 am in reply to: Advanced custom post types #4486
    John
    Participant

    Excellent - harness those powers!


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 10, 2012 at 9:03 pm in reply to: Older Posts on Home Page #4368
    John
    Participant

    Go with Nick's option - better to remove it than hide it.


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 10, 2012 at 9:01 pm in reply to: Older Posts on Home Page #4366
    John
    Participant

    The simplest way to remove that page navigation would be to add this code at the bottom of your style.css file:

    #content .navigation {
    display: none;
    }

     


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

    December 10, 2012 at 8:56 pm in reply to: Image Re-sized in IE8 #4361
    John
    Participant

    A link to the site would help us help you...


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google πŸ˜‰

  • Author
    Posts
Viewing 20 posts - 201 through 220 (of 254 total)
← 1 2 3 … 10 11 12 13 →
« Previous Page

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