Author: Tentenbiz

How to Change Default Text Color of WordPress Visual Editor (TinyMCE)

How to Change Default Text Color of WordPress Visual Editor (TinyMCE)

WordPress uses tinyMCE as its editor. This is the editor that you use to edit your WordPress posts and pages. By default, the color of the text when you type inside the editor box, is gray, against white background. It's fine if you like that combination of color, but I personally don't like gray text against white background very much, unless the font is fairly big, like what you are seeing right now. My eyes are not good with looking at small gray text against white background for a long time. So how do you change the default gray text to, let's say, black, for example? Or how do we change the overall styling and the appearance of our tinyMCE editor in general? Maybe you prefer a darker background and lighter font to go with your editor, for example. How do we go about doing this? The easiest way is to use our own custom CSS file, so that we could style...
Read More
Woocommerce: Display All Products Eligible For Coupons

Woocommerce: Display All Products Eligible For Coupons

If you are running Woocommerce for your online shop, there is a feature where you can set up coupons for your customers to use. If you want your coupons to be used only on certain products in your shop instead of shop-wide, you can also do so. Woocommerce allows you to add products of your choice to certain coupons, so that customers will be able to get discounts when they buy those products, given that they know what the coupon codes for those products are. This feature does not require any Woocommerce extensions, it's one of Woocommerce core features. There could be times when you want to allow your customers to filter products in your store and display only the ones that are eligible for coupons. One reason is to encourage your customers to buy those products instead of other products in your store. In my case, a client asks that all products on their store that are eligible for coupons...
Read More
Child Theme Doesn’t Look Like Parent Theme? Here’s The Fix

Child Theme Doesn’t Look Like Parent Theme? Here’s The Fix

You have just created a WordPress child theme. You followed closely the guide found on WordPress Codex as well as on WordPress developer theme handbook. But there seems to be a problem. Once you activated your child theme, it doesn't look like its parent theme. Shouldn't a child theme inherit everything from its parent theme? If so, why doesn't your child theme look exactly like the parent theme? Here's what to look for in order to fix this. There are two things you should check first: Have you copied custom css, widgets, theme options and configurations (including what you customized using WordPress customizer) from the parent theme over to the child theme? Have you successfully enqueued all the parent theme's stylesheets and set their dependencies (such as font awesome, bootstrap, etc) accordingly? Okay, let's go through all the above one by one. #1: Copy Parent Theme's Options Over To Child Theme Most WordPress themes these days have their own theme options page where users...
Read More