Creating a Freemium plugin in the WordPress Repository

Define “freemium”. If you mean a free plugin that attempts to up-sell to a paid-for plugin, sure, that’s allowed. As long as you do it within the guidelines you’ve already found. If you ask a more specific question, you’ll get a more specific answer. What do you want the plugin to do that you think … Read more

php include returns 1 as output with other outputs [closed]

First of all, this is not WordPress-specific, and does therefore not belong in WordPress.StackExchange. As it’s so easy to answer, however… include is not a function, but it does return whatever you put in “return” inside the file that’s included. You can use an output buffer to “catch” all output: ob_start(); include TEMPLATEPATH . ‘/apex.php’; … Read more

wordpress plugin noob situation

Rather than include an HTML file, include a PHP file instead. Then, at the top of your PHP file you can check to see if any data’s been submitted and process it before displaying the form. So instead of what you have, try: function show_hotel_dashboard(){ include ‘dashboard.php’; } Then on the page do things like: … Read more

Template library for WordPress [closed]

Let’s address possibility for starters. There are two parts to front end output in WordPress: Theme template system, which is pretty flexible and relatively easy to adjust, although mostly PHP-centric Template tags (and related) functions, which are extremely PHP–centric and vary wildly as to how easy they are to adjust So implementing templating engine in … Read more

Two sites one PC

I think you are doing everything wrong. You should just use 1 WP installation and ENABLE MULTI-SITE feature, and then you can open as many separate WP sites as you want! NO NEED TO INSTALL separate WORDPRESS installations.