Apache is running on port 80 and interfering with Valet.
- Stop Apache:
sudo /usr/sbin/apachectl stop
- Restart Valet:
valet restart
<?php | |
/* | |
################### READ ME ################################# | |
You must create a proxy file that retrieves your import file from FTP and then returns it. | |
You will then call that file with the 'Download from URL' option in WP All Import. | |
This is an example of such a proxy file. This is provided in the hopes it is useful, but without any support. | |
############################################################### | |
Instructions: | |
* Copy the code below to a new php file in the root of your WP site | |
* Update the FTP server details |
<?php | |
/** | |
* Get the Yoast primary category from its post meta value, and displays it, with HTML markup. | |
* If there is no primary category set, it displays the first assigned category. | |
* | |
* @param boolean $useCatLink Whether to link the category, if it exists | |
* @return void | |
*/ | |
function yourtheme_display_yoast_primary_category( $useCatLink = true ) { |
#!/bin/bash | |
USER="root" | |
PASSWORD="" | |
FILES="/Users/tenold/Backups/MySQL/*" | |
for f in $FILES | |
do | |
echo "Processing $f file..." |
<?php | |
/** | |
* Plugin Name: Envira Gallery - Load Lightbox from Link | |
* Plugin URI: http://enviragallery.com | |
* Version: 1.0 | |
* Author: Tim Carr | |
* Author URI: http://www.n7studios.co.uk | |
* Description: Launch a gallery's lightbox from a link. Requires that the gallery be embedded into the Page. | |
*/ |
<!-- This is the HTML element that, when clicked, will cause the popup to appear. --> | |
<button id="open-popup">Subscribe to our mailing list</button> |
<?php | |
new theme_customizer(); | |
class theme_customizer { | |
public function __construct() { | |
add_action( 'customize_register', array(&$this, 'customize_linje' )); | |
} | |
/** | |
* Customizer manager demo |
============================= | |
**http://kickass.to/infiniteskills-learning-jquery-mobile-working-files-t7967156.html | |
**http://kickass.to/lynda-bootstrap-3-advanced-web-development-2013-eng-t8167587.html | |
**http://kickass.to/lynda-css-advanced-typographic-techniques-t7928210.html | |
**http://kickass.to/lynda-html5-projects-interactive-charts-2013-eng-t8167670.html | |
**http://kickass.to/vtc-html5-css3-responsive-web-design-course-t7922533.html | |
*http://kickass.to/10gen-m101js-mongodb-for-node-js-developers-2013-eng-t8165205.html | |
*http://kickass.to/cbt-nuggets-amazon-web-services-aws-foundations-t7839734.html |
<?php | |
class acf_update { | |
/* | |
* __construct | |
* | |
* A good place to add actions / filters | |
* | |
* @type functionac |