Images as Categories

Okay, this will be a 3 step process; Add a meta field to store the image in the category edit page. (Easiest way: ACF plugin) Create a short code to output HTML that retrieves that field and show them as the design you want. (In functions.php) (Optional) Edit your theme’s post template; remove the current … Read more

wordpress member

That thought is kind of subjective. Dealing with wordpress membership mostly just needs messing with its built-in role and capabilities, unless you really have a complex membership setup which you shouldn’t have use wordpress to begin with. But for a basic membership, a typical set-up involves the following. Create a custom roles and assign specific … Read more

Add multiple HTML attributes to an Elementor button

There are 2 problems. The first problem is this: if (is_single (‘^\d+$’)) { is_single can’t take a regex, it only takes: Post ID, title, slug, or array of such to check against. https://developer.wordpress.org/reference/functions/is_single/ So you could do this: is_single( ‘my-page’ ) for example, but in this case it would be better to do is_single() or … Read more

Delete all thumbnails & regenerate them?

Is there a reason you need to delete them first? You can use Regenerate Thumbnails if you need to generate new image sizes after switching themes or registering a new image size. https://wordpress.org/plugins/regenerate-thumbnails/ This plugin also gives you an option to delete images related to unregistered sizes. Note: the plugin is not tested with the … Read more