John

Forum Replies Created

Viewing 15 posts - 196 through 210 (of 249 total)
  • Author
    Posts
  • in reply to: Full width widget on the home page #4975

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Aligning Widgets #4972

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Agentpress Featured Posts Alignment #4727

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Display slide show in a page article #4717

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Agentpress Featured Posts Alignment #4714

    John
    Participant
    Post count: 153

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


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: Aligning Widgets #4713

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Aligning Widgets #4710

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Featured Section in the Education Theme #4541

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Aligning Widgets #4538

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Sorting Category Posts Alphabetically #4536

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Sorting Category Posts Alphabetically #4535

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Sorting Category Posts Alphabetically #4528

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: WP or Genesis problem: Disappearing posts… #4525

    John
    Participant
    Post count: 153

    Shoot me an email at john@blackhillswebworks.com if you want me to take a closer look.

    John


    John Sundberg | blackhillswebworks.com
    A WordPress developer’s toolbox: Firebug | WordPress Codex | Google ;)

    in reply to: WP or Genesis problem: Disappearing posts… #4518

    John
    Participant
    Post count: 153

    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 ;)

    in reply to: Sorting Category Posts Alphabetically #4509

    John
    Participant
    Post count: 153

    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 ;)

Viewing 15 posts - 196 through 210 (of 249 total)