Skip to content
View chuckreynolds's full-sized avatar
🤖
building things
🤖
building things

Highlights

  • Pro

Organizations

@gangplank @vuurr @Levers @ringtrail @wikimedia-enterprise

Block or report chuckreynolds

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. social-profile-image-sizes social-profile-image-sizes Public

    Social media profile image size reference guide. Open Graph, Twitter Cards, etc.

    213 25

  2. Selfish-Fresh-Start Selfish-Fresh-Start Public

    WordPress plugin that removes clutter and commonly unneeded things in WordPress.

    PHP 13 2

  3. Solid start Robots.txt for WordPress... Solid start Robots.txt for WordPress Sites. (HEADS UP: Make sure you're viewing the most recent version of this Gist) https://gist.github.com/chuckreynolds/135728/
    1
    # robots.txt for wordpress
    2
    # https://gist.github.com/chuckreynolds/135728
    3
    
                  
    4
    User-agent: *
    5
    Disallow: /*.php$
  4. wp-filter-admin-published-default wp-filter-admin-published-default Public

    WordPress Plugin that enables the Pages and Posts links in admin to show the Published filter by default

    PHP 3

  5. Admin-Slug-Column Admin-Slug-Column Public

    WordPress Plugin that puts the slug of a post or page into the admin columns

    PHP 1 2

  6. UPDATE: Use WP-CLI find-replace comm... UPDATE: Use WP-CLI find-replace command to edit URLs in your database. https://developer.wordpress.org/cli/commands/search-replace/ Use this SQL script when changing domains on a WordPress site. Whether you’re moving from an old domain to a new domain or you’re changing from a development domain to a production domain this will work. __STEP1: always backup your database. __STEP2: change the ‘oldsite.com’ and ‘newsite.com’ variables to your own. __STEP3: make sure your database prefix is “wp_”, if it’s not then you’ll want to go through and change the prefix in each line to whatever yours is. __STEP4: copy the modified variables and the queries and paste it into phpMyAdmin or, better yet, SequelPro and run it on your database. TEST. DONE. __Changelog: — updated queries to use variables instead of editing the urls in many different areas — commented out GUID and left as optional. shouldn’t reset those. ref: codex.wordpress.org/Changing_The_Site_URL#Important_GUID_Note
    1
    /* Use WP-CLI instead https://developer.wordpress.org/cli/commands/search-replace/ */
    2
    
                  
    3
    SET @oldsite='http://oldsite.com'; 
    4
    SET @newsite='http://newsite.com';
    5
    UPDATE wp_options SET option_value = replace(option_value, @oldsite, @newsite) WHERE option_name = 'home' OR option_name = 'siteurl';