This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Open Local by Flywheel | |
Right-click on the site and go to “Open Site SSH” | |
Enter /sbin/ip route|awk '/default/ { print $3 }' and copy the IP | |
Type nano /etc/hosts and add a new line at the bottom for the site you’re trying to access. It should look something like 172.17.0.1 test-1.dev. Use the IP from above. | |
Test the connection. Please note that the certificate is still self-signed so you’ll need to put it into insecure mode. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Custom read more link | |
add_filter( 'excerpt_more', 'op_read_more_link' ); | |
add_filter( 'get_the_content_more_link', 'op_read_more_link' ); | |
add_filter( 'the_content_more_link', 'op_read_more_link' ); | |
function op_read_more_link() { | |
return '... <a class="more-link" href="' . get_permalink() . '" rel="nofollow">Continue Reading »</a>'; | |
} |
NewerOlder