WordPress Interview Questions and Answers 2

1) What are the differences between Posts and Pages? Posts are for timely content. They have a publish date and are displayed in reverse chronological order on your blog page. They’re what you should think of when you hear the term blog post. Pages are for static, timeless content. 2) Define OAuth2? It is a … Continue reading WordPress Interview Questions and Answers 2

ADA Compliance for WordPress Websites

What is ADA Compliance According to the World Health Organization, 285 million people have vision impairments and around 15 percent of the world’s population, or estimated 1 billion people, live with disabilities. As websites and mobile applications have grown rich and creative, they have become less accessible to these users. Accessibility in web design means … Continue reading ADA Compliance for WordPress Websites

WP-CLI Guide

What is WP-CLI? WP-CLI is a command line tool for developers to manage common tasks (and not so common) of a WordPress installation. It can add/remove users, posts, categories, insert test data, search and replace in the database, reset passwords, help troubleshoot performance issues, and much more! The WordPress GUI is pretty, but sometimes you … Continue reading WP-CLI Guide

Add Custom Column to Posts Admin Screen

If you want to add new columns to the posts overview, wordpress provides hooks to create custom columns and their associated data for a custom post type are manage_{$post_type}_posts_columns and manage_{$post_type}_posts_custom_column respectively, where {$post_type} is the name of the custom post type. For Example, if you want to add Start and End Date Field in … Continue reading Add Custom Column to Posts Admin Screen

WordPress Export Post to CSV From Admin

WordPress provides a good interface for post listing on admin. but, if you want to export all posts to csv by adding export button and without help of plugin, you can do it by adding following code in functions.php file of your child theme. add_action( 'restrict_manage_posts', 'add_export_button' ); function add_export_button() { $screen = get_current_screen(); if … Continue reading WordPress Export Post to CSV From Admin

WordPress Useful Functions

Followings are list of helpful functions for wordpress developers: 1 . Basic Pagination By default WordPress displays previous/next links at the end of your post list. This can actually be done with a little work using the paginate_links() functions. The following example from the codex shows how you can add it to a default loop … Continue reading WordPress Useful Functions

Create Custom Post Status

WordPress post status is used to describe the state of the post. Followings are some of built-in post status: Draft: Incomplete posts viewable by anyone with proper user level.Future: Scheduled posts to be published on a future date.Pending: Awaiting approval from another user (editor or higher) to publish.Published: Live posts on your blog that are viewable … Continue reading Create Custom Post Status