• Stars
    star
    130
  • Rank 277,575 (Top 6 %)
  • Language
    PHP
  • Created about 13 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Collection of mostly WordPress Code Snippets.

Code Snippets

Author: Pieter Bos

Collection of mostly WordPress Code Snippets.

Description

This Repository is a collection of Code Snippets related to WordPress gathered from around the web.

I started this as a local folder of snippets that I would use frequently, which has as obvious advantage that I didn't have to search through my bookmarks, or worse, click on a link that no longer exists.

When I had collected quite a few Code Snippets I decided that others might as well benefit from it too, so I gave them this Repository on Github.

I still add snippets to the Repository whenever I feel they can benefit me or others.

Attribution

Where deemed necessary Code Snippets are attributed with the original source.

so_ prefix

I have prefixed most snippets with "so_", which of course can be changed to something else.

Contributions

Feel free to fork this Repository and I welcome contributions.

License

Donations

Connect with me through

Github

WordPress

BHI Localization for Websites

SO WP Plugins

LinkedIn

More Repositories

1

so-clean-up-wp-seo

Hides (sidebar) ads and premium version buttons of Yoast SEO from their settings pages and your website's dashboard (and frontend).
PHP
67
star
2

pinyin-slugs

Transforms Chinese character titles into a permalink friendly slug, showing pinyin that can be read by humans and (Chinese) search engines alike.
PHP
38
star
3

lean-wp

March 31, 2020: No longer in active development, use at own risk
PHP
29
star
4

classic-editor-addon

This free "Classic Editor Addon" plugin makes sure that Gutenberg cannot be accidentally activated even while the "Classic Editor" plugin is active.
PHP
20
star
5

soblossom

no longer in active development
CSS
15
star
6

so-dashboard-feed-widget

The Dashboard Feed Widget shows the latest Posts from a site of your choice in the top of the WordPress Dashboard.
PHP
7
star
7

so-recommended-reading

The SO Recommended Reading plugin lets you add any number of URLs to articles that you want to recommend to your readers.
PHP
6
star
8

remove-wp-update-nags

Free WordPress plugin that removes all WP Update Nags, great for if you want to stay on WP 4.9.x
PHP
5
star
9

so-related-posts

The SO Related Posts plugin puts you in control on what really is related content.
PHP
4
star
10

so-turn-on-debug

March 31, 2020: No longer in active development, use at own risk
PHP
4
star
11

so-customizer-hide-menu

The Customizer Hide Menu hides the Navigation Menu from the Customizer so as not to confuse anyone.
PHP
3
star
12

so-remove-wpml-menu-sync

This WPML Addon removes the WP Menus Sync sub menu from the WPML sidebar menu in the backend and it hides the menu synchronization link that is displayed on the nav-menus pages.
PHP
2
star
13

so-responsive-content

March 31, 2020: No longer in active development, use at own risk
PHP
2
star
14

so-simple-gallery

With the SO Simple Gallery plugin you can add a beautiful gallery to your Posts or Pages with a simple shortcode.
PHP
2
star
15

so-mobile-map-widget

This WordPress widget adds a mobile-optimised Google Static Map Image with a colored pin centered on a destination of your choosing.
PHP
1
star
16

basejump

Basejump WordPress theme
PHP
1
star
17

so-multisite-dashboard-feed-widget

This dashboard widget shows the latest Posts from the main site of a multisite install in the top of the Dashboard of the sites hanging under the multisite install.
PHP
1
star
18

so-default-lang-slug-to-body-class

Automatically adds the page/post-slug of the default language to the equivalent page(s)/post(s) of other languages on sites running WPML or Polylang.
1
star
19

so-remove-icl-promotion

The SO Remove ICL Promotion plugin removes all promotion for ICanLocalize from the WPML plugin.
PHP
1
star