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
.hentry ul, | |
.hentry ol { | |
font-size: @plFontSize; | |
line-height: @plFontSize * 1.55; | |
} |
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
<?php | |
/* | |
Plugin Name: PageLines DMS Tell Me Type and Template | |
Author: TourKick (Clifford P) | |
Author URI: http://tourkick.com/?utm_source=pagelines&utm_medium=plugin&utm_content=pluginuri&utm_campaign=dmstellmetemplate | |
Plugin URI: http://www.pagelinestheme.com/tell-me-dms-type-template/?utm_source=pagelines&utm_medium=plugin&utm_content=pluginuri&utm_campaign=dmstellmetemplate | |
Description: Shows logged in editors which PageLines DMS "page type" and "applied template" is detected by the DMS Editor. May also choose to copy code directly into your DMS child theme's functions.php file instead of activating this plugin. <a href="http://www.pagelinestheme.com/tell-me-dms-type-template/" target="_blank">http://www.pagelinestheme.com/tell-me-dms-type-template/</a> may also be helpful. | |
License: GPLv2 | |
Version: 1.0.20131002 | |
*/ |
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
<?php | |
// globally displays page titles in PageLines DMS | |
add_action( 'loop_start', 'pldmspagetitles'); | |
function pldmspagetitles() { | |
if( is_page() /* && !is_front_page() && !is_page(54) */ ) { | |
printf( '<h1>%s</h1>', get_the_title() ); | |
} | |
} |
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
<?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 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 | |
// PageLines references | |
// https://github.com/pagelines/DMS/blob/Dev/includes/library.wordpress.php#L54 | |
// 'aspect-thumb' not in use -- https://github.com/pagelines/DMS/search?q=aspect-thumb&type=Code | |
// 'basic-thumb' might be used by PopThumbs -- https://github.com/pagelines/DMS/blob/Dev/sections/popthumbs/section.php#L143 | |
// 'landscape-thumb' used when PL settings have featured image on top of posts -- https://github.com/pagelines/DMS/blob/Dev/includes/class.posts.php#L396 | |
// WordPress references | |
// http://codex.wordpress.org/Function_Reference/add_image_size | |
// http://codex.wordpress.org/Plugin_API/Filter_Reference/image_size_names_choose |
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
<?php | |
// from http://www.pagelinestheme.com/stop-cropping-featured-images/ | |
// related to http://www.pagelinestheme.com/access-remove-pagelines-custom-image-sizes/ | |
function pl_dms_override_thumbs(){ | |
//add_image_size( 'aspect-thumb', 900, 600, false ); | |
add_image_size( 'basic-thumb', 400, 400, false ); | |
add_image_size( 'landscape-thumb', 900, 450, false ); | |
} | |
add_action('after_setup_theme', 'pl_dms_override_thumbs', 11); |
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
// override https://github.com/pagelines/DMS/blob/Dev/less/forms.less#L129 | |
// customize the rgba values below | |
.selectmecontent input[type="text"] { | |
&:focus { | |
border-color: rgba(82,168,236,0.8); | |
.box-shadow(~"inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,0.6)"); | |
} | |
} |
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
.ccnomarginshadow { | |
.cc-wrapper{ | |
margin:0 auto 0px; | |
.cc-viewport{ | |
.box-shadow(0 0 0 #fff); | |
border:none; | |
left:0px; | |
} | |
} | |
} |
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
// Font Awesome icons before and after quotes | |
q:before, | |
blockquote:before { | |
font-family: PageLinesFont; | |
content: @fa-var-quote-left; //works in DMS v2 | |
//content:"\f10d"; //works in DMS prior to v2 | |
color: @textColorAlt; | |
} | |
q:after, | |
blockquote:after { |