Skip to content

Commit f1570f8

Browse files
committed
Updated readme with new snippets, renamed snippet filenames to be consistent with the rest
#11
1 parent 32fed42 commit f1570f8

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,19 @@
11
# Useful WordPress Snippets for Web Development
22

3-
Below is the list of useful WordPress Snippets that I am using for WordPress development
3+
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)
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)
88
+ [Get all tags from a post](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_all_tags_from_a_post.php)
99
+ [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)

0 commit comments

Comments
 (0)