diff --git a/README.md b/README.md index e4f13f1..f1a201f 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,19 @@ # Useful WordPress Snippets for Web Development -Below is the list of useful WordPress Snippets that I am using for WordPress development +Below is the list of useful WordPress Snippets that you can use when developing with WordPress. -+ [Add featured image to REST API](https://github.com/dalenguyen/wordpress-snippets/blob/master/get-featured-image-from-rest-api.php) -+ [Get page ID from page title](https://github.com/dalenguyen/wordpress-snippets/blob/master/get-page-id-from-page-title.php) -+ [Fix Notice Undefined Index](https://github.com/dalenguyen/wordpress-snippets/blob/master/fix-php-undefined-index.php) ++ [Add featured image to REST API](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_featured_image_from_rest_api.php) ++ [Get page ID from page title](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_page_id_from_page_title.php) ++ [Fix Notice Undefined Index](https://github.com/dalenguyen/wordpress-snippets/blob/master/fix_php_undefined_index.php) + [Get all tags from a post](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_all_tags_from_a_post.php) + [Get anything with page / post ID](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_anything_with_page_id.php) ++ [Add additional mime types to media library](https://github.com/dalenguyen/wordpress-snippets/blob/master/add_additional_mime_types_to_media_libary.php) ++ [Add post images to RSS feed](https://github.com/dalenguyen/wordpress-snippets/blob/master/add_post_images_to_rss_feed.php) ++ [Define excerpt length](https://github.com/dalenguyen/wordpress-snippets/blob/master/define_excerpt_length.php) ++ [Disable self pingbacks](https://github.com/dalenguyen/wordpress-snippets/blob/master/disable_self_pingbacks.php) ++ [Embed responsive 16x9 videos](https://github.com/dalenguyen/wordpress-snippets/blob/master/embed_responsive_16_to_9_videos.php) ++ [Exit if direct access is made to file](https://github.com/dalenguyen/wordpress-snippets/blob/master/exit_if_direct_access_to_file.php) ++ [Get number of posts in specified term](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_number_of_posts_in_term.php) ++ [Get random post suggestion by categories](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_random_post_suggestion_by_categories.php) ++ [Get random post suggestion by tags](https://github.com/dalenguyen/wordpress-snippets/blob/master/get_random_post_suggestion_by_tags.php) ++ [Remove inline styling from tag cloud](https://github.com/dalenguyen/wordpress-snippets/blob/master/remove_inline_styling_from_tag_cloud.php) \ No newline at end of file diff --git a/exit-if-direct-access-to-file.php b/exit_if_direct_access_to_file.php similarity index 100% rename from exit-if-direct-access-to-file.php rename to exit_if_direct_access_to_file.php diff --git a/fix-php-undefined-index.php b/fix_php_undefined_index.php similarity index 100% rename from fix-php-undefined-index.php rename to fix_php_undefined_index.php diff --git a/get-featured-image-from-rest-api.php b/get_featured_image_from_rest_api.php similarity index 100% rename from get-featured-image-from-rest-api.php rename to get_featured_image_from_rest_api.php diff --git a/get-page-id-from-page-title.php b/get_page_id_from_page_title.php similarity index 100% rename from get-page-id-from-page-title.php rename to get_page_id_from_page_title.php