WordPress website white labeling? - wordpress

We have many (hundreds) of clients that require basic, content-oriented websites. We are currently using simple WordPress deployments for these clients, but would like to make things more simple.
Is there a tool that exists that will let us white-label, or "re-use", a basic WordPress website and simply injecting some text and images into it to create a whole new website?
The process would look something like:
1. Have new client that needs website
2. Gather some client info (phone number, images, biography, etc.)
3. Inject this info into a previously created WordPress "template" site
(we would use the same template for all clients)
4. Pick a WordPress theme
5. And done. We now have a rebranded WordPress site for this client with minimal work
done.
Step 3 is where we need help? Is there something that already exists that can do this? If not, what is a good method to do this "injection"? We were thinking just creating a small app that would go through the template WordPress site and do a find-and-replace.

Perhaps it would be good to simply write a plugin which would allow you to gather exactly what info you need in a settings panel there, then inject the information into whatever theme you're using from there.
So it would be a relatively simple step as you create new sites to install the plugin, use it to add information, etc. (Perhaps if most of it is client information, it stores the information with admin user information).

Well if you want to be able to re-use your branding, you could do them in your theme's function.php, so its kind of "portable"
For example, when I re-brand a wp site, and customize their wp-login. Change logos and stuff.
and things like, hide menu of theme-editor, plugin-editor, etc
all goes together, and I put the codes in the functions.php

Related

How can I upload a new updated MCRSS plugin to my app?

I want few changes on my APP, support told -Our platform allows for incredible customization by a developer with common languages like HTML, CSS, and Javascript.
Developing on the platform is done with the new SDK that can be found here on github. You can see more about developing the customization you need here: http://buildfire.com/developers/
As always
Downloaded MCRSS on my PC and made few changes Like on home page i dont want to show date below title -
i just added css property in list-item-date {display none:}
and we dont want Title and author name get trimmed , i just removed trim code.
Now New Updated MCRSS plugin ready at my PC.
How can i upload that on my APP.
Please tell me steps
It sounds like you're trying to customize the Media Center RSS plugin. You have two options:
Create a pull request on the repo.
Create an account on the developer portal, and upload your own custom version of the plugin.
For option one, you'll have to make your changes generic so that your pull request will be accepted. It might include making some of the options configurable from the control side. The main benefit is that moving forward the plugin will include your changes and any future bug fixes or enhancements will automatically be included.
The second option is easier to do if you're not as familiar with Git, and/or don't want to spend the time to make the options configurable. You just create an developer account and upload your custom plugin. (It will require you to rename the plugin to something unique.)
Hope that helps.

How to create multi site on WordPress

I want to create somethink like this. But i don't know how exactly to do it. As you can see, we have multilingual and multicontent site (btutton at the top of site).
First decision it's create two folders in main domain directory and install two different sites. But i think it's not good idea, because it would be to hard manage this sites.
Please help.
you can create a multisite using Wordpress Network .
I don't think a multi site is the way to go. Multi sites are useful when you have multiple sites that use the same styling, plugins, custom PHP, etc but unique content. Typically, multi sites each have their own domain.
It depends a little bit on how distinct you want your two sub-sites to be, but if you're trying to replicate the Vogel's website, I would suggest you just create a few extra pages for your unique content. If you look at the Vogel's site, the consumer/professional toggle is essentially just a link to two different landing pages. You can easily save the choice that users make via cookies so they always see that page as the homepage in the future.
For the multilingual aspect, you can use a plugin like WPML to take care of that for you. It really isn't necessary to build an entirely new site unless you expect everything (including styling, plugins, etc) to be completely different.

Custom code in Wordpress: what are the programming limitations?

I have a website (www.easterisland.travel) that I'm considering converting into a Wordpress site. Why? Basically for the following reasons:
1: To use a CMS, so that I can teach others to further add content to the website without having programming knowledge. I would built the advanced pages myself though, and the pages that others would manage would be simple information pages.
2: Access to all of these great plugins, for example the "similar pages" plugin at the bottom of each page (which I haven't found as a independent solution for raw webpages), which is just fantastic to keep people reading.
At my site I have lots of custom stuff like booking systems that I've created. There's an AngularJS shopping cart (www.easterisland.travel/tours/), instant online booking and payment (using PayPal's Express Checkout) etc. There's a page for cruise ship shore excursions (www.easterisland.travel/cruise-ship/) that's automatically generated from database data, and I've created a system where I can add cruise ships and shore excursions (adding correct itinerary, price, info etc). Passengers can also log in and communicate to other future fellow travelers within the same group, and get organized for meeting up on the tour day. I have many more plans to go as well, for example showing hotel info, displaying TripAdvisor data (using TripAdvisor API) etc.
The million dollar questions are:
1) Can all of this be achieved in a Wordpress site? Can I add all of these systems using this platform? What are the limitations?
2) Would it make sense to change to Wordpress?
3) What implementation should be used? I don't want my code to be removed or altered when Wordpress is automatically updated.
Thank you!
Wordpress doesn't have any limitations, you can extend its default functionality if it can't accomplish what you need with either plugins or custom code. and having a framework is always better than building from scratch in many ways.
HOWEVER, wordpress was originally design as blogging platform, and if you plan on extending its simple functionality you should take some time to understand how it works to properly integrate your custom needs or things could get ugly,
If you know how to interact with the database, you can easily do what you want, there are built-in functions you can use according to your needs for database interactions or just create your own if it doesn't fit well very much.
just a quick overview with wordpress database.
wp_posts - where sites main front-end data are stored, like posts, pages,
wp_postmeta - storage for additional data that are stored on wp_posts
wp_comments - storage for user interaction data for wp_posts like comments, I've also used these before to store user/admin messages.
wp_terms - use for dividing/categorizing wp_posts data, like categories and tags,
wp_options - use for back-end storage data and configuration.
You'd need to check out these functions as you're probably will encounter them in the future
https://codex.wordpress.org/Function_Reference/add_post_meta
https://developer.wordpress.org/reference/functions/get_post_meta/
https://codex.wordpress.org/Function_Reference/update_post_meta
https://codex.wordpress.org/Function_Reference/register_post_type
https://codex.wordpress.org/Function_Reference/register_taxonomy
https://codex.wordpress.org/Class_Reference/WP_Query
If you also need database interaction, check out https://codex.wordpress.org/Class_Reference/wpdb
and for front-end implementation, check this out https://developer.wordpress.org/themes/basics/template-hierarchy/, though I never used any other wordpress theme except Genesis Framework for these past 5 years as I never had to mess too much with HTML codes and almost everything can be customize using actions & filters. I advise you to use Theme Framework (and remember to always use CHILD THEME to be safe from Main Theme upgrade)
You might also want to check -> https://github.com/WebDevStudios/CMB2 (I prefer to use this than Advance Custom Fields plugins.)
Booking system in wordpress is a bit complex, I've successfully use gravity form as booking system with AngularJS + Ajax, but never tried a custom one from scratch and don't have a chance to use booking plugin as never encountered a cleint that wants a simple booking system.
Just to answer your question.
Yes, It can, for comparison, take a look at woocommerce plugin functionality and features, I believe thats more complex than what you need.
It would make sense to convert a site built from scratch to any CMS (wordpress is an option), the CMS is up to you, though its better to use the one that you know more for easier integration and customization.
You can use your child theme "functions.php" for extending your custom functionality, like create a folder in your theme for all your custom code and include/require it on your child theme functions.php or better create your own plugin to properly integrate them, you can divide the functionality in plugins, like plugin for booking system and plugin for payment functionality. check this out https://github.com/hlashbrooke/WordPress-Plugin-Template
I hope this would give you an idea.
Yes you can do all that. You will need someone with knowledge in wordpress themes and plugins but it is possible. The beauty of wordpress is, that you can write "bare" php code, and the small amount of functions to interact with wordpress are well documented.
Wordpress itself, is structured "simple" (compared to fancy tools like magento for example). So all it manages, are posts / pages / ... which, more or less derive from the same database object. You can add functionality to those things (for example, make posts cruise ships and other posts to shore excursions) or you can add your own database structure on top.
The theme system is bare php code, so you dont have to crawl through a thousand lines of xml codes to adjust little things.
Wordpress power derives from its simplicity of the "core wordpress" and the feature volume based on all those plugins. I believe alot of people would say, that you should go for a custom solution (based on symfony for example), or a CMS that already comes with more of your desired functions (like magento which has the checkout / paypal included), but I (as a wordpress fan) would see no problem to take wordpress.
I have never failed to find a plug-in to do what I needed! I manage three WordPress sites - although none of them is commercial. (Yacht Club, Cycling Club and Political Party EDA).
There is a plug in that allows PHP on any WordPress page, but it means that the Editors all have to write using the text (HTML) view rather than Visual tab. I found that useful for some of my pages - and I'm the only "Editor."
There's also a plug-in that allows you to code PHP in Widget. That doesn't have the above disadvantage.

Adding a CMS (wordpress) to a website?

I have made a site using html, css and javascript and is only on my local machine and have not put it onto a server yet, but i was wondering if i could use a cms on this site like wordpress? The site is only 5 pages but i have done all the styling myself.
Would i just have to install wordpress to the server and add the files there maybe? Or is there a lot of changes needed to make this work?
I have very little knowledge of PHP but i am a quick learner if that counts for anything.
Thanks for help.
Simple answer: yes
More complicated answer: why?
If your site is only 5 pages, and you've custom designed and built your layout, then I'm not sure what WordPress will add for you.
That said, if you want to add a blog or the like, WP would certainly be nice to have.
If you want to go that route, you have a few options:
use WordPress for everything, using the 5 pages you made as 'pages' inside of WordPress. You'll have to modify what you built for that to some extent.
leave the 5 pages as-is but add WordPress 'next to it' and run the blog/cms content from there. It can look the same, or maybe you want it to look a bit different.
leave your 5-page site as-is, and use WordPress or another CMS product on a separate server. You can set it up as a subdomain and then either install your own, or leverage something like Posterous or Wordpress.com
The short answer to your question is:
it will take some effort, you won't be able to just drop the files and install wordpress and have everything work immediately. With some work, though, it is definitely possible.
If you've done the styling and you want to incorporate that into wordpress you'll have to go through the process of creating your own theme. http://themeshaper.com/2009/06/22/wordpress-themes-templates-tutorial/ Try this site to see what that requires. Alternatively, google "creating your own wordpress theme" or something similar.
It will require some extensive PHP work, but a lot of these tutorials have already done that heavy lifting for you. In any case, it will be worth it for your to pick up some PHP skills, enough to follow along the tutorials.
I had to do this myself and what you can do is integrate your design into an existing design. You could just create your own theme, which takes some time but it is the correct way to do it.
http://yoast.com/wordpress-theme-anatomy/
I knew 0 php and I was able to create my own theme in a few hours. Best of luck.
I'm not sure what you mean "add the files there", I assume you means that use a WordPress-based website to display your site, then you can simple create a page by WordPress and then link this page to your site.
But if you means to create a wordpress theme which based on your existing site, then you can search a tutorial and follow it to create a wordpress theme by yourself. Making a wordpress theme will needs some PHP work, but not complicate, wordpress has very detailed documations and API.
I would suggest using the Umbraco CMS for it. The advantage is that you start with an empty site, add your css, js, and create your own content types, paste in your HTML for the templates, and you're ready to go. It is a perfect CMS for few page sites to larger sites and also has a great community around it, including lots of documentation and screencasts. Templating is done with the Razor syntax, very easy to learn and lots of documentation. You'll need to have a Microsoft-based server to host it and this may be a barrier depending on your hosting scenario.

Creating dynamic region content in wordpress as in drupal

I've been using Drupal to create websites for about 2 months. I find it pretty easy to create a view or a block which could hold my dynamic content like latest photos, comments and all.
Now, i've started using Wordpress and it puzzles me how to do those things. Like, how to create a site like this:
http://theklaxon.com
Should i create a .php file which does what i want and then include the file in the respective places?
There is a couple of options you can explore. The easiest way to include your own block of content is through page template; to make full use of it, you would have to understand the WordPress loop so you can fetch posts from the DB and format it as you like.
Another method, albeit which involves more coding and setup but more scalable in the long run, is the Pods CMS for Wordpress. Do check the introductory articles there for what you can do with it.

Resources