Override plugin constant using a theme

You won’t be able to replace it at all if the plugin is not checking whether the constant has already been defined using if ( defined( ‘MAX_THINGS’ ) ). By definition constants can’t be overwritten, so this check is necessary to make a value ‘pluggable’. Adding @ to define() will suppress the error but it … Read more

What’s your workflow for converting a static HTML website to WordPress? [closed]

For Case 1: Building from scratch First you need to create the Theme Stylesheet called style.css for registering the theme. Then create the index.php file form your raw HTML index file. After that break down the index.php into header.php, index.php and foter.php to create the primary scaffolding for your theme. Then create functions.php archive.php page.php … Read more