This file contains hidden or 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
<?php | |
add_filter( 'pl_opt-textbox_title', 'hack_title' ); | |
function hack_title( $opt ) { | |
global $post; | |
if( 4125 == $post->ID ) | |
return 'Hello World!'; | |
else | |
return $opt; | |
} |
This file contains hidden or 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
<?php | |
/* | |
Plugin Name: PageLines DMS Force SSL/HTTPS (for WP Engine) | |
Author: TourKick (Clifford P) | |
Author URI: http://tourkick.com/?utm_source=pagelines&utm_medium=plugin&utm_content=pluginuri&utm_campaign=dmsforcessl | |
Plugin URI: http://www.pagelinestheme.com/pagelines-dms-ssl-https/?utm_source=pagelines&utm_medium=plugin&utm_content=pluginuri&utm_campaign=dmsforcessl | |
Description: Force PageLines DMS SSL/HTTPS. <a href="http://www.pagelinestheme.com/pagelines-dms-ssl-https/" target="_blank">http://www.pagelinestheme.com/pagelines-dms-ssl-https/</a> may also be helpful. | |
License: GPLv2 | |
Version: 1.2 | |
*/ |
This file contains hidden or 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
<?php | |
function displayLocationDropdown() { | |
$html = ''; | |
$html .= '<form class="location-select" method="post">'; | |
$html .= '<select id="location-selector" name="location" class="location">'; | |
$tag = wp_tag_cloud( array( | |
'format' => 'array', |
This file contains hidden or 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
<?xml version="1.0" encoding="UTF-8"?> | |
<forms version="1.6.12"> | |
<form labelPlacement="top_label" useCurrentUserAsAuthor="1"> | |
<title><![CDATA[GF Form 1 Test - Top aligned labels, Descriptions below inputs]]></title> | |
<description><![CDATA[We would love to hear from you! Please fill out this form and we will get in touch with you shortly.]]></description> | |
<confirmation type="message"> | |
<message><![CDATA[Thanks for contacting us! We will get in touch with you shortly.]]></message> | |
</confirmation> | |
<button type="text"> | |
<text><![CDATA[Submit]]></text> |
NewerOlder