Set subscriber as author of Blog post in Post Edit mode

Are you looking to select User as a Author of Blog post whose role subscriber or other instead of Admin and without giving any more access of wordpress backend? wp_dropdown_users_args filter help you to set other role (Subscriber, Contributor etc) users as author of blog post without giving them additional backend privileges. add_filter( ‘wp_dropdown_users_args’, ‘bind_subscribers_to_dropdown’,… Read More »

change Placeholder text color by CSS class

Going to use Inquiry Form with background color match to Inout field placeholder text and Placeholder text not visible to your visitor when they visit site and fill up form. using below css class attribute you can change input field placeholder text color according your need. .ptcgreen::-webkit-input-placeholder { color: green; } .ptcgreen:-moz-placeholder { color: green;… Read More »

Professional contact form 7 with Customize File Upload

Are you looking to add a professional looking Contact form on your WordPress website or blog ? not getting which one best for you among 1625+ contact form plugins in Wordppress ? For add Contact form in WordPress there are many free as well as premium plugins available with use you able to create good… Read More »

Custom language switcher flag in WPML WordPress

Working with WPML multilingual plugin to setup multi language site in wordpress and looking for setup custom language switcher at specific location in your page than following code become helpful for you.

Useful WP_Query example in WordPress

// 1 Get Sticky post record by wp_query post__in and taxonomy tax_query parameter # ‘; ?>   // 2 Get posts exclude Sticky posts by wp_query post__not_in and taxonomy tax_query parameter # // 3 Exclude specific Category Posts from result by use wp_query operator NOT IN # // 4 WP_Query for fetch CPT event Order… Read More »