I have a WordPress website that contains a blog and a WooCommerce store. I want the WooCommerce part to have a specific theme alone (they have their menu). I'm thinking of something like detecting the URL and automatically choosing the best theme.
How can I do this?
Install this plugin https://wordpress.org/plugins/jonradio-multiple-themes/. It lets you use different themes for different pages. Then use the option do detect by URL and set the theme of your liking. Let me know if you need further help.
Related
Not sure how to title my issue.
I have a Wordpress website, where most values are stored in custom fields and is very independent of language - e.g. most values are numbers.
Instead of creating a multi-site with several network sites, I am looking for a much simpler solution. Let's say I want to create a German version. Then ideally, I could redirect all German users accessing the site with /de/ to a German version of the theme.
E.g.:
http://www.example.com/post-name/ directs to single.php in the theme files
http://www.example.com/de/post-name/ directs to single-de.php in the theme files. So they will have the same content, but the translation will be in the theme file.
The only problem I can see is the canonical URL, but I am guessing this can be dealt with as well. So my question is, is it possible to redirect all users that go to /subfolder/post-name/ to a specific theme file and display the content of that post with the specific theme file?
Is there any solution I have missed that might be easier?
My solution above would only require redirects and some additional theme files instead of creating a completely new multi-site and importing everything and having to keep this site updated as well.
There is already wp logic to do theme translations, so you don't need to re-invent that. If your content is in the theme or is the same for all languages (eg the numbers), then the translations should work well for this.
One can set WP-LANG dynamically. Viper's https://wordpress.org/plugins/in-their-language/ tries to do that automatically for admin area (not sure if it still works), or/and you could add a language switcher. Fairly easy, there's a variety out there https://www.google.com/search?q=wordpress+language+switcher.
this is an answer to
Is there any solution I have missed that might be easier?
not an answer to
So my question is, is it possible to redirect all users that go to
/subfolder/post-name/ to a specific theme file and display the content
of that post with the specific theme file?
Have you successfully removed the /store/ default slug on a Woocommerce Wordpress site?
I'm building a multi-vendor site right now and every store page has url of:
domain.com/store/vendor-name
I, and customers, strongly prefer this format, removing the '/store' slug entirely.
domain.com/vendor-name
It looks like this is set by Wordpress by default. I'm using the Dokan plugin but can't seem to find where this URL is created. Any help would be greatly appreciated! I've seen plugins that eliminate the '/category/' or '/product' slugs but nothing for /store/. I'd be happy to manually edit something if need be, but a plugin would be great if possible.
I am building an online store with wordpress+wocommerce. What I want to do is , once I am done with the all customization and publish the site, I no longer need the word press tools. The owner of the site is only interested in the data presented by wocommerce such as daily sales, visits etc. But the wordpress administration page is complex and complicated. So the question is, is it possible to remove all other stuff and just keep wocommerce for the client?
WooCommerce is a Wordpress plugin, so no, you can't run it without Wordpress. If your goal is to make the backoffice simple to your client, you can strip all the unnecessary menu items from the sidebar, so he only sees the WooCommerce options. Take a look at this reference.
For example, to remove the Plugins item, in the theme's functions.php add:
add_action("admin_menu", "remove_items");
function remove_items() {
remove_menu_page("plugins.php");
}
I want to add shop to a site. But, before using the tools I need to know if I'm using the right ones
The site is already built in a form of a blog with different articles. In this stage I want to add a shop and I decided to use Woocommerce as a plugin.
The point is that i don't know how to continue. Should i build a child-theme for the shop to take the same style of the website that is already build?
Many of you might suggest shopiffy but at this point I want to have an idea more about the woocommerce.
I have an idea to create a template sites that basically shows a different templates in web page. When user select particular template, The site should have changed to that theme selected by user at run time. Is there any plugin to change the theme dynamically in wordpress. If not kindly help how can we implement this ?
This plugin called theme preview basically does what you want. Instead of actually switching the theme, it will preview it for the user, so only the actual user is affected of the theme change and not the whole environment!