• Gå direkte til primær navigation
  • Skip til indhold
  • Gå direkte til primær sidebar

Vayu Robins

WordPress theme & plugin developer

  • Kompetencer/Services
  • Om/About
  • Kontakt/Contact

Weglot – the best translation plugin for WordPress

11. oktober 2016 by Vayu Robins Skriv kommentar

If you plan to build or own a WordPress website that needs to be available in more than one language, then the best solution for this is by far Weglot. It’s an external service that has both a free and several premium plans. The free plan is for smaller sites with max 2000 words or less and only 1 extra language.

Weglot

The setup is extremely easy and will only cost you a few minutes. I have tried to setup multilingual wesbites many times and have tried using many translation plugins and they all require a lot more time and tweaking. With Weglot the setup only takes a few minutes and the site is automatically translated at an instance. In the Weglot dashboard, it is easy to modify and control the translations at your hearts desire.

Weglot has a great support as well, even for those with a free plan. The guys at Weglot are continually developing and improving the service.

I will first and foremost recommend Weglot to any of my clients, that require a multilingual WordPress website. Do go and check them out. 🙂

 

Skrevet i: Plugin, WordPress

WordPress Multitenancy setup with DesktopServer

17. marts 2016 by Vayu Robins 2 kommentarer

Recently I came across a video presentation about WordPress Multitenancy that described a great solution to an issue I have been looking for for a while.  On my computer I have a lot of individual WordPress installs setup. Every time I build a website for a client, I first install WordPress on DesktopServer and add all the plugins and theme that I need for that site.  That means I have hundreds of WordPress installs, many with the same plugins and themes in every install. Maintaining and updating all these plugins etc. requires a lot of time. But after seeing Cliff Seal’s presentation where he showed a way to have just one WordPress install for all the sites that run on the local server. Wuuhhuu!

I set out to do exactly like Cliff explained in the video presentation, but came a cross some obstacles on the way and I thought I would just describe in detail how I got it all working on my computer with DesktopServer.

Here is how I set it up:

  1. The main site that contains all the core files, plugins and themes, is simply set up as normally.  There is only one thing you need to change in the wp-config.php file. Add the following line of code in the very top of the file.
    wp-config_php
  2. All other sites file structure should be like this screenshot.  The “wp” folder is a symlink to the main site.  The “wp-content” folder is renamed to “content”. The “wp-plugins”, “plugins” and “theme” folders inside the content folder are also symlinks to the main directory.
    site-structure
  3. Open and edit the “wp-config.php” file and add the following code: This will access all the files from the core.
    wp-config_php-subsite
  4. Open and edit the “index.php” file and change this line of code:
    index_php-subsite

That’s basically it. Now go run all your websites off of one installment and save a lot fo disc space and time updating plugins, themes and core files.

Skrevet i: WordPress

Access and test local WordPress site from smartphone/tablet with MAMP

7. september 2013 by Vayu Robins Skriv kommentar

During production of a website, there probably will come a time when you would want to test your site on a smartphone and a tablet.  However, having to upload your site to the hosted server first just to check this is not ideal. You don’t have to do this and you can actually access your site quite easily from your local development site in the MAMP environment in just a few simple steps.

These instructions only work on a mac, with MAMP installed and a wifi internet connection.

1. First, if you haven’t already, you need to fire up your MAMP application.

2. Then you should open you System Preferences and go to the Network settings page.  There you should be able to see the Wi-fi IP address.

wifi network ip address

3. Then you’ll want to add these two lines of php into your wp-config file. You can access your site without doing this step, but the site will load without styles, as the the http://localhost path will not be recognized on you phone/tablet.

define('WP_SITEURL','http://192.168.1.6/');
define('WP_HOME','http://192.168.1.6/');

4. Open up your phone/tablet browser and insert the IP address and you should be able to check your site. Depending on your MAMP setup, you might have to add the Apache port after the IP address like this. 192.168.1.6:8888.

mamp apache port

Happy coding! 🙂

PS. Remember when your done testing, remove those to lines of code from your wp-config.php file.

Skrevet i: WordPress

Reorder entry images

10. juli 2013 by Vayu Robins 6 kommentarer

This is my first plugin.  I have long wanted to gett into writing plugins.  Now I have finally released my first one. It is a very simple plugin, but something that I have needed a couple of times in my own projects.

The Reorder Entry Images plugin simply gives the administrator the ability to manually sort the attachments (images only) by drag & drop on the post edit page.  It will list all the images that have been uploaded on the specific post/page and one can then reorder the images.  This works for custom posts too.

Here is how it would look like on the screenshot of the post edit page:

screenshot-1

This is a screenshot of the settings page:

settings-page

Please download the Reorder Entry Images plugin from the WordPress repository.

Skrevet i: Plugin, WordPress

Make Quick Posts to Your WordPress Blog with Press This | WordPress.tv

17. marts 2013 by Vayu Robins Skriv kommentar

Press This is actually a very handy little tool for those who wish to easily and quickly publish stuff they find while browsing the internet.

Here is a link to a video guide on WordPress.tv  Check it out:

Make Quick Posts to Your WordPress Blog with Press This | WordPress.tv.

Skrevet i: WordPress

Success and happiness

9. september 2011 by Vayu Robins Skriv kommentar

Success is getting what you want, happiness is wanting what you get.

— W.P. Kinsella

Quote taken from here, date sept. 8 2011.

Skrevet i: Ikke kategoriseret

  • Go to page 1
  • Go to page 2
  • Go to Next Page »

Primær Sidebar

Vayu

Vayu

I am a webdeveloper from Denmark. I make my living by building WordPress websites, e-commece sites, custom themes, plugins and widgets.

Personal Links

  • Vayu Robins
  • vrweb
  • The Home of Vayu

Verified Services

View Full Profile →

Kategorier

  • Ikke kategoriseret
  • Kode
  • Plugin
  • WordPress

Følg mig på Twitter

My Tweets
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy

  • vayu.dk
  • Frederikssundsvej 49
  • 2400 København NV
  • +45 61 77 00 33
  • info@vrweb.dk