• 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

Gary Jones

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 - 461 through 480 (of 493 total)
← 1 2 3 … 23 24 25 →
  • Author
    Posts
  • March 4, 2013 at 5:11 pm in reply to: Primary navigation extra's #24163
    Gary Jones
    Member

    Here's how you add a nav extra of a date - you can amend the date stuff with whatever the code is for google custom search engine:
    add_filter( 'wp_nav_menu_items', 'gmj_add_date_menu_item', 10, 2 );
    /**
    * Add date menu item to end of existing menu items.
    *
    * @author Gary Jones
    *
    * @param string $items Menu items already converted to a string of markup.
    * @args stdClass $args Menu arguments.
    *
    * @return string Amended markup.
    */
    function gmj_add_date_menu_item( $items, stdClass $args ) {
    // Limit to a certain menu location
    if ( 'primary' != $args->theme_location ) {
    return $items;
    }
    // Straight concatenation here. Could prepend, or do a regex replace to
    // insert the menu item elsewhere
    $items .= '' . date_i18n( get_option( 'date_format' ) ) . '';

    return $items;
    }


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 4, 2013 at 5:08 pm in reply to: Next PAGE (not post) #24159
    Gary Jones
    Member

    Have you tried just entering:

    <!--nextpage-->

    in your Page content where you want the next page to start? It works for Posts - never tried it for Pages.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 4, 2013 at 5:03 pm in reply to: Change NAV color #24156
    Gary Jones
    Member

    That purple is being applied via theย #5C2E91 value around line 261 of your style.css file. You'll need to amend this CSS.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 4, 2013 at 5:00 pm in reply to: Would love feedback on my first Genesis site after being a Thesis girl! #24153
    Gary Jones
    Member

    For favicons, you'll need to use FTP and upload a favicon.ico file to your theme's images file.

    Interesting little layout ๐Ÿ™‚

    Suggest using the official Twitter logo, as per their branding guidelines, and I think the G you have is more for Google, than Google+.

     

    Beyond that, welcome to the Genesis community!


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 3, 2013 at 8:43 pm in reply to: Genesis UK #23983
    Gary Jones
    Member

    For those watching the thread, I answered Jo off-board regarding the set-up. We've gone for BuddyPress member profiles, with a plugin or two to customise it. If any of you have lots of experience with using BP, please make yourselves known ๐Ÿ™‚

     

    tomos - I like that idea - a checkbox field or two for "Has been to a WordCamp", "Has presented at a WordCamp" or something similar. Not sure that end clients looking for a Genesis designer or developer will all care about that though, so may be better for members to include that in their bio, if they wish.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 3, 2013 at 6:30 pm in reply to: Please Reinstate the Old Forum #23961
    Gary Jones
    Member

    I don't think the irony is lost, that the OP may never have found previous threads raised about the issue of not being able to search out previous threads about an issue...


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 1, 2013 at 4:59 am in reply to: Genesis UK #23470
    Gary Jones
    Member

    Great to see folks showing their support, and willing to make a financial contribution too, which I wasn't expecting.

    Jo has agreed to lead the development of the project, so until the site is up and running, we'll keep this thread as the source of information. If you are on Twitter and Jo hasn't added you to her https://twitter.com/CalliaWeb/genesiswpuk/members list, please give her a nudge ๐Ÿ˜‰

    What information should be available on a profile?

    My initial suggestion: Name, company name, website URL, Twitter link, skills taxonomy (designer, developer, etc.), general blurb, some sort of note about whether they work with end clients / other web professionals / both.

    Any other points of information that the listing should have, for which the majority of folks would want to fill-in for their profile?


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    March 1, 2013 at 4:41 am in reply to: Change Gravatar Size #23466
    Gary Jones
    Member

    While you and Otto will find the code more than self-explanatory, there are some lower-level users who won't immediately understand what's going on with the snippet. There's a couple of implicit assumptions that non-coders may not get from your first snippet:

    * The value passed in is an array, one which contains values for lots of comment-related stuff.
    * Avatars are square - by size, it means the length of a side, in pixels.

    In addition - your first extra comment says it's for gravatars, and that may not be true. I didn't see your second comment initially, as it's tucked away with the code (in this non-syntax-highlighted environment).

    In six months time, when someone is looking at their code, wondering if they can use it on another project, or trying to remember what it does, then having a points of reference of who initially wrote it, and where they might have copied it from is going to be useful to them.

    Those developers who already fully document their code and perhaps use documentation generating applications appreciate being able to copy and paste an already-fully-documented snippet.

    It's really not about the number of lines of documentation versus the number of lines of code - it's about providing as many explanatory notes as possible for future you (or here, the rest of the Genesis community) about what the code does. Those who don't need the full documentation can either delete it, or leave it in, with no ill-effect.

    We each have our own styles for private coding of course, but when you're starting a new thread for the express purpose of sharing a useful bit of code, it makes sense to make that snippet use WP code standards and be as fully documented as possible, for the hundreds or thousands of people who will see or use it in their own projects, thereby saving them work, helping future them, and promoting good practice.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    February 20, 2013 at 4:16 pm in reply to: Genesis UK #21820
    Gary Jones
    Member

    > I wouldn’t mind a small (yearly?) charge to list myself and my website as well as the services that I offer

    Tomos - what sort of amount were you thinking would be fair?


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    February 20, 2013 at 3:39 am in reply to: Page Numbers #21597
    Gary Jones
    Member

    Head to Genesis -> Theme Settings - the Archive box contains an option for newer / older, previous / next, and numbered variations for pagination.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 28, 2013 at 3:59 pm in reply to: IE Issues #15730
    Gary Jones
    Member

    Change the $(...) for jQuery( ... )


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 20, 2013 at 6:15 pm in reply to: Creating a single category page #13366
    Gary Jones
    Member

    Two SP points for Carrie ๐Ÿ™‚

    If you're using the query_args trick, then it only works if the page template is set to the Blog page (does mention this in Step #1 on the tutorial).

    The better way, seeing as you only want a title and introduction for your category archive, is Carrie's second suggestion - go and edit the category, add an archive headline and intro, and save.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 20, 2013 at 4:20 pm in reply to: Change Gravatar Size #13348
    Gary Jones
    Member

    What? No code standards? No documentation? A number given as a string? ๐Ÿ˜‰

    https://gist.github.com/4582232


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 13, 2013 at 6:47 pm in reply to: Note for Studiopress: get error msg each time I post #11703
    Gary Jones
    Member

    The URL you posted has got an extra /forums/ in it, hence the breakage. That looks like a configuration setting, or a bug in bbPress.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 13, 2013 at 4:14 pm in reply to: Balance theme primary menu font #11674
    Gary Jones
    Member

    A font stack that sticks to all sans-serif fonts would have been a better suggestion, especially ones that other operating systems may have a chance of falling back to if Arial is not available.

    Also,, no need for quotes around Arial - it's a single word.

    A typical stack would be:

    font-family: Arial, Helvetica, Tahoma, sans-serif;


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 13, 2013 at 4:09 pm in reply to: URGENT – Fatal Error With News Thme #11672
    Gary Jones
    Member

    You can help the Simple Dropbox authors, by the error message specific to that plugin to them, and pointing them toย http://make.wordpress.org/core/2012/12/12/php-warning-missing-argument-2-for-wpdb-prepare/

    I'll nudge David here to help with the original widgetized footer plugin.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 13, 2013 at 4:05 pm in reply to: Plugin Conflict? #11671
    Gary Jones
    Member

    Check the JS console - you have errors:
    Failed to load resource: the server responded with a status of 404 (Not Found) http://avance2.26mi.com/wp-content/themes/education/interactivemap.css
    Uncaught TypeError: Object [object Object] has no method 'colorbox' avance2.26mi.com:286
    Uncaught TypeError: Object [object Object] has no method 'dataTable' avance2.26mi.com:317
    2

    Uncaught TypeError: Cannot call method 'setCenter' of null


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 13, 2013 at 3:58 pm in reply to: Full Width Content with LifeStyles Theme #11669
    Gary Jones
    Member

    Try using a different browser - there's was an issue was IE8 (I think) when using the layout selector - I can't remember if it got fixed or not.


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 13, 2013 at 3:51 pm in reply to: Note for Studiopress: get error msg each time I post #11665
    Gary Jones
    Member

    Does it matter if you choose the Notify option?

    What 404 page is it trying to send you to?

    (I have something almost similar - I get redirected to wp-admin with no apparent permssions to do so.)


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

    January 13, 2013 at 3:47 pm in reply to: Author box #11664
    Gary Jones
    Member

    You've got an

    is_author

    in there instead of an

    is_author()

    and this may be coming up as true, so always showing the box via the second function.

     

    I also think that:

    if ( get_post_type() == “post” && is_single() && ! ( is_category() || is_tag() ) )

    could be simplified to:

    if ( is_singular( 'post' ) )


    WordPress Engineer, and key contributor the Genesis Framework | @GaryJ

  • Author
    Posts
Viewing 20 posts - 461 through 480 (of 493 total)
← 1 2 3 … 23 24 25 →
« Previous Page

CTA

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

Create a site with WP EngineShop for Themes

Footer

StudioPress

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