Skip to content

Commit 3997af6

Browse files
author
Dale Nguyen
authored
Merge pull request #17 from ActuallyConnor/fix/move-snippets-into-subdir
Moving all snippets into subdir and updating README
2 parents 22468eb + 16e38eb commit 3997af6

16 files changed

+15
-15
lines changed

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@
22

33
Below is the list of useful WordPress Snippets that you can use when developing with WordPress.
44

5-
+ [Add featured image to REST API](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_featured_image_from_rest_api.php)
6-
+ [Get page ID from page title](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_page_id_from_page_title.php)
7-
+ [Fix Notice Undefined Index](https://github.com/dalenguyen/wordpress-snippets/blob/master/fix_php_undefined_index.php)
8-
+ [Get all tags from a post](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_all_tags_from_a_post.php)
9-
+ [Get anything with page / post ID](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_anything_with_page_id.php)
10-
+ [Add additional mime types to media library](https://github.com/dalenguyen/wordpress-snippets/blob/master/add_additional_mime_types_to_media_libary.php)
11-
+ [Add post images to RSS feed](https://github.com/dalenguyen/wordpress-snippets/blob/master/add_post_images_to_rss_feed.php)
12-
+ [Define excerpt length](https://github.com/dalenguyen/wordpress-snippets/blob/master/define_excerpt_length.php)
13-
+ [Disable self pingbacks](https://github.com/dalenguyen/wordpress-snippets/blob/master/disable_self_pingbacks.php)
14-
+ [Embed responsive 16x9 videos](https://github.com/dalenguyen/wordpress-snippets/blob/master/embed_responsive_16_to_9_videos.php)
15-
+ [Exit if direct access is made to file](https://github.com/dalenguyen/wordpress-snippets/blob/master/exit_if_direct_access_to_file.php)
16-
+ [Get number of posts in specified term](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_number_of_posts_in_term.php)
17-
+ [Get random post suggestion by categories](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_random_post_suggestion_by_categories.php)
18-
+ [Get random post suggestion by tags](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_random_post_suggestion_by_tags.php)
19-
+ [Remove inline styling from tag cloud](https://github.com/dalenguyen/wordpress-snippets/blob/master/remove_inline_styling_from_tag_cloud.php)
5+
+ [Add featured image to REST API](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/get_featured_image_from_rest_api.php)
6+
+ [Get page ID from page title](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/get_page_id_from_page_title.php)
7+
+ [Fix Notice Undefined Index](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/fix_php_undefined_index.php)
8+
+ [Get all tags from a post](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/get_all_tags_from_a_post.php)
9+
+ [Get anything with page / post ID](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/get_anything_with_page_id.php)
10+
+ [Add additional mime types to media library](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/add_additional_mime_types_to_media_libary.php)
11+
+ [Add post images to RSS feed](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/add_post_images_to_rss_feed.php)
12+
+ [Define excerpt length](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/define_excerpt_length.php)
13+
+ [Disable self pingbacks](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/disable_self_pingbacks.php)
14+
+ [Embed responsive 16x9 videos](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/embed_responsive_16_to_9_videos.php)
15+
+ [Exit if direct access is made to file](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/exit_if_direct_access_to_file.php)
16+
+ [Get number of posts in specified term](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/get_number_of_posts_in_term.php)
17+
+ [Get random post suggestion by categories](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/get_random_post_suggestion_by_categories.php)
18+
+ [Get random post suggestion by tags](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/get_random_post_suggestion_by_tags.php)
19+
+ [Remove inline styling from tag cloud](https://github.com/dalenguyen/wordpress-snippets/blob/master/src/remove_inline_styling_from_tag_cloud.php)
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)