Formatting, adding/updating links
This commit is contained in:
@@ -256,7 +256,7 @@ function roots_request_filter($query_vars) {
|
||||
add_filter('request', 'roots_request_filter');
|
||||
|
||||
/**
|
||||
* Tell WordPress to use searchform.php from the templates/ directory. Requires WordPress 3.6+
|
||||
* Tell WordPress to use searchform.php from the templates/ directory
|
||||
*/
|
||||
function roots_get_search_form($form) {
|
||||
$form = '';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/**
|
||||
* Use Bootstrap's media object for listing comments
|
||||
*
|
||||
* @link http://twitter.github.com/bootstrap/components.html#media
|
||||
* @link http://getbootstrap.com/components/#media
|
||||
*/
|
||||
class Roots_Walker_Comment extends Walker_Comment {
|
||||
function start_lvl(&$output, $depth = 0, $args = array()) {
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
* Re-create the [gallery] shortcode and use thumbnails styling from Bootstrap
|
||||
* The number of columns must be a factor of 12.
|
||||
*
|
||||
* @link http://twbs.github.io/bootstrap/components/#thumbnails
|
||||
* @link http://getbootstrap.com/components/#thumbnails
|
||||
*/
|
||||
function roots_gallery($attr) {
|
||||
$post = get_post();
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
*
|
||||
* If any of the is_* conditional tags or is_page_template(template_file) checks return true, the sidebar will NOT be displayed.
|
||||
*
|
||||
* @link http://roots.io/the-roots-sidebar/
|
||||
*
|
||||
* @param array list of conditional tags (http://codex.wordpress.org/Conditional_Tags)
|
||||
* @param array list of page templates. These will be checked via is_page_template()
|
||||
*
|
||||
* @return boolean True will display the sidebar, False will not
|
||||
*
|
||||
*/
|
||||
class Roots_Sidebar {
|
||||
private $conditionals;
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
/**
|
||||
* Theme wrapper
|
||||
*
|
||||
* @link http://roots.io/an-introduction-to-the-roots-theme-wrapper/
|
||||
* @link http://scribu.net/wordpress/theme-wrappers.html
|
||||
*/
|
||||
function roots_template_path() {
|
||||
|
||||
Reference in New Issue
Block a user