WordPress move current to top in the loop

To move the current coupon to the top of the loop, you can use an approach that involves storing the current coupon data temporarily and then outputting it separately before looping through the rest of the coupons. Replace /* Your condition to determine current coupon */ with the condition that identifies the current coupon within … Read more

Remove slug and custom post type name from URL

yes, possible to achieve the URL structure you desire by modifying the permalink structure for your custom post type and taxonomy. Firslty flush the rewrite rules by visiting the permalink settings page in your Wp admin area Settings > Permalinks and clicking Save Changes. This will regenerate the rewrite rules and apply your custom permalink … Read more