change template with button

Try using switch_theme(). <?php switch_theme( $stylesheet ) ?> I have personally never used it but it sounds like what you want. You just need to pass the stylesheet name you are using. Here is a very basic demo I put together. You would basically but the following code, where ever its needed in both themes. … Read more

Custom CSS File wont work on second Page

Sounds like your are not creating a proper WordPress template when you copy your index.php. Here you can find the list of standard template files: https://codex.wordpress.org/Theme_Development#id=%22Template_Files_List%22 And here you can learn how to create a custom template: https://codex.wordpress.org/Theme_Development#Custom_Page_Templates My guess is you need to add the following to the top of your index copy. Then … Read more

Password protection doesn’t prompt for password on pages

Your posts password form does not show because you typed the password in and unlocked the post, and it remembers you from when you submitted the password via cookies. It doesn’t have to be this particular post either, entering a password unlocks all posts that use that password present and future.

How to add a plugin in WordPress theme directory?

Problem solved Thanks to @TomJNowell Solution: make a directory under the wp-content directory and name it mu-plugins then move your plugin directory (for example woocommerce) in wp-content/mu-plugins after that you have to call it for your WordPress by crating a file and name it load.php introduce the plugin bin load.php for example: <?php require WPMU_PLUGIN_DIR.’/woocommerce/woocommerce.php’; … Read more

Basic clothing showroom [closed]

For the most basic implementation you can look for fitting theme and make use of gallery functionality of WordPress. More complex or functional implementation might be better accomplished with one of the ecommerce plugins.