open the cmd as administrator and type the following
mklink /D "C:\full route to the symlink" "C:route to the original file that you want to symlink"
|//the third variable is an array where you can pass any variables or complete objects|
|'subHead' => get_field('title_sub-head')|
|//in the part, you use the key $args to pass the parameters.|
|<?php if ( has_post_thumbnail( $post->ID ) ) : ?>|
|<section class="hero" style="background-image: url(<?php the_post_thumbnail_url(); ?>);">|
|<?php echo $args['subHead']; // here you pass the arguments with the variable $args?>|
If you want to experiment with a MacOS system and use GNU/Linux on your machines, then it’s actually quite simple to setup a virtual instance of MacOS on VirtualBox. Instead of looking for a Hackintosh image, I tried using a Vagrant image and was able to boot into MacOS within minutes.
Install VirtualBox from VirtualBox’s download page Install additional dependencies: sudo apt-get install virtualbox-guest-utils virtualbox-guest-x11 virtualbox-guest-dkms
Setup Vagrant by downloading the appropriate Vagrant DEB package from Vagrant’s download page
Sometimes you want to have a subdirectory on the
master branch be the root directory of a repository’s
gh-pages branch. This is useful for things like sites developed with Yeoman, or if you have a Jekyll site contained in the
master branch alongside the rest of your code.
For the sake of this example, let’s pretend the subfolder containing your site is named
dist directory from the project’s
.gitignore file (it’s ignored by default by Yeoman).